]> jfr.im git - irc/gameservirc.git/blame - gameserv/Makefile.in
Added flags to the aClient structure to keep track of given client attributes. Switch...
[irc/gameservirc.git] / gameserv / Makefile.in
CommitLineData
c1068b6e 1SHELL = /bin/sh
2VPATH = @srcdir@
3
4subdirs = @subdirs@
5top_srcdir = @top_srcdir@
6srcdir = @srcdir@
7prefix = @prefix@
8exec_prefix = @exec_prefix@
9bindir = $(exec_prefix)/bin
10infodir = $(prefix)/info
11libdir = $(prefix)/lib/gnudl
12mandir = $(prefix)/man/man1
13
ee05c957 14CC = @CXX@
dff2bbf4 15CPPFLAGS = -Wno-deprecated -Wall @CPPFLAGS@
c1068b6e 16CFLAGS = $(CPPFLAGS) @CFLAGS@
17LDFLAGS = @LDFLAGS@
18LIBS = @LIBS@
19INSTALL = @INSTALL@
20
ee05c957 21all: tcpclient
c1068b6e 22
23clean:
24 /bin/rm -f *.o
25
26distclean: clean
c7340cbd 27 /bin/rm -f Makefile config.h config.status config.cache config.log \
28 options.h gameserv
c1068b6e 29
30tcpclient: aClient.o config.o c_forest.o gameserv.o player.o sockhelp.o tcpclient.o
31 $(CC) -o gameserv aClient.o config.o c_forest.o gameserv.o player.o sockhelp.o\
32 tcpclient.o $(LIBS)
33
c7340cbd 34tcpclient.o: tcpclient.cpp aClient.h player.h extern.h list.h listnode.h sockhelp.h\
35 options.h
c1068b6e 36 $(CC) $(CFLAGS) -c tcpclient.cpp
37
38tcpserver.o: tcpserver.cpp sockhelp.cpp
39 $(CC) $(CFLAGS) -c tcpserver.cpp
40
41sockhelp.o: sockhelp.cpp aClient.h player.h extern.h list.h listnode.h sockhelp.h
42 $(CC) $(CFLAGS) -c sockhelp.cpp
43
44aClient.o: aClient.cpp aClient.h player.h extern.h list.h listnode.h sockhelp.h
45 $(CC) $(CFLAGS) -c aClient.cpp
46
96f71fee 47gameserv.o: gameserv.cpp aClient.h player.h extern.h flags.h list.h\
c1068b6e 48 listnode.h sockhelp.h
49 $(CC) $(CFLAGS) -c gameserv.cpp
50
51c_forest.o: c_forest.cpp aClient.h player.h extern.h list.h\
52 listnode.h sockhelp.h
53 $(CC) $(CFLAGS) -c c_forest.cpp
54
55player.o: player.cpp aClient.h player.h extern.h list.h listnode.h sockhelp.h
56 $(CC) $(CFLAGS) -c player.cpp
57
58config.o: config.cpp extern.h
59 $(CC) $(CFLAGS) -c config.cpp
60
61${srcdir}/configure: configure.in
62 cd ${srcdir} && autoconf
63
64# autoheader might not change config.h.in, so touch a stamp file
65${srcdir}/config.h.in: stamp-h.in
66
67${srcdir}/stamp-h.in: configure.in
68 cd ${srcdir} && autoheader
69 echo timestamp > ${srcdir}/stamp-h.in
70
71config.h: stamp-h
72
73stamp-h: config.h.in config.status
74 ./config.status
75
76Makefile: Makefile.in config.status
77 ./config.status
78
79config.status: configure
80 ./config.status --recheck
81