merge with 3.8.4g
[gnulib.git] / lib / Makefile.in
index af3bf1c..d80dee4 100644 (file)
@@ -23,8 +23,13 @@ VPATH = @srcdir@
 CC = @CC@
 AR = ar
 RANLIB = @RANLIB@
-DEFS = @DEFS@
+DEFS = -DCONFIG_BROKETS @DEFS@
 CFLAGS = @CFLAGS@
+YACC = @YACC@
+
+prefix = /usr/local
+exec_prefix = $(prefix)
+libdir = $(exec_prefix)/lib
 
 SOURCES = getdate.y posixtm.y \
 argmatch.c backupfile.c basename.c dirname.c eaccess.c \
@@ -71,7 +76,7 @@ distclean: clean
 realclean: distclean
        rm -f TAGS
 
-dist:
+dist: $(DISTFILES)
        for file in $(DISTFILES); do \
          ln $$file ../`cat ../.fname`/lib \
            || cp -p $$file ../`cat ../.fname`/lib; \
@@ -100,6 +105,12 @@ posixtm.c: posixtm.y getdate.c
        mv tposixtm.c posixtm.c
        rm -f posixtm.tab.c
 
+rename.o: rename.c
+       $(CC) -c $(CPPFLAGS) -DMVDIR="\"$(libdir)/mvdir\"" $(DEFS) \
+           -I.. -I$(srcdir) $(CFLAGS) $(srcdir)/rename.c
+
+$(OBJECTS): ../config.h
+
 backupfile.o getversion.o: backupfile.h
 fnmatch.o: fnmatch.h
 fsusage.o: fsusage.h