1 | # $Id: Makefile.in 4040 2011-06-15 21:51:11Z zacheiss $ |
---|
2 | |
---|
3 | SHELL=/bin/sh |
---|
4 | @SET_MAKE@ |
---|
5 | |
---|
6 | CC=@CC@ |
---|
7 | CPPFLAGS=@CPPFLAGS@ |
---|
8 | CFLAGS=@CFLAGS@ |
---|
9 | DEFS=@DEFS@ |
---|
10 | ALL_CFLAGS=$(CPPFLAGS) $(CFLAGS) $(DEFS) |
---|
11 | LIBTOOL=@LIBTOOL@ |
---|
12 | PRO_C=@PRO_C@ |
---|
13 | PRO_C_DEFS=@PRO_C_DEFS@ |
---|
14 | PRO_C_INCLUDES=@PRO_C_INCLUDES@ |
---|
15 | PRO_C_OPTS=@PRO_C_OPTS@ |
---|
16 | PRO_C_FLAGS=$(PRO_C_OPTS) $(PRO_C_DEFS) $(PRO_C_INCLUDES) |
---|
17 | LDFLAGS=@LDFLAGS@ |
---|
18 | LIBS=@SQL_LIBS@ @LIBS@ |
---|
19 | MR_LIBDEP=@MR_LIBDEP@ |
---|
20 | INSTALL=@INSTALL@ |
---|
21 | INSTALL_PROGRAM=@INSTALL_PROGRAM@ |
---|
22 | RANLIB=@RANLIB@ |
---|
23 | |
---|
24 | srcdir=@srcdir@ |
---|
25 | VPATH=@srcdir@ |
---|
26 | SRCTOP=@top_srcdir@ |
---|
27 | top_builddir=@top_builddir@ |
---|
28 | BUILDTOP=.. |
---|
29 | mrbindir=@mrbindir@ |
---|
30 | |
---|
31 | LIB_OBJS=util.o tar.o genacl.o |
---|
32 | LIB_CFILES=genacl.c |
---|
33 | LIB_TARGET=libdcm.a |
---|
34 | |
---|
35 | OBJS= 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 | |
---|
39 | CFILES= 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 | |
---|
43 | TARGET= 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 | |
---|
48 | SCRIPTS=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 | |
---|
66 | all: $(TARGET) |
---|
67 | |
---|
68 | clean: |
---|
69 | $(LIBTOOL) --mode=clean rm -f $(LIB_OBJS) $(OBJS) $(LIB_CFILES) $(CFILES) $(LIB_TARGET) $(TARGET) |
---|
70 | |
---|
71 | cleandir distclean: clean |
---|
72 | rm -f Makefile |
---|
73 | |
---|
74 | depend: $(LIB_CFILES) $(CFILES) |
---|
75 | |
---|
76 | install: |
---|
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 | |
---|
80 | libdcm.a: $(LIB_OBJS) |
---|
81 | ar cru $@ $(LIB_OBJS) |
---|
82 | $(RANLIB) $@ |
---|
83 | |
---|
84 | hesiod.gen: hesiod.lo libdcm.a $(MR_LIBDEP) |
---|
85 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) hesiod.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
86 | |
---|
87 | hosts.gen: hosts.lo libdcm.a $(MR_LIBDEP) |
---|
88 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) hosts.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
89 | |
---|
90 | nfs.gen: nfs.lo libdcm.a $(MR_LIBDEP) |
---|
91 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) nfs.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
92 | |
---|
93 | dhcp.gen: dhcp.lo libdcm.a $(MR_LIBDEP) |
---|
94 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) dhcp.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
95 | |
---|
96 | directory.gen: directory.lo libdcm.a $(MR_LIBDEP) |
---|
97 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) directory.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
98 | |
---|
99 | events.gen: events.lo libdcm.a $(MR_LIBDEP) |
---|
100 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) events.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
101 | |
---|
102 | confluence.gen: confluence.lo libdcm.a $(MR_LIBDEP) |
---|
103 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) confluence.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
104 | |
---|
105 | ndb.gen: ndb.lo libdcm.a $(MR_LIBDEP) |
---|
106 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) ndb.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
107 | |
---|
108 | mailhub.gen: mailhub.lo libdcm.a $(MR_LIBDEP) |
---|
109 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) mailhub.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
110 | |
---|
111 | pobox.gen: pobox.lo libdcm.a $(MR_LIBDEP) |
---|
112 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) pobox.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
113 | |
---|
114 | network.gen: network.lo libdcm.a $(MR_LIBDEP) |
---|
115 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) network.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
116 | |
---|
117 | warehouse.gen: warehouse.lo libdcm.a $(MR_LIBDEP) |
---|
118 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) warehouse.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
119 | |
---|
120 | print.gen: print.lo libdcm.a $(MR_LIBDEP) |
---|
121 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) print.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
122 | |
---|
123 | acl.gen: acl.lo libdcm.a $(MR_LIBDEP) |
---|
124 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) acl.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
125 | |
---|
126 | zephyr.gen: zephyr.lo libdcm.a $(MR_LIBDEP) |
---|
127 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) zephyr.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
128 | |
---|
129 | postoffice.gen: postoffice.lo libdcm.a $(MR_LIBDEP) |
---|
130 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) postoffice.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
131 | |
---|
132 | www.gen: www.lo libdcm.a $(MR_LIBDEP) |
---|
133 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) www.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
134 | |
---|
135 | winad.gen: winad.lo libdcm.a $(MR_LIBDEP) |
---|
136 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) winad.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
137 | |
---|
138 | warehouse-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 | |
---|
141 | cups-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 | |
---|
144 | cups-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) |
---|