]> jfr.im git - irc/gameservirc.git/blame - gameserv/Makefile.in
Corrected the VERSION reply, it broke ircII
[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@
fb37ecc7 15CPPFLAGS = -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 \
b0a5c536 28 options.h gameserv .config .gstimestamp
c1068b6e 29
c62d75be 30tcpclient: aClient.o config.o c_forest.o gameserv.o log.o player.o sockhelp.o tcpclient.o
31 $(CC) -o gameserv aClient.o config.o c_forest.o gameserv.o log.o player.o sockhelp.o\
c1068b6e 32 tcpclient.o $(LIBS)
33
b0a5c536 34configscript: configscript.o
35 $(CC) -o .config configscript.o
36
37configscript.o: configscript.cpp
38 $(CC) $(CFLAGS) -c configscript.cpp
39
9d3b1d42 40tcpclient.o: tcpclient.cpp aClient.h player.h extern.h list.h \
3662210f 41 listnode.h options.h sockhelp.h
c1068b6e 42 $(CC) $(CFLAGS) -c tcpclient.cpp
43
44tcpserver.o: tcpserver.cpp sockhelp.cpp
45 $(CC) $(CFLAGS) -c tcpserver.cpp
46
173302fe 47sockhelp.o: sockhelp.cpp aClient.h extern.h list.h listnode.h \
9f8c2acc 48 options.h player.h sockhelp.h
c1068b6e 49 $(CC) $(CFLAGS) -c sockhelp.cpp
50
173302fe 51aClient.o: aClient.cpp aClient.h extern.h list.h listnode.h \
9f8c2acc 52 options.h player.h sockhelp.h
c1068b6e 53 $(CC) $(CFLAGS) -c aClient.cpp
54
173302fe 55gameserv.o: gameserv.cpp aClient.h extern.h flags.h list.h\
9f8c2acc 56 listnode.h options.h player.h pouch.h sockhelp.h
c1068b6e 57 $(CC) $(CFLAGS) -c gameserv.cpp
58
173302fe 59c_forest.o: c_forest.cpp aClient.h extern.h list.h\
9f8c2acc 60 listnode.h options.h player.h pouch.h sockhelp.h
c1068b6e 61 $(CC) $(CFLAGS) -c c_forest.cpp
62
c62d75be 63log.o: config.cpp log.cpp extern.h
64 $(CC) $(CFLAGS) -c log.cpp
65
9f8c2acc 66player.o: player.cpp aClient.h extern.h list.h listnode.h options.h player.h \
3662210f 67 pouch.h sockhelp.h
c1068b6e 68 $(CC) $(CFLAGS) -c player.cpp
69
70config.o: config.cpp extern.h
71 $(CC) $(CFLAGS) -c config.cpp
72
c1068b6e 73# autoheader might not change config.h.in, so touch a stamp file
74${srcdir}/config.h.in: stamp-h.in
75
b27bbf6e 76${srcdir}/stamp-h.in:
c1068b6e 77 cd ${srcdir} && autoheader
78 echo timestamp > ${srcdir}/stamp-h.in
79
80config.h: stamp-h
81
82stamp-h: config.h.in config.status
83 ./config.status
84
85Makefile: Makefile.in config.status
86 ./config.status
87
88config.status: configure
89 ./config.status --recheck