source: trunk/third/moira/server/Makefile.in @ 24319

Revision 24319, 1.7 KB checked in by broder, 15 years ago (diff)
New Moira snapshot from SVN.
Line 
1# $Id: Makefile.in 3956 2010-01-05 20:56:56Z zacheiss $
2
3SHELL=/bin/sh
4@SET_MAKE@
5
6CC=@CC@
7CPPFLAGS=@CPPFLAGS@
8CFLAGS=@CFLAGS@
9DEFS=@DEFS@
10ALL_CFLAGS=$(CPPFLAGS) $(CFLAGS) $(DEFS)
11LIBTOOL=@LIBTOOL@
12PRO_C=@PRO_C@
13PRO_C_DEFS=@PRO_C_DEFS@
14PRO_C_INCLUDES=@PRO_C_INCLUDES@
15PRO_C_OPTS=@PRO_C_OPTS@
16PRO_C_FLAGS=$(PRO_C_OPTS) $(PRO_C_DEFS) $(PRO_C_INCLUDES)
17LDFLAGS=@LDFLAGS@
18SQL_LIBS=@SQL_LIBS@
19LIBS=@LIBS@
20MR_LIBDEP=@MR_LIBDEP@
21INSTALL=@INSTALL@
22INSTALL_PROGRAM=@INSTALL_PROGRAM@
23
24srcdir=@srcdir@
25VPATH=@srcdir@
26SRCTOP=@top_srcdir@
27top_builddir=@top_builddir@
28BUILDTOP=..
29mrbindir=@mrbindir@
30mrlibdir=@mrlibdir@
31libdir=@mrlibdir@
32
33
34SERVER_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
37SCHEMA_OBJS=    ../db/moira_schema.lo
38START_OBJS=     startmoira.lo
39
40CFILES=         qvalidate.c qaccess.c qsetup.c qsupport.c qfollow.c \
41                qrtn.c increment.c
42
43TARGET=moirad startmoira
44
45.SUFFIXES: .pc .lo
46
47.pc.c:
48        $(PRO_C) $(PRO_C_FLAGS) INAME=$< ONAME=$@
49
50.c.lo:
51        $(LIBTOOL) --mode=compile $(CC) -c $(ALL_CFLAGS) $<
52
53all: $(TARGET)
54
55clean:
56        $(LIBTOOL) --mode=clean rm -f $(SERVER_OBJS) $(START_OBJS) $(CFILES) $(TARGET)
57
58cleandir distclean: clean
59        rm -f Makefile
60
61depend: $(CFILES)
62
63install:
64        $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) moirad $(DESTDIR)$(mrbindir)
65        $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) startmoira $(DESTDIR)$(mrbindir)
66
67moirad: $(SERVER_OBJS) $(SCHEMA_OBJS) $(MR_LIBDEP)
68        $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) $(SERVER_OBJS) $(SCHEMA_OBJS) $(SQL_LIBS) $(LIBS)
69
70startmoira: $(START_OBJS)
71        $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) $(START_OBJS) $(LIBS)
Note: See TracBrowser for help on using the repository browser.