1 | # $Id: Makefile.in,v 1.55 2009-06-01 21:04:59 zacheiss Exp $ |
---|
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 boot.lo confluence.lo cups-print.lo dhcp.lo directory.lo events.lo \ |
---|
36 | hesiod.lo hosts.lo lpcaccess.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 boot.c confluence.c cups-print.c dhcp.c directory.c events.c \ |
---|
40 | hesiod.c hosts.c lpcaccess.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 boot.gen confluence.gen cups-print.gen dhcp.gen directory.gen \ |
---|
44 | events.gen hesiod.gen hosts.gen lpcaccess.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 boot.sh ca.gen calendar.gen \ |
---|
49 | cups-print.sh dhcp.sh events.sh hesiod.sh ip-billing.gen \ |
---|
50 | ip-billing.sh ldap.gen longjobs.gen longjobs.sh mailhosts.gen \ |
---|
51 | mailhub.sh mailman.gen mailman.sh nagios-cluster.gen \ |
---|
52 | nagios-cluster.sh nagios-colo.gen nagios-colo.sh \ |
---|
53 | nagios-printers.gen nagios-printers.sh nagios-wsh.gen nagios-wsh.sh \ |
---|
54 | ndb.sh nfs.sh null.sh postoffice.sh print.sh rt.sh sapprint.gen \ |
---|
55 | sapprint.sh spwatch.gen tsm.gen tsm.sh warehouse.gen warehouse.sh \ |
---|
56 | winstats.gen winstats.sh www.sh zephyr.sh install_dirs \ |
---|
57 | install_quotas zero_quotas |
---|
58 | |
---|
59 | .SUFFIXES: .pc .gen .lo |
---|
60 | |
---|
61 | .pc.c: |
---|
62 | $(PRO_C) $(PRO_C_FLAGS) INAME=$< ONAME=$@ |
---|
63 | |
---|
64 | .c.lo: |
---|
65 | $(LIBTOOL) --mode=compile $(CC) -c $(ALL_CFLAGS) $< |
---|
66 | |
---|
67 | all: $(TARGET) |
---|
68 | |
---|
69 | clean: |
---|
70 | $(LIBTOOL) --mode=clean rm -f $(LIB_OBJS) $(OBJS) $(LIB_CFILES) $(CFILES) $(LIB_TARGET) $(TARGET) |
---|
71 | |
---|
72 | cleandir distclean: clean |
---|
73 | rm -f Makefile |
---|
74 | |
---|
75 | depend: $(LIB_CFILES) $(CFILES) |
---|
76 | |
---|
77 | install: |
---|
78 | @set -x; for p in $(TARGET); do $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(mrbindir); done |
---|
79 | @set -x; for p in $(SCRIPTS); do $(INSTALL) -m 755 $$p $(DESTDIR)$(mrbindir); done |
---|
80 | |
---|
81 | libdcm.a: $(LIB_OBJS) |
---|
82 | ar cru $@ $(LIB_OBJS) |
---|
83 | $(RANLIB) $@ |
---|
84 | |
---|
85 | hesiod.gen: hesiod.lo libdcm.a $(MR_LIBDEP) |
---|
86 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) hesiod.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
87 | |
---|
88 | hosts.gen: hosts.lo libdcm.a $(MR_LIBDEP) |
---|
89 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) hosts.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
90 | |
---|
91 | nfs.gen: nfs.lo libdcm.a $(MR_LIBDEP) |
---|
92 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) nfs.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
93 | |
---|
94 | dhcp.gen: dhcp.lo libdcm.a $(MR_LIBDEP) |
---|
95 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) dhcp.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
96 | |
---|
97 | directory.gen: directory.lo libdcm.a $(MR_LIBDEP) |
---|
98 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) directory.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
99 | |
---|
100 | events.gen: events.lo libdcm.a $(MR_LIBDEP) |
---|
101 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) events.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
102 | |
---|
103 | confluence.gen: confluence.lo libdcm.a $(MR_LIBDEP) |
---|
104 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) confluence.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
105 | |
---|
106 | ndb.gen: ndb.lo libdcm.a $(MR_LIBDEP) |
---|
107 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) ndb.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
108 | |
---|
109 | mailhub.gen: mailhub.lo libdcm.a $(MR_LIBDEP) |
---|
110 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) mailhub.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
111 | |
---|
112 | pobox.gen: pobox.lo libdcm.a $(MR_LIBDEP) |
---|
113 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) pobox.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
114 | |
---|
115 | network.gen: network.lo libdcm.a $(MR_LIBDEP) |
---|
116 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) network.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
117 | |
---|
118 | warehouse.gen: warehouse.lo libdcm.a $(MR_LIBDEP) |
---|
119 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) warehouse.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
120 | |
---|
121 | print.gen: print.lo libdcm.a $(MR_LIBDEP) |
---|
122 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) print.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
123 | |
---|
124 | printng.gen: printng.lo libdcm.a $(MR_LIBDEP) |
---|
125 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) printng.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
126 | |
---|
127 | boot.gen: boot.lo libdcm.a $(MR_LIBDEP) |
---|
128 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) boot.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
129 | |
---|
130 | acl.gen: acl.lo libdcm.a $(MR_LIBDEP) |
---|
131 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) acl.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
132 | |
---|
133 | zephyr.gen: zephyr.lo libdcm.a $(MR_LIBDEP) |
---|
134 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) zephyr.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
135 | |
---|
136 | postoffice.gen: postoffice.lo libdcm.a $(MR_LIBDEP) |
---|
137 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) postoffice.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
138 | |
---|
139 | www.gen: www.lo libdcm.a $(MR_LIBDEP) |
---|
140 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) www.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
141 | |
---|
142 | winad.gen: winad.lo libdcm.a $(MR_LIBDEP) |
---|
143 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) winad.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
144 | |
---|
145 | lpcaccess.gen: lpcaccess.lo libdcm.a $(MR_LIBDEP) |
---|
146 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) lpcaccess.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
147 | |
---|
148 | warehouse-lists.gen: warehouse-lists.lo libdcm.a $(MR_LIBDEP) |
---|
149 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) warehouse-lists.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|
150 | |
---|
151 | cups-print.gen: cups-print.lo libdcm.a $(MR_LIBDEP) |
---|
152 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) cups-print.lo libdcm.a $(SQL_LIBS) $(LIBS) |
---|