Changes in / [55078f5:d8d63a2]
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
.bzrignore
r55078f5 rd8d63a2 13 13 .gdb_history 14 14 tests/check 15 *.gcda 16 *.gcov 17 *.gcno 18 *.o -
Makefile
r55078f5 rd8d63a2 40 40 clean: $(subdirs) 41 41 rm -f *.o $(OUTFILE) core utils/bitlbeed encode decode 42 $(MAKE) -C tests clean 42 43 43 44 distclean: clean $(subdirs) 44 45 rm -f Makefile.settings config.h bitlbee.pc 45 46 find . -name 'DEADJOE' -o -name '*.orig' -o -name '*.rej' -o -name '*~' -exec rm -f {} \; 47 $(MAKE) -C test distclean 46 48 47 check: 49 check: all 48 50 $(MAKE) -C tests 51 52 gcov: check 53 gcov *.c 49 54 50 55 install-doc: -
configure
r55078f5 rd8d63a2 28 28 debug=0 29 29 strip=1 30 gcov=0 30 31 ipv6=1 31 32 … … 67 68 --debug=0/1 Disable/enable debugging $debug 68 69 --strip=0/1 Disable/enable binary stripping $strip 70 --gcov=0/1 Disable/enable test coverage reporting $gcov 69 71 70 72 --ipv6=0/1 IPv6 socket support $ipv6 … … 366 368 fi 367 369 370 if [ "$gcov" = "1" ]; then 371 echo "CFLAGS+=-ftest-coverage -fprofile-arcs" >> Makefile.settings 372 echo "EFLAGS+=-lgcov" >> Makefile.settings 373 fi 374 368 375 echo 369 376 if [ -z "$BITLBEE_VERSION" -a -d .bzr ] && type bzr > /dev/null 2> /dev/null; then -
protocols/Makefile
r55078f5 rd8d63a2 26 26 # [SH] Phony targets 27 27 all: protocols.o 28 check: all 29 gcov: 30 gcov *.c 28 31 29 32 .PHONY: all clean distclean $(subdirs) -
protocols/jabber/Makefile
r55078f5 rd8d63a2 17 17 # [SH] Phony targets 18 18 all: jabber_mod.o 19 check: all 19 20 20 21 .PHONY: all clean distclean -
protocols/msn/Makefile
r55078f5 rd8d63a2 17 17 # [SH] Phony targets 18 18 all: msn_mod.o 19 check: all 20 gcov: 21 gcov *.c 19 22 20 23 .PHONY: all clean distclean -
protocols/oscar/Makefile
r55078f5 rd8d63a2 17 17 # [SH] Phony targets 18 18 all: oscar_mod.o 19 check: all 20 gcov: 21 gcov *.c 19 22 20 23 .PHONY: all clean distclean -
protocols/yahoo/Makefile
r55078f5 rd8d63a2 17 17 # [SH] Phony targets 18 18 all: yahoo_mod.o 19 check: all 20 gcov: 21 gcov *.c 19 22 20 23 .PHONY: all clean distclean -
tests/Makefile
r55078f5 rd8d63a2 3 3 LFLAGS +=-lcheck 4 4 5 all: check 5 all: check 6 6 ./check 7 8 clean: 9 rm -f check *.o 7 10 8 11 main_objs = account.o bitlbee.o conf.o crypting.o help.o ini.o ipc.o irc.o irc_commands.o log.o nick.o query.o root_commands.o set.o storage.o storage_text.o url.o user.o util.o 9 12 10 check: check.o check_util.o check_nick.o $(addprefix ../, $(main_objs)) ../protocols/protocols.o 13 test_objs = check.o check_util.o check_nick.o 14 15 check: $(test_objs) $(addprefix ../, $(main_objs)) ../protocols/protocols.o 11 16 @echo '*' Linking $@ 12 17 @$(CC) $(CFLAGS) -o $@ $^ $(LFLAGS) $(EFLAGS) -
tests/check_nick.c
r55078f5 rd8d63a2 23 23 24 24 for (i = 0; get[i]; i++) { 25 char copy[ 30];25 char copy[60]; 26 26 strcpy(copy, get[i]); 27 27 nick_strip(copy);
Note: See TracChangeset
for help on using the changeset viewer.