root/src/Makefile.in

Revision 7e43d37ee8476335cb9af1abff0f709c97488df8, 0.9 kB (checked in by Theo Schlossnagle <jesus@omniti.com>, 6 years ago)

stubs for modules

  • 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_poller.o
28
29 all:    noitd
30
31 make-subdirs:
32         for dir in $(SUBS) ; do \
33                 (cd $$dir && make) ; \
34         done
35
36 noitd:  make-subdirs $(OBJS)
37         $(CC) -o $@ $(OBJS) \
38                 $(LDFLAGS) \
39                 -Leventer -leventer \
40                 -Lutils -lnoit_utils \
41                 -Ljlog -ljlog \
42                 $(LIBS)
43
44 .c.o:
45         $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
46
47 clean-subdirs:
48         for dir in $(SUBS) ; do \
49                 (cd $$dir && make clean) ; \
50         done
51
52 clean:  clean-subdirs
53         rm -f *.o noitd
54
Note: See TracBrowser for help on using the browser.