2 build_alias
= @build_alias@
5 datarootdir
= @datarootdir@
8 exec_prefix = @
exec_prefix@
9 host_alias
= @host_alias@
11 includedir = @
includedir@
14 libexecdir
= @libexecdir@
15 localedir
= @localedir@
16 localstatedir
= @localstatedir@
18 oldincludedir = @
oldincludedir@
21 BASEDIR
=@
datadir@
/0verkill
22 CFLAGS
=@CFLAGS@
-O3 @X_CFLAGS@
-DBASE_DIR
="\"$(BASEDIR)\"" -Wall
-W
-Wstrict-prototypes
-Wno-parentheses
30 MAIN
=0verkill @X0VERKILL@
31 HELPER
=server @XEDITOR@ editor test_server avi bot @XAVI@
34 CFLAGS
+=-DDATA_PATH
="\"$(DATA_PATH)"\"
37 all: $(HELPER
) $(MAIN
)
40 for i in
$(HELPER
); do\
41 $(INSTALL
) -D
-m
755 $$i "$(DESTDIR)$(bindir)"/`echo $$i | sed -n 's|^x.*|x|p'`0verkill-
$$i;\
44 $(INSTALL
) -D
-m
755 $$i "$(DESTDIR)$(bindir)"/$$i;\
46 $(INSTALL
) -d
-m
755 "$(DESTDIR)$(BASEDIR)"/data
47 $(INSTALL
) -d
-m
755 "$(DESTDIR)$(BASEDIR)"/grx
48 $(INSTALL
) -m
644 data
/* "$(DESTDIR)$(BASEDIR)"/data
49 $(INSTALL
) -m
644 grx
/* "$(DESTDIR)$(BASEDIR)"/grx
53 rm -f
*.o server
0verkill editor test_server x0verkill xeditor avi xavi bot core
55 bot.o
: bot.c config.h sprite.h data.h cfg.h net.h hash.h time.h math.h getopt.h error.h
56 avi.o
: avi.c console.h blit.h time.h help.h error.h
57 blit.o
: blit.c blit.h console.h cfg.h config.h error.h
58 net.o
: net.c net.h crc32.h error.h
59 crc32.o
: crc32.c crc32.h error.h
60 hash.o
: hash.c hash.h data.h error.h
61 console.o
: console.c console.h kbd.h kbd.c config.h error.h
62 kbd.o
: kbd.c kbd.h cfg.h console.h error.h
63 sprite.o
: sprite.c sprite.h console.h cfg.h data.h blit.h config.h md5.h error.h
64 data.o
: data.c cfg.h data.h hash.h time.h math.h config.h error.h
65 server.o
: server.c server.h net.h data.h hash.h cfg.h time.h math.h config.h error.h
66 client.o
: client.c data.h sprite.h cfg.h net.h hash.h time.h math.h console.h help.h blit.h config.h error.h
67 xclient.o
: client.c data.h sprite.h cfg.h net.h hash.h time.h math.h console.h help.h config.h error.h
68 gcc
-c
$(CFLAGS
) -DXWINDOW
-o xclient.o client.c
69 time.o
: time.c time.h error.h
70 help.o
: help.c blit.h error.h
71 avihelp.o
: avihelp.c blit.h error.h
72 editor.o
: editor.c sprite.h console.h data.h cfg.h hash.h time.h math.h blit.h error.h
73 test_server.o
: test_server.c net.h data.h error.h
74 xinterface.o
: xinterface.c console.h kbd.h x.h cfg.h icon.h config.h error.h
75 xkbd.o
: xkbd.c kbd.h console.h x.h cfg.h time.h error.h
76 md5.o
: md5.c md5.h error.h
77 md5hl.o
: md5hl.c md5.h error.h
78 error.o
: error.c error.h
81 avi
: avi.o blit.o console.o kbd.o time.o avihelp.o error.o
82 gcc
$(LDFLAGS
) -o avi avi.o blit.o console.o kbd.o error.o time.o avihelp.o
$(LIBS
)
84 xavi
: avi.o blit.o xinterface.o xkbd.o time.o avihelp.o error.o
85 gcc
$(LDFLAGS
) -o xavi avi.o blit.o xinterface.o xkbd.o error.o time.o avihelp.o
$(LIBS
) $(XLIBS
)
87 bot
: bot.o data.o hash.o time.o net.o crc32.o md5.o md5hl.o error.o
88 gcc
$(LDFLAGS
) -o bot bot.o data.o hash.o time.o net.o error.o md5.o md5hl.o crc32.o sprite.o
$(LIBS
)
90 0verkill
: client.o data.o sprite.o blit.o console.o hash.o time.o net.o error.o crc32.o md5.o md5hl.o kbd.o help.o
91 gcc
$(LDFLAGS
) -o
0verkill client.o data.o sprite.o blit.o console.o error.o hash.o time.o md5.o md5hl.o kbd.o net.o crc32.o help.o
$(LIBS
)
94 x0verkill
: xclient.o data.o sprite.o blit.o xinterface.o hash.o time.o net.o crc32.o error.o xkbd.o help.o md5.o md5hl.o
95 gcc
$(LDFLAGS
) -o x0verkill xclient.o data.o blit.o sprite.o xinterface.o xkbd.o error.o md5.o md5hl.o hash.o time.o net.o crc32.o help.o
$(LIBS
) $(XLIBS
)
97 server
: server.o data.o sprite.o blit.o console.o hash.o time.o kbd.o net.o crc32.o md5.o md5hl.o error.o
98 gcc
$(LDFLAGS
) -o server server.o data.o sprite.o blit.o console.o hash.o time.o kbd.o md5.o md5hl.o error.o net.o crc32.o
$(LIBS
)
100 editor
: editor.o data.o blit.o sprite.o console.o hash.o time.o kbd.o md5.o md5hl.o error.o
101 gcc
$(LDFLAGS
) -o editor editor.o data.o blit.o sprite.o console.o hash.o md5.o md5hl.o error.o time.o kbd.o
$(LIBS
)
103 xeditor
: editor.o data.o blit.o sprite.o xinterface.o hash.o time.o xkbd.o md5.o md5hl.o error.o
104 gcc
$(LDFLAGS
) -o xeditor editor.o data.o blit.o sprite.o xinterface.o hash.o md5.o error.o md5hl.o time.o xkbd.o
$(LIBS
) $(XLIBS
)
106 test_server
: test_server.o net.o data.o crc32.o blit.o sprite.o time.o hash.o console.o kbd.o md5.o md5hl.o error.o
107 gcc
$(LDFLAGS
) -o test_server test_server.o net.o data.o crc32.o blit.o sprite.o time.o hash.o md5.o md5hl.o error.o console.o kbd.o
$(LIBS
)