source: trunk/third/moira/gen/Makefile.in @ 25198

Revision 25198, 5.4 KB checked in by jdreed, 13 years ago (diff)
In moira: * Snapshot moira@r4042 (6/28/11) * Update version number to include moira revision number
Line 
1# $Id: Makefile.in 4040 2011-06-15 21:51:11Z zacheiss $
2
3SHELL=/bin/sh
4@SET_MAKE@
5
6CC=@CC@
7CPPFLAGS=@CPPFLAGS@
8CFLAGS=@CFLAGS@
9DEFS=@DEFS@
10ALL_CFLAGS=$(CPPFLAGS) $(CFLAGS) $(DEFS)
11LIBTOOL=@LIBTOOL@
12PRO_C=@PRO_C@
13PRO_C_DEFS=@PRO_C_DEFS@
14PRO_C_INCLUDES=@PRO_C_INCLUDES@
15PRO_C_OPTS=@PRO_C_OPTS@
16PRO_C_FLAGS=$(PRO_C_OPTS) $(PRO_C_DEFS) $(PRO_C_INCLUDES)
17LDFLAGS=@LDFLAGS@
18LIBS=@SQL_LIBS@ @LIBS@
19MR_LIBDEP=@MR_LIBDEP@
20INSTALL=@INSTALL@
21INSTALL_PROGRAM=@INSTALL_PROGRAM@
22RANLIB=@RANLIB@
23
24srcdir=@srcdir@
25VPATH=@srcdir@
26SRCTOP=@top_srcdir@
27top_builddir=@top_builddir@
28BUILDTOP=..
29mrbindir=@mrbindir@
30
31LIB_OBJS=util.o tar.o genacl.o
32LIB_CFILES=genacl.c
33LIB_TARGET=libdcm.a
34
35OBJS=   acl.lo confluence.lo cups-print.lo cups-cluster.lo dhcp.lo directory.lo events.lo \
36        hesiod.lo hosts.lo mailhub.lo ndb.lo network.lo nfs.lo pobox.lo \
37        postoffice.lo print.lo warehouse-lists.lo winad.lo www.lo zephyr.lo
38
39CFILES= acl.c confluence.c cups-print.c cups-cluster.c dhcp.c directory.c events.c \
40        hesiod.c hosts.c mailhub.c ndb.c network.c nfs.c pobox.c \
41        postoffice.c print.c warehouse-lists.c winad.c www.c zephyr.c
42
43TARGET= acl.gen confluence.gen cups-print.gen cups-cluster.gen dhcp.gen directory.gen \
44        events.gen hesiod.gen hosts.gen mailhub.gen ndb.gen \
45        network.gen nfs.gen pobox.gen postoffice.gen print.gen \
46        warehouse-lists.gen winad.gen www.gen zephyr.gen
47
48SCRIPTS=access.gen access.sh acl.sh aliases.sh asa-db.gen ca.gen calendar.gen \
49        cups-print.sh cups-cluster.sh dhcp.sh events.sh hesiod.sh ip-billing.gen \
50        ip-billing.sh ldap.gen mailhosts.gen mailhub.sh mailman.gen mailman.sh \
51        nagios-cluster.gen nagios-cluster.sh nagios-colo.gen nagios-colo.sh \
52        nagios-printers.gen nagios-printers.sh nagios-wsh.gen nagios-wsh.sh \
53        ndb.sh nfs.sh null.sh postoffice.sh print.sh print-accounting.gen sapprint.gen \
54        sapprint.sh spwatch.gen tsm.gen tsm.sh ua-elect.gen warehouse.gen warehouse.sh \
55        winstats.gen winstats.sh www.sh zephyr.sh install_dirs \
56        install_quotas zero_quotas
57
58.SUFFIXES: .pc .gen .lo
59
60.pc.c:
61        $(PRO_C) $(PRO_C_FLAGS) INAME=$< ONAME=$@
62
63.c.lo:
64        $(LIBTOOL) --mode=compile $(CC) -c $(ALL_CFLAGS) $<
65
66all: $(TARGET)
67
68clean:
69        $(LIBTOOL) --mode=clean rm -f $(LIB_OBJS) $(OBJS) $(LIB_CFILES) $(CFILES) $(LIB_TARGET) $(TARGET)
70
71cleandir distclean: clean
72        rm -f Makefile
73
74depend: $(LIB_CFILES) $(CFILES)
75
76install:
77        @set -x; for p in $(TARGET); do $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(mrbindir); done
78        @set -x; for p in $(SCRIPTS); do $(INSTALL) -m 755 $$p $(DESTDIR)$(mrbindir); done
79
80libdcm.a: $(LIB_OBJS)
81        ar cru $@ $(LIB_OBJS)
82        $(RANLIB) $@
83
84hesiod.gen: hesiod.lo libdcm.a $(MR_LIBDEP)
85        $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) hesiod.lo libdcm.a $(SQL_LIBS) $(LIBS)
86
87hosts.gen: hosts.lo libdcm.a $(MR_LIBDEP)
88        $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) hosts.lo libdcm.a $(SQL_LIBS) $(LIBS)
89
90nfs.gen: nfs.lo libdcm.a $(MR_LIBDEP)
91        $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) nfs.lo libdcm.a $(SQL_LIBS) $(LIBS)
92
93dhcp.gen: dhcp.lo libdcm.a $(MR_LIBDEP)
94        $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) dhcp.lo libdcm.a $(SQL_LIBS) $(LIBS)
95
96directory.gen: directory.lo libdcm.a $(MR_LIBDEP)
97        $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) directory.lo libdcm.a $(SQL_LIBS) $(LIBS)
98
99events.gen: events.lo libdcm.a $(MR_LIBDEP)
100        $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) events.lo libdcm.a $(SQL_LIBS) $(LIBS)
101
102confluence.gen: confluence.lo libdcm.a $(MR_LIBDEP)
103        $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) confluence.lo libdcm.a $(SQL_LIBS) $(LIBS)
104
105ndb.gen: ndb.lo libdcm.a $(MR_LIBDEP)
106        $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) ndb.lo libdcm.a $(SQL_LIBS) $(LIBS)
107
108mailhub.gen: mailhub.lo libdcm.a $(MR_LIBDEP)
109        $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) mailhub.lo libdcm.a $(SQL_LIBS) $(LIBS)
110
111pobox.gen: pobox.lo libdcm.a $(MR_LIBDEP)
112        $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) pobox.lo libdcm.a $(SQL_LIBS) $(LIBS)
113
114network.gen: network.lo libdcm.a $(MR_LIBDEP)
115        $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) network.lo libdcm.a $(SQL_LIBS) $(LIBS)
116
117warehouse.gen: warehouse.lo libdcm.a $(MR_LIBDEP)
118        $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) warehouse.lo libdcm.a $(SQL_LIBS) $(LIBS)
119
120print.gen: print.lo libdcm.a $(MR_LIBDEP)
121        $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) print.lo libdcm.a $(SQL_LIBS) $(LIBS)
122
123acl.gen: acl.lo libdcm.a $(MR_LIBDEP)
124        $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) acl.lo libdcm.a $(SQL_LIBS) $(LIBS)
125
126zephyr.gen: zephyr.lo libdcm.a $(MR_LIBDEP)
127        $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) zephyr.lo libdcm.a $(SQL_LIBS) $(LIBS)
128
129postoffice.gen: postoffice.lo libdcm.a $(MR_LIBDEP)
130        $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) postoffice.lo libdcm.a $(SQL_LIBS) $(LIBS)
131
132www.gen: www.lo libdcm.a $(MR_LIBDEP)
133        $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) www.lo libdcm.a $(SQL_LIBS) $(LIBS)
134
135winad.gen: winad.lo libdcm.a $(MR_LIBDEP)
136        $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) winad.lo libdcm.a $(SQL_LIBS) $(LIBS)
137
138warehouse-lists.gen: warehouse-lists.lo libdcm.a $(MR_LIBDEP)
139        $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) warehouse-lists.lo libdcm.a $(SQL_LIBS) $(LIBS)
140
141cups-print.gen: cups-print.lo libdcm.a $(MR_LIBDEP)
142        $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) cups-print.lo libdcm.a $(SQL_LIBS) $(LIBS)
143
144cups-cluster.gen: cups-cluster.lo libdcm.a $(MR_LIBDEP)
145        $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) cups-cluster.lo libdcm.a $(SQL_LIBS) $(LIBS)
Note: See TracBrowser for help on using the repository browser.