Revision 23882,
1.5 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 1.9 2009-06-01 21:04:59 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 | |
---|
31 | DCM_OBJS=dcm.lo |
---|
32 | UPDATE_OBJS=../update/checksum.lo ../update/client.lo ../update/send_file.lo \ |
---|
33 | ../update/ticket.lo ../update/sendrecv.lo |
---|
34 | START_OBJS=startdcm.lo |
---|
35 | |
---|
36 | CFILES=dcm.c |
---|
37 | |
---|
38 | TARGET=dcm startdcm |
---|
39 | |
---|
40 | .SUFFIXES: .pc .lo |
---|
41 | |
---|
42 | .pc.c: |
---|
43 | $(PRO_C) $(PRO_C_FLAGS) INAME=$< ONAME=$@ |
---|
44 | |
---|
45 | .c.lo: |
---|
46 | $(LIBTOOL) --mode=compile $(CC) -c $(ALL_CFLAGS) $< |
---|
47 | |
---|
48 | all: $(TARGET) |
---|
49 | |
---|
50 | clean: |
---|
51 | $(LIBTOOL) --mode=clean rm -f $(DCM_OBJS) $(START_OBJS) $(CFILES) $(TARGET) |
---|
52 | |
---|
53 | cleandir distclean: clean |
---|
54 | rm -f Makefile |
---|
55 | |
---|
56 | depend: $(CFILES) |
---|
57 | |
---|
58 | install: |
---|
59 | $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) dcm $(DESTDIR)$(mrbindir) |
---|
60 | $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) startdcm $(DESTDIR)$(mrbindir) |
---|
61 | |
---|
62 | dcm: $(DCM_OBJS) $(UPDATE_OBJS) $(MR_LIBDEP) |
---|
63 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) $(DCM_OBJS) $(UPDATE_OBJS) $(SQL_LIBS) $(LIBS) |
---|
64 | |
---|
65 | startdcm: $(START_OBJS) |
---|
66 | $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) $(START_OBJS) $(LIBS) |
---|
Note: See
TracBrowser
for help on using the repository browser.