X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2FMakefile.in;h=d80dee4f4e9de232709ade004bb7619cdb395443;hb=6b9607c0590a93ecbd2827492adf3fd3834e8f03;hp=834f23fde20966d957117ff16ddf289453a1d67f;hpb=47382600ac335d2e8b8b44a217d4b6d83ed51c7b;p=gnulib.git diff --git a/lib/Makefile.in b/lib/Makefile.in index 834f23fde..d80dee4f4 100644 --- a/lib/Makefile.in +++ b/lib/Makefile.in @@ -23,8 +23,13 @@ VPATH = @srcdir@ CC = @CC@ AR = ar RANLIB = @RANLIB@ -DEFS = @DEFS@ -CFLAGS = -g +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 \ @@ -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,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 @@ -108,5 +119,6 @@ modechange.o: modechange.h mountlist.o: mountlist.h xgetcwd.o: pathmax.h -# Prevent GNU make v3 from overflowing arg limit on SysV. +# Tell versions [3.59,3.63) of GNU make not to export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: