]> andersk Git - moira.git/blobdiff - incremental/afs/Makefile.in
Build shared libmoira via libtool.
[moira.git] / incremental / afs / Makefile.in
index e78a9cd201d33b9ffdb1b00500263da43be92180..61196162aa969b49d810cb510ea7a7619004b667 100644 (file)
@@ -9,9 +9,9 @@ AFS_CPPFLAGS=@AFS_CPPFLAGS@
 CFLAGS=@CFLAGS@
 DEFS=@DEFS@
 ALL_CFLAGS=$(CPPFLAGS) $(AFS_CPPFLAGS) $(CFLAGS) $(DEFS)
+LIBTOOL=@LIBTOOL@
 LDFLAGS=@LDFLAGS@
 AFS_LIBS=@AFS_LIBS@
-AFS_EXTRA_LIBS=@AFS_EXTRA_LIBS@
 AFS_DIR=@AFS_DIR@
 LIBS=@LIBS@
 MR_LIBDEP=@MR_LIBDEP@
@@ -21,25 +21,26 @@ INSTALL_PROGRAM=@INSTALL_PROGRAM@
 srcdir=@srcdir@
 VPATH=@srcdir@
 SRCTOP=@top_srcdir@
+top_builddir=@top_builddir@
 BUILDTOP=../..
 mrbindir=@mrbindir@
 
-AFS_OBJS=afs.o
+AFS_OBJS=afs.lo
 
 TARGET=afs.incr
 
-.SUFFIXES: .pc
+.SUFFIXES: .pc .lo
 
 .pc.c:
        $(PRO_C) $(PRO_C_FLAGS) INAME=$<
 
-.c.o:
-       $(CC) -c $(ALL_CFLAGS) $<
+.c.lo:
+       $(LIBTOOL) --mode=compile $(CC) -c $(ALL_CFLAGS) $<
 
 all: $(TARGET)
 
 clean:
-       rm -f $(AFS_OBJS) $(TARGET)
+       $(LIBTOOL) --mode=clean rm -f $(AFS_OBJS) $(TARGET)
 
 cleandir distclean: clean
        rm -f Makefile
@@ -47,10 +48,10 @@ cleandir distclean: clean
 depend:
 
 install:
-       $(INSTALL_PROGRAM) afs.incr $(mrbindir)
-       @set -x; for p in afs_create.pl afs_nightly.pl afs_quota.pl afs_rename.pl afs_utils.pl; do $(INSTALL_PROGRAM) $$p $(mrbindir); done
+       $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) afs.incr $(DESTDIR)$(mrbindir)
+       @set -x; for p in afs_create.pl afs_nightly.pl afs_quota.pl afs_rename.pl afs_utils.pl; do $(INSTALL_PROGRAM) $$p $(DESTDIR)$(mrbindir); done
 
 afs.incr: $(AFS_OBJS) $(MR_LIBDEP)
-       $(CC) -o $@ $(LDFLAGS) $(AFS_OBJS) $(AFS_LIBS) -lprot -lauth \
+       $(LIBTOOL) --mode=link $(CC) -o $@ $(LDFLAGS) $(AFS_OBJS) $(AFS_LIBS) -lprot -lauth \
        -lrxkad -ldes -lrx -llwp -lubik -lsys -laudit \
-       $(AFS_DIR)/lib/afs/util.a $(AFS_EXTRA_LIBS) $(LIBS)
+       $(AFS_DIR)/lib/afs/util.a $(LIBS)
This page took 1.434748 seconds and 4 git commands to generate.