root/src/Makefile.in

Revision 30700011fc4916bef71870a2bae7739745a7a2bc, 1.1 kB (checked in by Theo Schlossnagle <jesus@omniti.com>, 7 years ago)

integrate a full-on telnet server... hey, why not?

  • Property mode set to 100644
Line 
1 CC=@CC@
2 CPPFLAGS=@CPPFLAGS@
3 CFLAGS=@CFLAGS@
4 LDFLAGS=@LDFLAGS@
5 AR=@AR@
6 RANLIB=@RANLIB@
7 LIBS=@LIBS@
8 INSTALL=@INSTALL@
9
10 prefix=@prefix@
11 exec_prefix=@exec_prefix@
12 bindir=@bindir@
13 sbindir=@sbindir@
14 libdir=@libdir@
15 includedir=${prefix}/include
16 libexecdir=@libexecdir@
17 datarootdir = @datarootdir@
18 mandir=@mandir@
19 mansubdir=@mansubdir@
20 docdir=${prefix}/@docdir@
21 sysconfdir=@sysconfdir@
22 srcdir=@srcdir@
23 top_srcdir=@top_srcdir@
24
25 SUBS=utils jlog eventer modules noitedit
26
27 OBJS=noitd.o noit_listener.o noit_console.o noit_console_telnet.o \
28         noit_check.o \
29         noit_module.o noit_conf.o noit_tokenizer.o
30
31 all:    noitd
32
33 make-subdirs:   serf/.libs/libserf-0.a
34         for dir in $(SUBS) ; do \
35                 (cd $$dir && make) ; \
36         done
37
38 serf/.libs/libserf-0.a:
39         (cd serf && python serfmake)
40
41 noitd:  make-subdirs $(OBJS)
42         $(CC) -o $@ $(OBJS) \
43                 $(LDFLAGS) \
44                 -Leventer -leventer \
45                 -Lutils -lnoit_utils \
46                 -Ljlog -ljlog \
47                 -Lnoitedit -lnoitedit \
48                 $(LIBS)
49
50 .c.o:
51         $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
52
53 noit_tokenizer.c:       noit_tokenizer.re
54         re2c -o $@ noit_tokenizer.re
55
56 clean-subdirs:
57         for dir in $(SUBS) ; do \
58                 (cd $$dir && make clean) ; \
59         done
60
61 clean:  clean-subdirs
62         rm -f *.o noitd
63
Note: See TracBrowser for help on using the browser.