Changeset 66b9e86e
- Timestamp:
- 2006-07-07T13:33:31Z (18 years ago)
- Branches:
- master
- Children:
- f4aa393
- Parents:
- bf25fa3
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
.bzrignore
rbf25fa3 r66b9e86e 13 13 .gdb_history 14 14 tests/check 15 *.gcda 16 *.gcov 17 *.gcno -
Makefile
rbf25fa3 r66b9e86e 12 12 objects = 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 unix.o url.o user.o util.o 13 13 headers = account.h bitlbee.h commands.h conf.h config.h crypting.h help.h ini.h ipc.h irc.h log.h nick.h query.h set.h sock.h storage.h url.h user.h protocols/http_client.h protocols/md5.h protocols/nogaim.h protocols/proxy.h protocols/sha.h protocols/ssl_client.h 14 subdirs = protocols 14 subdirs = protocols 15 15 16 16 # Expansion of variables … … 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 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
rbf25fa3 r66b9e86e 28 28 debug=0 29 29 strip=1 30 gcov=0 30 31 ipv6=1 31 32 … … 64 65 --debug=0/1 Disable/enable debugging $debug 65 66 --strip=0/1 Disable/enable binary stripping $strip 67 --gcov=0/1 Disable/enable test coverage reporting $gcov 66 68 67 69 --ipv6=0/1 IPv6 socket support $ipv6 … … 314 316 fi 315 317 318 if [ "$gcov" = "1" ]; then 319 echo "CFLAGS+=-ftest-coverage -fprofile-arcs" >> Makefile.settings 320 echo "EFLAGS+=-lgcov" >> Makefile.settings 321 fi 322 316 323 echo 317 324 if [ -z "$BITLBEE_VERSION" -a -d .bzr ] && type bzr > /dev/null 2> /dev/null; then -
protocols/Makefile
rbf25fa3 r66b9e86e 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
rbf25fa3 r66b9e86e 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
rbf25fa3 r66b9e86e 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
rbf25fa3 r66b9e86e 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
rbf25fa3 r66b9e86e 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
rbf25fa3 r66b9e86e 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
rbf25fa3 r66b9e86e 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.