]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/findlib/Makefile.in
Update doc
[bacula/bacula] / bacula / src / findlib / Makefile.in
index be830fe1c18d07afc6f584adab31cf4252a71924..2c0e8538099e3ce741153432af5bbe4b24b32e9c 100644 (file)
@@ -20,11 +20,10 @@ first_rule: all
 dummy:
 
 #
-LIBSRCS = find.c match.c find_one.c
-LIBOBJS = find.o match.o find_one.o
-
-FINDSRCS = testfind.c
-FINDOBJS = testfind.o
+LIBSRCS = find.c match.c find_one.c attibs.c create_file.c \
+         makepath.c save-cwd.c
+LIBOBJS = find.o match.o find_one.o attribs.o create_file.o \
+         makepath.o save-cwd.o
 
 .SUFFIXES:     .c .o
 .PHONY:
@@ -39,13 +38,10 @@ all: Makefile libfind.a ../lib/libbac.a
        @echo " "
 
 libfind.a: $(LIBOBJS) 
-       $(RMF) libfind.a
-       $(AR) cru $@ $(LIBOBJS)
+       $(RMF) $@
+       $(AR) cr $@ $(LIBOBJS)
        $(RANLIB) $@
 
-testfind: libfind.a $(FINDOBJS)
-       $(CC) -g $(LDFLAGS) -L. -L../lib -o $@ $(FINDOBJS) $(LIBS) $(DLIB) -lfind -lbac -lm
-
 Makefile: $(srcdir)/Makefile.in $(topdir)/config.status
        cd $(topdir) \
          && CONFIG_FILES=$(thisdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
@@ -56,14 +52,14 @@ uninstall:
 
 
 clean:
-       $(RMF) find testfind core a.out *.a *.o *.bak *~ *.intpro *.extpro 1 2 3
+       $(RMF) find core a.out *.a *.o *.bak *~ *.intpro *.extpro 1 2 3
 
 realclean: clean
        $(RMF) tags
 
 distclean: realclean
        if test $(srcdir) = .; then $(MAKE) realclean; fi
-       (cd $(srcdir); $(RMF) Makefile)
+       (cd $(srcdir); $(RMF) Makefile; $(RMF) -r CVS)
 
 install: