Revision 24319,
2.0 KB
checked in by broder, 15 years ago
(diff) |
New Moira snapshot from SVN.
|
Rev | Line | |
---|
[24319] | 1 | # $Id: Makefile.in 3956 2010-01-05 20:56:56Z zacheiss $ |
---|
[23095] | 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) |
---|
[23882] | 11 | LIBTOOL=@LIBTOOL@ |
---|
[23095] | 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@ |
---|
[23882] | 28 | top_builddir=@top_builddir@ |
---|
[23095] | 29 | BUILDTOP=.. |
---|
| 30 | mrbindir=@mrbindir@ |
---|
| 31 | |
---|
[23882] | 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 |
---|
[23095] | 36 | |
---|
| 37 | CFILES= reg_svr.c genwords.c |
---|
| 38 | |
---|
| 39 | TARGET= reg_svr startreg genkey genwords |
---|
| 40 | |
---|
[23882] | 41 | .SUFFIXES: .pc .lo |
---|
[23095] | 42 | |
---|
| 43 | .pc.c: |
---|
| 44 | $(PRO_C) $(PRO_C_FLAGS) INAME=$< ONAME=$@ |
---|
| 45 | |
---|
[23882] | 46 | .c.lo: |
---|
| 47 | $(LIBTOOL) --mode=compile $(CC) -c $(ALL_CFLAGS) $< |
---|
[23095] | 48 | |
---|
| 49 | all: $(TARGET) |
---|
| 50 | |
---|
| 51 | clean: |
---|
[23882] | 52 | $(LIBTOOL) --mode=clean rm -f $(REG_OBJS) $(START_OBJS) $(GENKEY_OBJS) $(GENWORDS_OBJS) \ |
---|
[23095] | 53 | $(CFILES) $(TARGET) |
---|
| 54 | |
---|
| 55 | cleandir distclean: clean |
---|
| 56 | rm -f Makefile |
---|
| 57 | |
---|
| 58 | depend: $(CFILES) |
---|
| 59 | |
---|
| 60 | install: |
---|
[23882] | 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) |
---|
[23095] | 65 | |
---|
| 66 | reg_svr: $(REG_OBJS) $(MR_LIBDEP) $(RSAREF_LIBDEP) |
---|
[23882] | 67 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) $(REG_OBJS) $(LIBS) $(SQL_LIBS) |
---|
[23095] | 68 | |
---|
| 69 | startreg: $(START_OBJS) |
---|
[23882] | 70 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) $(START_OBJS) $(LIBS) |
---|
[23095] | 71 | |
---|
| 72 | genkey: $(GENKEY_OBJS) |
---|
[23882] | 73 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) $(GENKEY_OBJS) $(LIBS) |
---|
[23095] | 74 | |
---|
| 75 | genwords: $(GENWORDS_OBJS) |
---|
[23882] | 76 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) $(GENWORDS_OBJS) $(LIBS) $(SQL_LIBS) |
---|
Note: See
TracBrowser
for help on using the repository browser.