Add test about issue with no commit on a branch
[cvsps-hv.git] / Makefile
blob870c5cfa47cfdf792ae13f940364ddc96c35bce2
1 MAJOR=2
2 MINOR=1
3 CC?=gcc
4 CFLAGS?=-g -O2 -Wall
5 CPPFLAGS?=-I. -DVERSION=\"$(MAJOR).$(MINOR)\"
6 prefix?=/usr/local
7 OBJS=\
8 cbtcommon/debug.o\
9 cbtcommon/hash.o\
10 cbtcommon/text_util.o\
11 cbtcommon/sio.o\
12 cbtcommon/tcpsocket.o\
13 cvsps.o\
14 cache.o\
15 util.o\
16 stats.o\
17 cap.o\
18 cvs_direct.o\
19 list_sort.o
21 all: cvsps
23 deps:
24 makedepend -Y -I. *.c cbtcommon/*.c
26 cvsps: $(OBJS)
27 $(CC) -o cvsps $(OBJS) -lz
29 install:
30 [ -d $(prefix)/bin ] || mkdir -p $(prefix)/bin
31 [ -d $(prefix)/share/man/man1 ] || mkdir -p $(prefix)/share/man/man1
32 install cvsps $(prefix)/bin
33 install -m 644 cvsps.1 $(prefix)/share/man/man1
35 tags: *.c *.h cbtcommon/*.c cbtcommon/*.h
36 ctags *.c *.h cbtcommon/*.c cbtcommon/*.h
38 test: cvsps
39 $(MAKE) -C t/ all
41 clean:
42 rm -f cvsps *.o cbtcommon/*.o core tags
44 .PHONY: install clean
45 # DO NOT DELETE
47 cache.o: ./cbtcommon/hash.h ./cbtcommon/list.h ./cbtcommon/inline.h
48 cache.o: ./cbtcommon/debug.h cache.h cvsps_types.h cvsps.h util.h
49 cap.o: ./cbtcommon/debug.h ./cbtcommon/inline.h ./cbtcommon/text_util.h cap.h
50 cap.o: cvs_direct.h
51 cvs_direct.o: ./cbtcommon/debug.h ./cbtcommon/inline.h
52 cvs_direct.o: ./cbtcommon/text_util.h ./cbtcommon/tcpsocket.h
53 cvs_direct.o: ./cbtcommon/sio.h cvs_direct.h util.h
54 cvsps.o: ./cbtcommon/hash.h ./cbtcommon/list.h ./cbtcommon/inline.h
55 cvsps.o: ./cbtcommon/list.h ./cbtcommon/text_util.h ./cbtcommon/debug.h
56 cvsps.o: ./cbtcommon/rcsid.h cache.h cvsps_types.h cvsps.h util.h stats.h
57 cvsps.o: cap.h cvs_direct.h list_sort.h
58 list_sort.o: list_sort.h ./cbtcommon/list.h
59 stats.o: ./cbtcommon/hash.h ./cbtcommon/list.h ./cbtcommon/inline.h
60 stats.o: cvsps_types.h cvsps.h
61 util.o: ./cbtcommon/debug.h ./cbtcommon/inline.h util.h
62 cbtcommon/debug.o: cbtcommon/debug.h ./cbtcommon/inline.h cbtcommon/rcsid.h
63 cbtcommon/hash.o: cbtcommon/debug.h ./cbtcommon/inline.h cbtcommon/hash.h
64 cbtcommon/hash.o: ./cbtcommon/list.h cbtcommon/rcsid.h
65 cbtcommon/sio.o: cbtcommon/sio.h cbtcommon/rcsid.h
66 cbtcommon/tcpsocket.o: cbtcommon/tcpsocket.h cbtcommon/debug.h
67 cbtcommon/tcpsocket.o: ./cbtcommon/inline.h cbtcommon/rcsid.h
68 cbtcommon/text_util.o: cbtcommon/text_util.h cbtcommon/rcsid.h