Changeset 7fa5c19
- Timestamp:
- 2012-02-11T12:55:45Z (13 years ago)
- Branches:
- master
- Children:
- eb54f56
- Parents:
- 23445b6
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r23445b6 r7fa5c19 96 96 mkdir -p $(DESTDIR)$(INCLUDEDIR) 97 97 install -m 0644 config.h $(DESTDIR)$(INCLUDEDIR) 98 for i in $(headers); do install -m 0644 $( SRCDIR)$$i $(DESTDIR)$(INCLUDEDIR); done98 for i in $(headers); do install -m 0644 $(_SRCDIR_)$$i $(DESTDIR)$(INCLUDEDIR); done 99 99 mkdir -p $(DESTDIR)$(PCDIR) 100 100 install -m 0644 bitlbee.pc $(DESTDIR)$(PCDIR) … … 107 107 install-etc: 108 108 mkdir -p $(DESTDIR)$(ETCDIR) 109 install -m 0644 $( SRCDIR)motd.txt $(DESTDIR)$(ETCDIR)/motd.txt110 install -m 0644 $( SRCDIR)bitlbee.conf $(DESTDIR)$(ETCDIR)/bitlbee.conf109 install -m 0644 $(_SRCDIR_)motd.txt $(DESTDIR)$(ETCDIR)/motd.txt 110 install -m 0644 $(_SRCDIR_)bitlbee.conf $(DESTDIR)$(ETCDIR)/bitlbee.conf 111 111 112 112 uninstall-etc: … … 128 128 install -m 0755 skype.so $(DESTDIR)$(PLUGINDIR) 129 129 mkdir -p $(DESTDIR)$(ETCDIR)/../skyped $(DESTDIR)$(BINDIR) 130 install -m 0644 $( SRCDIR)protocols/skype/skyped.cnf $(DESTDIR)$(ETCDIR)/../skyped/skyped.cnf131 install -m 0644 $( SRCDIR)protocols/skype/skyped.conf.dist $(DESTDIR)$(ETCDIR)/../skyped/skyped.conf132 install -m 0755 $( SRCDIR)protocols/skype/skyped.py $(DESTDIR)$(BINDIR)/skyped130 install -m 0644 $(_SRCDIR_)protocols/skype/skyped.cnf $(DESTDIR)$(ETCDIR)/../skyped/skyped.cnf 131 install -m 0644 $(_SRCDIR_)protocols/skype/skyped.conf.dist $(DESTDIR)$(ETCDIR)/../skyped/skyped.conf 132 install -m 0755 $(_SRCDIR_)protocols/skype/skyped.py $(DESTDIR)$(BINDIR)/skyped 133 133 make -C protocols/skype install-doc 134 134 endif … … 161 161 @$(MAKE) -C $@ $(MAKECMDGOALS) 162 162 163 $(OTR_PI): %.so: $( SRCDIR)%.c163 $(OTR_PI): %.so: $(_SRCDIR_)%.c 164 164 @echo '*' Building plugin $@ 165 165 @$(CC) $(CFLAGS) -fPIC -shared $(LDFLAGS) $< -o $@ $(OTRFLAGS) 166 166 167 $(SKYPE_PI): $( SRCDIR)protocols/skype/skype.c167 $(SKYPE_PI): $(_SRCDIR_)protocols/skype/skype.c 168 168 @echo '*' Building plugin skype 169 169 @$(CC) $(CFLAGS) -fPIC -shared $< -o $@ 170 170 171 $(objects): %.o: $( SRCDIR)%.c171 $(objects): %.o: $(_SRCDIR_)%.c 172 172 @echo '*' Compiling $< 173 173 @$(CC) -c $(CFLAGS) $< -o $@ -
configure
r23445b6 r7fa5c19 156 156 fi 157 157 158 echo " SRCDIR=$srcdir/" >> Makefile.settings158 echo "_SRCDIR_=$srcdir/" >> Makefile.settings 159 159 CFLAGS="$CFLAGS -I${dst}" 160 160 else -
doc/Makefile
r23445b6 r7fa5c19 1 1 -include ../Makefile.settings 2 ifdef SRCDIR3 SRCDIR := $(SRCDIR)doc/2 ifdef _SRCDIR_ 3 _SRCDIR_ := $(_SRCDIR_)doc/ 4 4 endif 5 5 … … 10 10 install: 11 11 mkdir -p $(DESTDIR)$(MANDIR)/man8/ $(DESTDIR)$(MANDIR)/man5/ 12 install -m 0644 $( SRCDIR)bitlbee.8 $(DESTDIR)$(MANDIR)/man8/13 install -m 0644 $( SRCDIR)bitlbee.conf.5 $(DESTDIR)$(MANDIR)/man5/12 install -m 0644 $(_SRCDIR_)bitlbee.8 $(DESTDIR)$(MANDIR)/man8/ 13 install -m 0644 $(_SRCDIR_)bitlbee.conf.5 $(DESTDIR)$(MANDIR)/man5/ 14 14 $(MAKE) -C user-guide $@ 15 15 -
doc/user-guide/Makefile
r23445b6 r7fa5c19 1 1 -include ../../Makefile.settings 2 ifdef SRCDIR3 SRCDIR := $(SRCDIR)doc/user-guide/2 ifdef _SRCDIR_ 3 _SRCDIR_ := $(_SRCDIR_)doc/user-guide/ 4 4 endif 5 5 … … 42 42 chmod 0755 $(DESTDIR)$(DATADIR) 43 43 rm -f $(DESTDIR)$(DATADIR)/help.txt # Prevent help function from breaking in running sessions 44 install -m 0644 $( SRCDIR)help.txt $(DESTDIR)$(DATADIR)/help.txt44 install -m 0644 $(_SRCDIR_)help.txt $(DESTDIR)$(DATADIR)/help.txt 45 45 46 46 uninstall: -
lib/Makefile
r23445b6 r7fa5c19 8 8 9 9 -include ../Makefile.settings 10 ifdef SRCDIR11 SRCDIR := $(SRCDIR)lib/10 ifdef _SRCDIR_ 11 _SRCDIR_ := $(_SRCDIR_)lib/ 12 12 endif 13 13 … … 40 40 $(objects): ../Makefile.settings Makefile 41 41 42 $(objects): %.o: $( SRCDIR)%.c42 $(objects): %.o: $(_SRCDIR_)%.c 43 43 @echo '*' Compiling $< 44 44 @$(CC) -c $(CFLAGS) $< -o $@ -
protocols/Makefile
r23445b6 r7fa5c19 8 8 9 9 -include ../Makefile.settings 10 ifdef SRCDIR11 SRCDIR := $(SRCDIR)protocols/10 ifdef _SRCDIR_ 11 _SRCDIR_ := $(_SRCDIR_)protocols/ 12 12 endif 13 13 … … 53 53 $(objects): ../Makefile.settings Makefile 54 54 55 $(objects): %.o: $( SRCDIR)%.c55 $(objects): %.o: $(_SRCDIR_)%.c 56 56 @echo '*' Compiling $< 57 57 @$(CC) -c $(CFLAGS) $< -o $@ -
protocols/jabber/Makefile
r23445b6 r7fa5c19 8 8 9 9 -include ../../Makefile.settings 10 ifdef SRCDIR11 SRCDIR := $(SRCDIR)protocols/jabber/10 ifdef _SRCDIR_ 11 _SRCDIR_ := $(_SRCDIR_)protocols/jabber/ 12 12 endif 13 13 … … 36 36 $(objects): ../../Makefile.settings Makefile 37 37 38 $(objects): %.o: $( SRCDIR)%.c38 $(objects): %.o: $(_SRCDIR_)%.c 39 39 @echo '*' Compiling $< 40 40 @$(CC) -c $(CFLAGS) $< -o $@ -
protocols/msn/Makefile
r23445b6 r7fa5c19 8 8 9 9 -include ../../Makefile.settings 10 ifdef SRCDIR11 SRCDIR := $(SRCDIR)protocols/msn/10 ifdef _SRCDIR_ 11 _SRCDIR_ := $(_SRCDIR_)protocols/msn/ 12 12 endif 13 13 … … 36 36 $(objects): ../../Makefile.settings Makefile 37 37 38 $(objects): %.o: $( SRCDIR)%.c38 $(objects): %.o: $(_SRCDIR_)%.c 39 39 @echo '*' Compiling $< 40 40 @$(CC) -c $(CFLAGS) $< -o $@ -
protocols/oscar/Makefile
r23445b6 r7fa5c19 8 8 9 9 -include ../../Makefile.settings 10 ifdef SRCDIR11 SRCDIR := $(SRCDIR)protocols/oscar/12 CFLAGS += -I$( SRCDIR)10 ifdef _SRCDIR_ 11 _SRCDIR_ := $(_SRCDIR_)protocols/oscar/ 12 CFLAGS += -I$(_SRCDIR_) 13 13 endif 14 14 … … 37 37 $(objects): ../../Makefile.settings Makefile 38 38 39 $(objects): %.o: $( SRCDIR)%.c39 $(objects): %.o: $(_SRCDIR_)%.c 40 40 @echo '*' Compiling $< 41 41 @$(CC) -c $(CFLAGS) $< -o $@ -
protocols/purple/Makefile
r23445b6 r7fa5c19 8 8 9 9 -include ../../Makefile.settings 10 ifdef SRCDIR11 SRCDIR := $(SRCDIR)protocols/purple/10 ifdef _SRCDIR_ 11 _SRCDIR_ := $(_SRCDIR_)protocols/purple/ 12 12 endif 13 13 … … 37 37 $(objects): ../../Makefile.settings Makefile 38 38 39 $(objects): %.o: $( SRCDIR)%.c39 $(objects): %.o: $(_SRCDIR_)%.c 40 40 @echo '*' Compiling $< 41 41 @$(CC) -c $(CFLAGS) $< -o $@ -
protocols/skype/Makefile
r23445b6 r7fa5c19 1 1 -include ../../Makefile.settings 2 ifdef SRCDIR3 SRCDIR := $(SRCDIR)protocols/skype/2 ifdef _SRCDIR_ 3 _SRCDIR_ := $(_SRCDIR_)protocols/skype/ 4 4 endif 5 5 … … 25 25 all: $(LIBS) $(MANPAGES) 26 26 27 skype.$(SHARED_EXT): $( SRCDIR)skype.c config.mak27 skype.$(SHARED_EXT): $(_SRCDIR_)skype.c config.mak 28 28 ifeq ($(BITLBEE),yes) 29 $(CC) $(CFLAGS) $(SHARED_FLAGS) -o skype.$(SHARED_EXT) $( SRCDIR)skype.c $(LDFLAGS)29 $(CC) $(CFLAGS) $(SHARED_FLAGS) -o skype.$(SHARED_EXT) $(_SRCDIR_)skype.c $(LDFLAGS) 30 30 endif 31 31 … … 45 45 endif 46 46 47 client: $( SRCDIR)client.c47 client: $(_SRCDIR_)client.c 48 48 49 49 autogen: configure.ac … … 103 103 git shortlog -s -n |sed 's/.*\t//'> AUTHORS 104 104 105 %.1: $( SRCDIR)%.txt $(SRCDIR)asciidoc.conf106 a2x --asciidoc-opts="-f $( SRCDIR)asciidoc.conf" \105 %.1: $(_SRCDIR_)%.txt $(_SRCDIR_)asciidoc.conf 106 a2x --asciidoc-opts="-f $(_SRCDIR_)asciidoc.conf" \ 107 107 -a bs_version=$(VERSION) -a bs_date=$(DATE) -f manpage -D . $< -
protocols/twitter/Makefile
r23445b6 r7fa5c19 8 8 9 9 -include ../../Makefile.settings 10 ifdef SRCDIR11 SRCDIR := $(SRCDIR)protocols/twitter/10 ifdef _SRCDIR_ 11 _SRCDIR_ := $(_SRCDIR_)protocols/twitter/ 12 12 endif 13 13 … … 36 36 $(objects): ../../Makefile.settings Makefile 37 37 38 $(objects): %.o: $( SRCDIR)%.c38 $(objects): %.o: $(_SRCDIR_)%.c 39 39 @echo '*' Compiling $< 40 40 @$(CC) -c $(CFLAGS) $< -o $@ -
protocols/yahoo/Makefile
r23445b6 r7fa5c19 8 8 9 9 -include ../../Makefile.settings 10 ifdef SRCDIR11 SRCDIR := $(SRCDIR)protocols/yahoo/10 ifdef _SRCDIR_ 11 _SRCDIR_ := $(_SRCDIR_)protocols/yahoo/ 12 12 endif 13 13 … … 37 37 $(objects): ../../Makefile.settings Makefile 38 38 39 $(objects): %.o: $( SRCDIR)%.c39 $(objects): %.o: $(_SRCDIR_)%.c 40 40 @echo '*' Compiling $< 41 41 @$(CC) -c $(CFLAGS) $< -o $@ -
tests/Makefile
r23445b6 r7fa5c19 1 1 -include ../Makefile.settings 2 ifdef SRCDIR3 SRCDIR := $(SRCDIR)tests/2 ifdef _SRCDIR_ 3 _SRCDIR_ := $(_SRCDIR_)tests/ 4 4 endif 5 5 … … 22 22 @$(CC) $(CFLAGS) -o $@ $^ $(LFLAGS) $(EFLAGS) 23 23 24 %.o: $( SRCDIR)%.c24 %.o: $(_SRCDIR_)%.c 25 25 @echo '*' Compiling $< 26 26 @$(CC) -c $(CFLAGS) $< -o $@
Note: See TracChangeset
for help on using the changeset viewer.