Revision 24319,
1.7 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@ |
---|
| 8 | CFLAGS=@CFLAGS@ |
---|
| 9 | DEFS=@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=@LIBS@ |
---|
| 20 | MR_LIBDEP=@MR_LIBDEP@ |
---|
| 21 | INSTALL=@INSTALL@ |
---|
| 22 | INSTALL_PROGRAM=@INSTALL_PROGRAM@ |
---|
| 23 | |
---|
| 24 | srcdir=@srcdir@ |
---|
| 25 | VPATH=@srcdir@ |
---|
| 26 | SRCTOP=@top_srcdir@ |
---|
[23882] | 27 | top_builddir=@top_builddir@ |
---|
[23095] | 28 | BUILDTOP=.. |
---|
| 29 | mrbindir=@mrbindir@ |
---|
[23882] | 30 | mrlibdir=@mrlibdir@ |
---|
| 31 | libdir=@mrlibdir@ |
---|
[23095] | 32 | |
---|
| 33 | |
---|
[23882] | 34 | SERVER_OBJS= mr_main.lo mr_sauth.lo mr_scall.lo mr_shutdown.lo mr_util.lo \ |
---|
| 35 | qvalidate.lo qaccess.lo qsetup.lo qsupport.lo qfollow.lo \ |
---|
| 36 | queries2.lo qrtn.lo qsubs.lo increment.lo |
---|
| 37 | SCHEMA_OBJS= ../db/moira_schema.lo |
---|
| 38 | START_OBJS= startmoira.lo |
---|
| 39 | |
---|
[23095] | 40 | CFILES= qvalidate.c qaccess.c qsetup.c qsupport.c qfollow.c \ |
---|
| 41 | qrtn.c increment.c |
---|
| 42 | |
---|
| 43 | TARGET=moirad startmoira |
---|
| 44 | |
---|
[23882] | 45 | .SUFFIXES: .pc .lo |
---|
[23095] | 46 | |
---|
| 47 | .pc.c: |
---|
| 48 | $(PRO_C) $(PRO_C_FLAGS) INAME=$< ONAME=$@ |
---|
| 49 | |
---|
[23882] | 50 | .c.lo: |
---|
| 51 | $(LIBTOOL) --mode=compile $(CC) -c $(ALL_CFLAGS) $< |
---|
[23095] | 52 | |
---|
| 53 | all: $(TARGET) |
---|
| 54 | |
---|
| 55 | clean: |
---|
[23882] | 56 | $(LIBTOOL) --mode=clean rm -f $(SERVER_OBJS) $(START_OBJS) $(CFILES) $(TARGET) |
---|
[23095] | 57 | |
---|
| 58 | cleandir distclean: clean |
---|
| 59 | rm -f Makefile |
---|
| 60 | |
---|
| 61 | depend: $(CFILES) |
---|
| 62 | |
---|
| 63 | install: |
---|
[23882] | 64 | $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) moirad $(DESTDIR)$(mrbindir) |
---|
| 65 | $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) startmoira $(DESTDIR)$(mrbindir) |
---|
[23095] | 66 | |
---|
| 67 | moirad: $(SERVER_OBJS) $(SCHEMA_OBJS) $(MR_LIBDEP) |
---|
[23882] | 68 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) $(SERVER_OBJS) $(SCHEMA_OBJS) $(SQL_LIBS) $(LIBS) |
---|
[23095] | 69 | |
---|
| 70 | startmoira: $(START_OBJS) |
---|
[23882] | 71 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) $(START_OBJS) $(LIBS) |
---|
Note: See
TracBrowser
for help on using the repository browser.