X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/blobdiff_plain/9493bab87e21b36610c065804477530d51cd4af9..refs/heads/origin:/lib/Makefile.in diff --git a/lib/Makefile.in b/lib/Makefile.in index 86c5826e..804d1156 100644 --- a/lib/Makefile.in +++ b/lib/Makefile.in @@ -7,39 +7,53 @@ CPPFLAGS=@CPPFLAGS@ CFLAGS=@CFLAGS@ DEFS=@DEFS@ ALL_CFLAGS=$(CPPFLAGS) $(CFLAGS) $(DEFS) -RANLIB=@RANLIB@ COMPILE_ET=@COMPILE_ET@ +LIBTOOL=@LIBTOOL@ +LDFLAGS=@LDFLAGS@ +KLIBS=@KLIBS@ +ALL_LDFLAGS=$(LDFLAGS) $(KLIBS) + +INSTALL=@INSTALL@ +INSTALL_PROGRAM=@INSTALL_PROGRAM@ + srcdir=@srcdir@ VPATH=@srcdir@ SRCTOP=@top_srcdir@ BUILDTOP=.. +top_builddir=@top_builddir@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ -OBJS= critical.o fixhost.o fixname.o gdss_convert.o gdss_et.o \ - hash.o kname_unparse.o krb_et.o mr_access.o mr_auth.o \ - mr_call.o mr_connect.o mr_et.o mr_init.o mr_ops.o mr_query.o \ - nfsparttype.o sq.o strs.o ureg_err.o +OBJS= critical.lo fixhost.lo fixname.lo \ + hash.lo kname_unparse.lo kname_parse.lo krb_et.lo mr_access.lo mr_auth.lo \ + mr_call.lo mr_connect.lo mr_et.lo mr_init.lo mr_ops.lo mr_query.lo \ + nfsparttype.lo sq.lo strs.lo ureg_err.lo -ET_H= mr_et.h krb_et.h ureg_err.h gdss_et.h -ET_C= mr_et.c krb_et.c ureg_err.c gdss_et.c +ET_H= mr_et.h krb_et.h ureg_err.h +ET_C= mr_et.c krb_et.c ureg_err.c -.c.o: - $(CC) -c $(ALL_CFLAGS) $< +.c.lo: + $(LIBTOOL) --mode=compile $(CC) -c $(ALL_CFLAGS) $< -.SUFFIXES: .et +.SUFFIXES: .et .lo .et.c: $(COMPILE_ET) $< -all: depend libmoira.a +all: depend libmoira.la clean: - rm -f $(OBJS) $(ET_H) $(ET_C) libmoira.a + $(LIBTOOL) --mode=clean rm -f $(OBJS) $(ET_H) $(ET_C) libmoira.a + +cleandir distclean: clean + rm -f Makefile depend: $(ET_C) install: all + $(LIBTOOL) --mode=install $(INSTALL) libmoira.la $(DESTDIR)$(libdir)/libmoira.la -libmoira.a: $(OBJS) - ar cru $@ $(OBJS) - $(RANLIB) $@ +libmoira.la: $(OBJS) + $(LIBTOOL) --mode=link $(CC) $(ALL_LDFLAGS) -o $@ $(OBJS) -rpath $(libdir) -version-info 0:0:0