X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2FMakefile.in;h=d240f568e5fa5d87a30933a97bf33e2011db5843;hb=f35893155a31779fb14ba7da078eacd97254939e;hp=ae30a2df5a944130e4ac03106e6dc5c858bafbad;hpb=d325d46a84d5149b19a3d80a478f7e1786cf07f5;p=gnulib.git diff --git a/lib/Makefile.in b/lib/Makefile.in index ae30a2df5..d240f568e 100644 --- a/lib/Makefile.in +++ b/lib/Makefile.in @@ -23,8 +23,13 @@ VPATH = @srcdir@ CC = @CC@ AR = ar RANLIB = @RANLIB@ -DEFS = @DEFS@ +DEFS = -DMVDIR="\"$(libdir)/mvdir\"" @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 \ @@ -49,7 +54,7 @@ fnmatch.h fsusage.h mountlist.h pathmax.h system.h $(SOURCES) all: libfu.a .c.o: - $(CC) -c $(CPPFLAGS) $(DEFS) -I$(srcdir) $(CFLAGS) $< + $(CC) -c $(CPPFLAGS) $(DEFS) -I.. -I$(srcdir) $(CFLAGS) $< install: all @@ -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,8 @@ posixtm.c: posixtm.y getdate.c mv tposixtm.c posixtm.c rm -f posixtm.tab.c +$(OBJECTS): config.h + backupfile.o getversion.o: backupfile.h fnmatch.o: fnmatch.h fsusage.o: fsusage.h