1 | # $Id: Makefile.in 3956 2010-01-05 20:56:56Z zacheiss $ |
---|
2 | |
---|
3 | SHELL=/bin/sh |
---|
4 | @SET_MAKE@ |
---|
5 | |
---|
6 | CC=@CC@ |
---|
7 | CPPFLAGS=@CPPFLAGS@ @RSAREF_CPPFLAGS@ @REG_SVR_INCLUDES@ |
---|
8 | CFLAGS=@CFLAGS@ |
---|
9 | DEFS=@DEFS@ @REG_SVR_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 | SQL_LIBS=@SQL_LIBS@ |
---|
19 | LIBS=@RSAREF_LIBS@ @REG_SVR_LIBS@ @LIBS@ |
---|
20 | MR_LIBDEP=@MR_LIBDEP@ |
---|
21 | RSAREF_LIBDEP=@RSAREF_LIBDEP@ |
---|
22 | INSTALL=@INSTALL@ |
---|
23 | INSTALL_PROGRAM=@INSTALL_PROGRAM@ |
---|
24 | |
---|
25 | srcdir=@srcdir@ |
---|
26 | VPATH=@srcdir@ |
---|
27 | SRCTOP=@top_srcdir@ |
---|
28 | top_builddir=@top_builddir@ |
---|
29 | BUILDTOP=.. |
---|
30 | mrbindir=@mrbindir@ |
---|
31 | |
---|
32 | REG_OBJS= kerberos.lo protocol.lo reg_svr.lo words.lo |
---|
33 | START_OBJS= startreg.lo |
---|
34 | GENKEY_OBJS= genkey.lo |
---|
35 | GENWORDS_OBJS= genwords.lo words.lo |
---|
36 | |
---|
37 | CFILES= reg_svr.c genwords.c |
---|
38 | |
---|
39 | TARGET= reg_svr startreg genkey genwords |
---|
40 | |
---|
41 | .SUFFIXES: .pc .lo |
---|
42 | |
---|
43 | .pc.c: |
---|
44 | $(PRO_C) $(PRO_C_FLAGS) INAME=$< ONAME=$@ |
---|
45 | |
---|
46 | .c.lo: |
---|
47 | $(LIBTOOL) --mode=compile $(CC) -c $(ALL_CFLAGS) $< |
---|
48 | |
---|
49 | all: $(TARGET) |
---|
50 | |
---|
51 | clean: |
---|
52 | $(LIBTOOL) --mode=clean rm -f $(REG_OBJS) $(START_OBJS) $(GENKEY_OBJS) $(GENWORDS_OBJS) \ |
---|
53 | $(CFILES) $(TARGET) |
---|
54 | |
---|
55 | cleandir distclean: clean |
---|
56 | rm -f Makefile |
---|
57 | |
---|
58 | depend: $(CFILES) |
---|
59 | |
---|
60 | install: |
---|
61 | $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) reg_svr $(DESTDIR)$(mrbindir) |
---|
62 | $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) startreg $(DESTDIR)$(mrbindir) |
---|
63 | $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) genkey $(DESTDIR)$(mrbindir) |
---|
64 | $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) genwords $(DESTDIR)$(mrbindir) |
---|
65 | |
---|
66 | reg_svr: $(REG_OBJS) $(MR_LIBDEP) $(RSAREF_LIBDEP) |
---|
67 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) $(REG_OBJS) $(LIBS) $(SQL_LIBS) |
---|
68 | |
---|
69 | startreg: $(START_OBJS) |
---|
70 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) $(START_OBJS) $(LIBS) |
---|
71 | |
---|
72 | genkey: $(GENKEY_OBJS) |
---|
73 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) $(GENKEY_OBJS) $(LIBS) |
---|
74 | |
---|
75 | genwords: $(GENWORDS_OBJS) |
---|
76 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) $(GENWORDS_OBJS) $(LIBS) $(SQL_LIBS) |
---|