root/src/Makefile.in

Revision 37cf7d8f9e336376dc0ecdb1b80e4776721a950b, 1.1 kB (checked in by Theo Schlossnagle <jesus@omniti.com>, 6 years ago)

A 'simple' tokenizer to help us with the console

  • 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
26
27 OBJS=noitd.o noit_listener.o noit_console.o noit_check.o \
28         noit_module.o noit_conf.o noit_tokenizer.o
29
30 all:    noitd
31
32 make-subdirs:   serf/.libs/libserf-0.a
33         for dir in $(SUBS) ; do \
34                 (cd $$dir && make) ; \
35         done
36
37 serf/.libs/libserf-0.a:
38         (cd serf && python serfmake)
39
40 noitd:  make-subdirs $(OBJS)
41         $(CC) -o $@ $(OBJS) \
42                 $(LDFLAGS) \
43                 -Leventer -leventer \
44                 -Lutils -lnoit_utils \
45                 -Ljlog -ljlog \
46                 $(LIBS)
47
48 .c.o:
49         $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
50
51 noit_tokenizer.c:       noit_tokenizer.re
52         re2c -o $@ noit_tokenizer.re
53
54 clean-subdirs:
55         for dir in $(SUBS) ; do \
56                 (cd $$dir && make clean) ; \
57         done
58
59 clean:  clean-subdirs
60         rm -f *.o noitd
61
Note: See TracBrowser for help on using the browser.