Changeset 65d0dfd
- Timestamp:
- 2017-03-12T04:16:58Z (8 years ago)
- Branches:
- master
- Children:
- 08b0ed8
- Parents:
- 262a82b
- git-author:
- Tim Harder <radhermit@…> (20-01-17 21:17:25)
- git-committer:
- dx <dx@…> (12-03-17 04:16:58)
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r262a82b r65d0dfd 163 163 164 164 $(subdirs): 165 @$(MAKE) -C $@ $(MAKECMDGOALS)165 $(MAKE) -C $@ $(MAKECMDGOALS) 166 166 167 167 $(OTR_PI): %.so: $(_SRCDIR_)%.c 168 168 @echo '*' Building plugin $@ 169 @$(CC) $(CFLAGS) -fPIC -shared $(LDFLAGS) $< -o $@ $(OTRFLAGS)169 $(VERBOSE) $(CC) $(CFLAGS) -fPIC -shared $(LDFLAGS) $< -o $@ $(OTRFLAGS) 170 170 171 171 $(SKYPE_PI): $(_SRCDIR_)protocols/skype/skype.c 172 172 @echo '*' Building plugin skype 173 @$(CC) $(CFLAGS) $(LDFLAGS) $(SKYPEFLAGS) $< -o $@173 $(VERBOSE) $(CC) $(CFLAGS) $(LDFLAGS) $(SKYPEFLAGS) $< -o $@ 174 174 175 175 $(objects): %.o: $(_SRCDIR_)%.c 176 176 @echo '*' Compiling $< 177 @$(CC) -c $(CFLAGS) $(CFLAGS_BITLBEE) $< -o $@177 $(VERBOSE) $(CC) -c $(CFLAGS) $(CFLAGS_BITLBEE) $< -o $@ 178 178 179 179 $(objects): Makefile Makefile.settings config.h … … 181 181 $(OUTFILE): $(objects) $(subdirs) 182 182 @echo '*' Linking $(OUTFILE) 183 @$(CC) $(objects) $(subdirobjs) -o $(OUTFILE) $(LDFLAGS_BITLBEE) $(LDFLAGS) $(EFLAGS)183 $(VERBOSE) $(CC) $(objects) $(subdirobjs) -o $(OUTFILE) $(LDFLAGS_BITLBEE) $(LDFLAGS) $(EFLAGS) 184 184 ifneq ($(firstword $(STRIP)), \#) 185 185 @echo '*' Stripping $(OUTFILE) 186 @-$(STRIP) $(OUTFILE)186 $(VERBOSE) -$(STRIP) $(OUTFILE) 187 187 endif 188 188 -
configure
r262a82b r65d0dfd 39 39 purple=0 40 40 41 verbose=0 41 42 doc=1 42 43 debug=0 … … 125 126 --pidfile=... $pidfile 126 127 --config=... $config 128 129 --verbose=0/1 Disable/enable verbose build $verbose 127 130 128 131 --msn=0/1 Disable/enable MSN part $msn … … 281 284 LDFLAGS="$LDFLAGS -fsanitize=address" 282 285 debug=1 286 fi 287 288 if [ "$verbose" = "0" ]; then 289 echo 'VERBOSE=@' >> Makefile.settings 290 else 291 echo 'VERBOSE=' >> Makefile.settings 283 292 fi 284 293 -
lib/Makefile
r262a82b r65d0dfd 36 36 lib.o: $(objects) $(subdirs) 37 37 @echo '*' Linking lib.o 38 @$(LD) $(LFLAGS) $(objects) -o lib.o38 $(VERBOSE) $(LD) $(LFLAGS) $(objects) -o lib.o 39 39 40 40 $(objects): ../Makefile.settings Makefile … … 42 42 $(objects): %.o: $(_SRCDIR_)%.c 43 43 @echo '*' Compiling $< 44 @$(CC) -c $(CFLAGS) $(CFLAGS_BITLBEE) $< -o $@44 $(VERBOSE) $(CC) -c $(CFLAGS) $(CFLAGS_BITLBEE) $< -o $@ 45 45 46 46 -include .depend/*.d -
protocols/Makefile
r262a82b r65d0dfd 43 43 44 44 $(subdirs): 45 @$(MAKE) -C $@ $(MAKECMDGOALS)45 $(MAKE) -C $@ $(MAKECMDGOALS) 46 46 47 47 ### MAIN PROGRAM … … 49 49 protocols.o: $(objects) $(subdirs) 50 50 @echo '*' Linking protocols.o 51 @$(LD) $(LFLAGS) $(objects) $(subdirobjs) -o protocols.o51 $(VERBOSE) $(LD) $(LFLAGS) $(objects) $(subdirobjs) -o protocols.o 52 52 53 53 $(objects): ../Makefile.settings Makefile … … 55 55 $(objects): %.o: $(_SRCDIR_)%.c 56 56 @echo '*' Compiling $< 57 @$(CC) -c $(CFLAGS) $(CFLAGS_BITLBEE) $< -o $@57 $(VERBOSE) $(CC) -c $(CFLAGS) $(CFLAGS_BITLBEE) $< -o $@ 58 58 59 59 -include .depend/*.d -
protocols/jabber/Makefile
r262a82b r65d0dfd 38 38 $(objects): %.o: $(_SRCDIR_)%.c 39 39 @echo '*' Compiling $< 40 @$(CC) -c $(CFLAGS) $(CFLAGS_BITLBEE) $< -o $@40 $(VERBOSE) $(CC) -c $(CFLAGS) $(CFLAGS_BITLBEE) $< -o $@ 41 41 42 42 jabber_mod.o: $(objects) 43 43 @echo '*' Linking jabber_mod.o 44 @$(LD) $(LFLAGS) $(objects) -o jabber_mod.o44 $(VERBOSE) $(LD) $(LFLAGS) $(objects) -o jabber_mod.o 45 45 46 46 -include .depend/*.d -
protocols/msn/Makefile
r262a82b r65d0dfd 38 38 $(objects): %.o: $(_SRCDIR_)%.c 39 39 @echo '*' Compiling $< 40 @$(CC) -c $(CFLAGS) $(CFLAGS_BITLBEE) $< -o $@40 $(VERBOSE) $(CC) -c $(CFLAGS) $(CFLAGS_BITLBEE) $< -o $@ 41 41 42 42 msn_mod.o: $(objects) 43 43 @echo '*' Linking msn_mod.o 44 @$(LD) $(LFLAGS) $(objects) -o msn_mod.o44 $(VERBOSE) $(LD) $(LFLAGS) $(objects) -o msn_mod.o 45 45 46 46 -include .depend/*.d -
protocols/oscar/Makefile
r262a82b r65d0dfd 39 39 $(objects): %.o: $(_SRCDIR_)%.c 40 40 @echo '*' Compiling $< 41 @$(CC) -c $(CFLAGS) $(CFLAGS_BITLBEE) $< -o $@41 $(VERBOSE) $(CC) -c $(CFLAGS) $(CFLAGS_BITLBEE) $< -o $@ 42 42 43 43 oscar_mod.o: $(objects) 44 44 @echo '*' Linking oscar_mod.o 45 @$(LD) $(LFLAGS) $(objects) -o oscar_mod.o45 $(VERBOSE) $(LD) $(LFLAGS) $(objects) -o oscar_mod.o 46 46 47 47 -include .depend/*.d -
protocols/purple/Makefile
r262a82b r65d0dfd 39 39 $(objects): %.o: $(_SRCDIR_)%.c 40 40 @echo '*' Compiling $< 41 @$(CC) -c $(CFLAGS) $(CFLAGS_BITLBEE) $< -o $@41 $(VERBOSE) $(CC) -c $(CFLAGS) $(CFLAGS_BITLBEE) $< -o $@ 42 42 43 43 purple_mod.o: $(objects) 44 44 @echo '*' Linking purple_mod.o 45 @$(LD) $(LFLAGS) $(objects) -o purple_mod.o45 $(VERBOSE) $(LD) $(LFLAGS) $(objects) -o purple_mod.o 46 46 47 47 -include .depend/*.d -
protocols/twitter/Makefile
r262a82b r65d0dfd 38 38 $(objects): %.o: $(_SRCDIR_)%.c 39 39 @echo '*' Compiling $< 40 @$(CC) -c $(CFLAGS) $(CFLAGS_BITLBEE) $< -o $@40 $(VERBOSE) $(CC) -c $(CFLAGS) $(CFLAGS_BITLBEE) $< -o $@ 41 41 42 42 twitter_mod.o: $(objects) 43 43 @echo '*' Linking twitter_mod.o 44 @$(LD) $(LFLAGS) $(objects) -o twitter_mod.o44 $(VERBOSE) $(LD) $(LFLAGS) $(objects) -o twitter_mod.o 45 45 46 46 -include .depend/*.d -
tests/Makefile
r262a82b r65d0dfd 21 21 check: $(test_objs) $(addprefix ../, $(main_objs)) ../protocols/protocols.o ../lib/lib.o 22 22 @echo '*' Linking $@ 23 @$(CC) $(CFLAGS) -o $@ $^ $(LFLAGS) $(EFLAGS)23 $(VERBOSE) $(CC) $(CFLAGS) -o $@ $^ $(LFLAGS) $(EFLAGS) 24 24 25 25 %.o: $(_SRCDIR_)%.c 26 26 @echo '*' Compiling $< 27 @$(CC) -c $(CFLAGS) $< -o $@27 $(VERBOSE) $(CC) -c $(CFLAGS) $< -o $@
Note: See TracChangeset
for help on using the changeset viewer.