Revision 23882,
1.6 KB
checked in by broder, 16 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.11 2009-06-01 21:04:58 zacheiss Exp $ |
---|
2 | |
---|
3 | SHELL=/bin/sh |
---|
4 | @SET_MAKE@ |
---|
5 | |
---|
6 | CC=@CC@ |
---|
7 | CPPFLAGS=@CPPFLAGS@ @CURSES_CPPFLAGS@ |
---|
8 | CFLAGS=@CFLAGS@ |
---|
9 | DEFS=@DEFS@ |
---|
10 | ALL_CFLAGS=$(CPPFLAGS) $(CFLAGS) $(DEFS) |
---|
11 | LIBTOOL=@LIBTOOL@ |
---|
12 | LDFLAGS=@LDFLAGS@ |
---|
13 | LIBS=../lib/libmrclient.a @CURSES_LIBS@ @LIBS@ |
---|
14 | MR_LIBDEP=@MR_LIBDEP@ |
---|
15 | INSTALL=@INSTALL@ |
---|
16 | INSTALL_PROGRAM=@INSTALL_PROGRAM@ |
---|
17 | |
---|
18 | srcdir=@srcdir@ |
---|
19 | VPATH=@srcdir@ |
---|
20 | SRCTOP=@top_srcdir@ |
---|
21 | top_builddir=@top_builddir@ |
---|
22 | BUILDTOP=../.. |
---|
23 | prefix=@prefix@ |
---|
24 | exec_prefix=@exec_prefix@ |
---|
25 | bindir=@bindir@ |
---|
26 | |
---|
27 | MOBJS= acl.lo attach.lo cluster.lo delete.lo globals.lo lists.lo main.lo menu.lo \ |
---|
28 | menus.lo nfs.lo pobox.lo quota.lo user.lo utils.lo dcmmaint.lo printer.lo \ |
---|
29 | misc.lo zephyr.lo |
---|
30 | NOBJS= namespace.lo globals.lo lists.lo menu.lo pobox.lo user.lo utils.lo misc.lo |
---|
31 | OBJS= ${MOBJS} ${NOBJS} |
---|
32 | |
---|
33 | TARGET=moira namespace |
---|
34 | |
---|
35 | .SUFFIXES: .lo |
---|
36 | |
---|
37 | .c.lo: |
---|
38 | $(LIBTOOL) --mode=compile $(CC) -c $(ALL_CFLAGS) $< |
---|
39 | |
---|
40 | all: $(TARGET) |
---|
41 | |
---|
42 | clean: |
---|
43 | $(LIBTOOL) --mode=clean rm -f $(OBJS) $(TARGET) |
---|
44 | |
---|
45 | cleandir distclean: clean |
---|
46 | rm -f Makefile |
---|
47 | |
---|
48 | depend: |
---|
49 | |
---|
50 | install: all |
---|
51 | $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) namespace $(DESTDIR)$(bindir) |
---|
52 | $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) moira $(DESTDIR)$(bindir) |
---|
53 | rm -f $(DESTDIR)$(bindir)/listmaint |
---|
54 | ln -s moira $(DESTDIR)$(bindir)/listmaint |
---|
55 | rm -f $(DESTDIR)$(bindir)/dcmmaint |
---|
56 | ln -s moira $(DESTDIR)$(bindir)/dcmmaint |
---|
57 | rm -f $(DESTDIR)$(bindir)/usermaint |
---|
58 | ln -s moira $(DESTDIR)$(bindir)/usermaint |
---|
59 | |
---|
60 | moira: $(MOBJS) ../lib/libmrclient.a $(MR_LIBDEP) |
---|
61 | $(LIBTOOL) --mode=link $(CC) -o $@ $(LDFLAGS) $(MOBJS) $(LIBS) |
---|
62 | |
---|
63 | namespace: $(NOBJS) ../lib/libmrclient.a $(MR_LIBDEP) |
---|
64 | $(LIBTOOL) --mode=link $(CC) -o $@ $(LDFLAGS) $(NOBJS) $(LIBS) |
---|
Note: See
TracBrowser
for help on using the repository browser.