source: trunk/third/moira/lib/Makefile.in @ 23882

Revision 23882, 1.2 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.7 2009-06-01 21:05:01 zacheiss Exp $
2
3SHELL=/bin/sh
4
5CC=@CC@
6CPPFLAGS=@CPPFLAGS@
7CFLAGS=@CFLAGS@
8DEFS=@DEFS@
9ALL_CFLAGS=$(CPPFLAGS) $(CFLAGS) $(DEFS)
10COMPILE_ET=@COMPILE_ET@
11
12LIBTOOL=@LIBTOOL@
13LDFLAGS=@LDFLAGS@
14KLIBS=@KLIBS@
15ALL_LDFLAGS=$(LDFLAGS) $(KLIBS)
16
17INSTALL=@INSTALL@
18INSTALL_PROGRAM=@INSTALL_PROGRAM@
19
20srcdir=@srcdir@
21VPATH=@srcdir@
22SRCTOP=@top_srcdir@
23BUILDTOP=..
24top_builddir=@top_builddir@
25prefix=@prefix@
26exec_prefix=@exec_prefix@
27libdir=@libdir@
28
29OBJS=   critical.lo fixhost.lo fixname.lo \
30        hash.lo kname_unparse.lo kname_parse.lo krb_et.lo mr_access.lo mr_auth.lo \
31        mr_call.lo mr_connect.lo mr_et.lo mr_init.lo mr_ops.lo mr_query.lo \
32        nfsparttype.lo sq.lo strs.lo ureg_err.lo
33
34ET_H=   mr_et.h krb_et.h ureg_err.h
35ET_C=   mr_et.c krb_et.c ureg_err.c
36
37.c.lo:
38        $(LIBTOOL) --mode=compile $(CC) -c $(ALL_CFLAGS) $<
39
40.SUFFIXES: .et .lo
41
42.et.c:
43        $(COMPILE_ET) $<
44
45all: depend libmoira.la
46
47clean:
48        $(LIBTOOL) --mode=clean rm -f $(OBJS) $(ET_H) $(ET_C) libmoira.a
49
50cleandir distclean: clean
51        rm -f Makefile
52
53depend: $(ET_C)
54
55install: all
56        $(LIBTOOL) --mode=install  $(INSTALL) libmoira.la $(DESTDIR)$(libdir)/libmoira.la
57
58libmoira.la: $(OBJS)
59        $(LIBTOOL) --mode=link $(CC) $(ALL_LDFLAGS) -o $@ $(OBJS) -rpath $(libdir) -version-info 0:0:0
Note: See TracBrowser for help on using the repository browser.