Revision 23882,
1.7 KB
checked in by broder, 15 years ago
(diff) |
In moira:
* New upstream release
* Build and install libmoira as a shared library. (Trac: #70)
* Drop most of the krb4 patch - it's been incorporated upstream.
* Install the Moira development headers by patching the relevant
Makefiles, instead of in the debian/rules file.
|
Line | |
---|
1 | # $Id: Makefile.in,v 2.10 2009-06-01 21:05:02 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 | 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@ |
---|
27 | top_builddir=@top_builddir@ |
---|
28 | BUILDTOP=.. |
---|
29 | mrbindir=@mrbindir@ |
---|
30 | mrlibdir=@mrlibdir@ |
---|
31 | libdir=@mrlibdir@ |
---|
32 | |
---|
33 | |
---|
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 | |
---|
40 | CFILES= qvalidate.c qaccess.c qsetup.c qsupport.c qfollow.c \ |
---|
41 | qrtn.c increment.c |
---|
42 | |
---|
43 | TARGET=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 | |
---|
53 | all: $(TARGET) |
---|
54 | |
---|
55 | clean: |
---|
56 | $(LIBTOOL) --mode=clean rm -f $(SERVER_OBJS) $(START_OBJS) $(CFILES) $(TARGET) |
---|
57 | |
---|
58 | cleandir distclean: clean |
---|
59 | rm -f Makefile |
---|
60 | |
---|
61 | depend: $(CFILES) |
---|
62 | |
---|
63 | install: |
---|
64 | $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) moirad $(DESTDIR)$(mrbindir) |
---|
65 | $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) startmoira $(DESTDIR)$(mrbindir) |
---|
66 | |
---|
67 | moirad: $(SERVER_OBJS) $(SCHEMA_OBJS) $(MR_LIBDEP) |
---|
68 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) $(SERVER_OBJS) $(SCHEMA_OBJS) $(SQL_LIBS) $(LIBS) |
---|
69 | |
---|
70 | startmoira: $(START_OBJS) |
---|
71 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) $(START_OBJS) $(LIBS) |
---|
Note: See
TracBrowser
for help on using the repository browser.