Revision 23882,
1.4 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.
|
Rev | Line | |
---|
[23882] | 1 | # $Id: Makefile.in,v 1.9 2009-06-01 21:04:59 zacheiss Exp $ |
---|
[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 | LIBS=@SQL_LIBS@ @LIBS@ |
---|
| 19 | MR_LIBDEP=@MR_LIBDEP@ |
---|
| 20 | INSTALL=@INSTALL@ |
---|
| 21 | INSTALL_PROGRAM=@INSTALL_PROGRAM@ |
---|
| 22 | |
---|
| 23 | srcdir=@srcdir@ |
---|
| 24 | VPATH=@srcdir@ |
---|
| 25 | SRCTOP=@top_srcdir@ |
---|
[23882] | 26 | top_builddir=@top_builddir@ |
---|
[23095] | 27 | BUILDTOP=.. |
---|
| 28 | mrbindir=@mrbindir@ |
---|
| 29 | |
---|
[23882] | 30 | DBCK_OBJS=dbck.lo fix.lo phase1.lo phase2.lo phase3.lo phase4.lo |
---|
| 31 | MEMBERS_OBJS=members.lo |
---|
[23095] | 32 | OBJS= $(DBCK_OBJS) $(MEMBERS_OBJS) |
---|
| 33 | |
---|
| 34 | CFILES=dbck.c fix.c phase1.c phase2.c phase3.c phase4.c members.c |
---|
| 35 | |
---|
| 36 | TARGET=dbck members |
---|
| 37 | |
---|
[23882] | 38 | .SUFFIXES: .pc .lo |
---|
[23095] | 39 | |
---|
| 40 | .pc.c: |
---|
| 41 | $(PRO_C) $(PRO_C_FLAGS) INAME=$< ONAME=$@ |
---|
| 42 | |
---|
[23882] | 43 | .c.lo: |
---|
| 44 | $(LIBTOOL) --mode=compile $(CC) -c $(ALL_CFLAGS) $< |
---|
[23095] | 45 | |
---|
| 46 | all: $(TARGET) |
---|
| 47 | |
---|
| 48 | clean: |
---|
[23882] | 49 | $(LIBTOOL) --mode=clean rm -f $(OBJS) $(CFILES) $(TARGET) |
---|
[23095] | 50 | |
---|
| 51 | cleandir distclean: clean |
---|
| 52 | rm -f Makefile |
---|
| 53 | |
---|
| 54 | depend: $(CFILES) |
---|
| 55 | |
---|
| 56 | install: |
---|
[23882] | 57 | $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) dbck $(DESTDIR)$(mrbindir) |
---|
| 58 | $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) members $(DESTDIR)$(mrbindir) |
---|
[23095] | 59 | |
---|
| 60 | dbck: $(DBCK_OBJS) $(MR_LIBDEP) |
---|
[23882] | 61 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) $(DBCK_OBJS) $(LIBS) |
---|
[23095] | 62 | |
---|
[23882] | 63 | members: $(MEMBERS_OBJS) $(MR_LIBDEP) |
---|
| 64 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) $(MEMBERS_OBJS) $(LIBS) |
---|
[23095] | 65 | |
---|
| 66 | |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | |
---|
Note: See
TracBrowser
for help on using the repository browser.