Changeset 0515063
- Timestamp:
- 2017-04-06T20:29:23Z (8 years ago)
- Branches:
- master
- Children:
- 952e264
- Parents:
- b097945 (diff), c9e9c9c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
rb097945 r0515063 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
rb097945 r0515063 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 … … 282 285 debug=1 283 286 fi 287 288 if [ "$verbose" = "0" ]; then 289 echo 'VERBOSE=@' >> Makefile.settings 290 else 291 echo 'VERBOSE=' >> Makefile.settings 292 fi 293 294 cat <<EOF >>Makefile.settings 295 296 # Enable/disable output verbosity 297 ifdef V 298 ifeq (\$(V),1) 299 VERBOSE= 300 else 301 VERBOSE=@ 302 endif 303 endif 304 305 EOF 284 306 285 307 if [ "$debug" = "1" ]; then -
ipc.c
rb097945 r0515063 898 898 strcpy(un_addr.sun_path, IPCSOCKET); 899 899 900 serversock = socket(AF_UNIX, SOCK_STREAM, PF_UNIX);900 serversock = socket(AF_UNIX, SOCK_STREAM, 0); 901 901 902 902 if (serversock == -1) { -
lib/Makefile
rb097945 r0515063 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
rb097945 r0515063 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
rb097945 r0515063 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
rb097945 r0515063 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
rb097945 r0515063 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
rb097945 r0515063 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
rb097945 r0515063 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
rb097945 r0515063 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 $@ -
tests/check.c
rb097945 r0515063 14 14 int sock[2]; 15 15 16 if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNIX, sock) < 0) {16 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sock) < 0) { 17 17 perror("socketpair"); 18 18 return FALSE;
Note: See TracChangeset
for help on using the changeset viewer.