root/src/modules/Makefile.in

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

compiles on linux -- still no eventer, refs #12

  • Property mode set to 100644
Line 
1 .SUFFIXES: .lo .@MODULEEXT@
2
3 CC=@CC@
4 LD=@LD@
5 CPPFLAGS=@CPPFLAGS@
6 CFLAGS=@CFLAGS@
7 SHCFLAGS=@SHCFLAGS@
8 MODULELD=@MODULELD@
9 MODULEEXT=@MODULEEXT@
10 LDFLAGS=@LDFLAGS@
11 AR=@AR@
12 RANLIB=@RANLIB@
13 LIBS=@LIBS@
14 PGLIBS=@PGLIBS@
15 INSTALL=@INSTALL@
16
17 top_srcdir=@top_srcdir@
18
19 MODULES=ping_icmp.@MODULEEXT@ http.@MODULEEXT@ postgres.@MODULEEXT@ \
20         @BUILD_MODULES@
21
22 all:    $(MODULES)
23
24 postgres.@MODULEEXT@:   postgres.lo
25         @$(MODULELD) $(LDFLAGS) -o $@ postgres.lo @SERFLIBS@ $(PGLIBS) -lz -lssl -lcrypto
26         @echo "- linking $@"
27
28 http.@MODULEEXT@:       http.lo
29         @$(MODULELD) $(LDFLAGS) -o $@ http.lo @SERFLIBS@ ../serf/.libs/libserf-0.o -lz -lssl -lcrypto
30         @echo "- linking $@"
31
32 http.lo:        http.c
33         @$(CC) $(CPPFLAGS) $(SHCFLAGS) -I$(top_srcdir)/src/serf @SERFCFLAGS@ -c http.c -o $@
34         @echo "- compiling $<"
35
36 snmp.@MODULEEXT@:       snmp.lo
37         @$(MODULELD) $(LDFLAGS) -o $@ snmp.lo -lnetsnmp
38         @echo "- linking $@"
39
40 ssh2.@MODULEEXT@:       ssh2.lo
41         @$(MODULELD) $(LDFLAGS) -o $@ ssh2.lo -lssh2
42         @echo "- linking $@"
43
44 .lo.@MODULEEXT@:
45         @$(MODULELD) $(LDFLAGS) -o $@ $<
46         @echo "- linking $@"
47
48 .c.lo:
49         @$(CC) $(CPPFLAGS) $(SHCFLAGS) -c $< -o $@
50         @echo "- compiling $<"
51
52 clean:
53         rm -f *.lo *.@MODULEEXT@
Note: See TracBrowser for help on using the browser.