X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2FMakefile.in;h=490e16e040bb7ea5e2a752cc40753d6a0b3b244f;hb=25ee20d5b3b14ecbd5ddd70140f614c4622e8a49;hp=880f76af80f5ab68adf697ea2ac8e46e2a31bd95;hpb=e29fbaee8afd6fd9b6c0291562740807ca11a0c6;p=gnulib.git diff --git a/lib/Makefile.in b/lib/Makefile.in index 880f76af8..490e16e04 100644 --- a/lib/Makefile.in +++ b/lib/Makefile.in @@ -10,7 +10,6 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. - SHELL = @SHELL@ srcdir = @srcdir@ @@ -58,6 +57,10 @@ POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : +host_alias = @host_alias@ +host_triplet = @host@ +AMTAR = @AMTAR@ +AMTARFLAGS = @AMTARFLAGS@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ @@ -65,8 +68,10 @@ CPP = @CPP@ DATADIRNAME = @DATADIRNAME@ DF_PROG = @DF_PROG@ GENCAT = @GENCAT@ +GETCONF = @GETCONF@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ +GNU_PACKAGE = @GNU_PACKAGE@ GT_NO = @GT_NO@ GT_YES = @GT_YES@ INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@ @@ -91,24 +96,39 @@ VERSION = @VERSION@ YACC = @YACC@ l = @l@ + AUTOMAKE_OPTIONS = ../src/ansi2knr noinst_LIBRARIES = libfu.a INCLUDES = -I.. -I$(srcdir) -I../intl -libfu_a_SOURCES = getdate.y posixtm.c getopt.c getopt1.c addext.c argmatch.c backupfile.c basename.c closeout.c dirname.c exclude.c filemode.c full-write.c human.c idcache.c isdir.c long-options.c makepath.c modechange.c hash.c path-concat.c quotearg.c safe-read.c save-cwd.c savedir.c stripslash.c userspec.c xgetcwd.c xmalloc.c xstrdup.c xstrtol.c xstrtoul.c yesno.c +libfu_a_SOURCES = getdate.y posixtm.c getopt.c getopt1.c \ +addext.c argmatch.c backupfile.c basename.c \ +closeout.c dirname.c exclude.c filemode.c \ +full-write.c human.c idcache.c \ +isdir.c long-options.c makepath.c modechange.c hash.c path-concat.c \ +quotearg.c safe-read.c same.c save-cwd.c savedir.c stripslash.c userspec.c \ +version-etc.c xgetcwd.c xmalloc.c xstrdup.c \ +xstrtol.c xstrtoul.c xstrtoumax.c yesno.c libfu_a_LIBADD = @LIBOBJS@ @ALLOCA@ libfu_a_DEPENDENCIES = $(libfu_a_LIBADD) -noinst_HEADERS = argmatch.h backupfile.h closeout.h dirname.h error.h exclude.h filemode.h fnmatch.h fsusage.h getdate.h getline.h getopt.h group-member.h human.h lchown.h long-options.h makepath.h modechange.h mountlist.h hash.h path-concat.h pathmax.h posixtm.h quotearg.h regex.h safe-read.h save-cwd.h savedir.h strverscmp.h xalloc.h xstrtol.h xstrtoul.h +noinst_HEADERS = argmatch.h backupfile.h closeout.h \ +dirname.h error.h exclude.h filemode.h fnmatch.h fsusage.h \ +getdate.h getline.h getopt.h group-member.h human.h lchown.h long-options.h \ +makepath.h modechange.h mountlist.h hash.h path-concat.h pathmax.h \ +posixtm.h quotearg.h regex.h safe-read.h same.h save-cwd.h \ +savedir.h strverscmp.h \ +version-etc.h xalloc.h xstrtol.h BUILT_SOURCES = getdate.c lstat.c stat.c EXTRA_DIST = xstat.in +subdir = lib mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../config.h CONFIG_CLEAN_FILES = @@ -120,57 +140,63 @@ CPPFLAGS = @CPPFLAGS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ ANSI2KNR = ../src/ansi2knr -libfu_a_OBJECTS = getdate$U.o posixtm$U.o getopt$U.o getopt1$U.o \ +libfu_a_AR = $(AR) cru +am_libfu_a_OBJECTS = getdate$U.o posixtm$U.o getopt$U.o getopt1$U.o \ addext$U.o argmatch$U.o backupfile$U.o basename$U.o closeout$U.o \ dirname$U.o exclude$U.o filemode$U.o full-write$U.o human$U.o \ idcache$U.o isdir$U.o long-options$U.o makepath$U.o modechange$U.o \ -hash$U.o path-concat$U.o quotearg$U.o safe-read$U.o save-cwd$U.o \ -savedir$U.o stripslash$U.o userspec$U.o xgetcwd$U.o xmalloc$U.o \ -xstrdup$U.o xstrtol$U.o xstrtoul$U.o yesno$U.o +hash$U.o path-concat$U.o quotearg$U.o safe-read$U.o same$U.o \ +save-cwd$U.o savedir$U.o stripslash$U.o userspec$U.o version-etc$U.o \ +xgetcwd$U.o xmalloc$U.o xstrdup$U.o xstrtol$U.o xstrtoul$U.o \ +xstrtoumax$U.o yesno$U.o +libfu_a_OBJECTS = $(am_libfu_a_OBJECTS) AR = ar -CFLAGS = @CFLAGS@ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CFLAGS = @CFLAGS@ CCLD = $(CC) -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +DIST_SOURCES = $(libfu_a_SOURCES) HEADERS = $(noinst_HEADERS) -DIST_COMMON = Makefile.am Makefile.in TODO alloca.c chown.c error.c \ -error.h euidaccess.c fileblocks.c fnmatch.c fsusage.c ftruncate.c \ -getdate.c getgroups.c getline.c group-member.c lchown.c lstat.c \ -malloc.c memcmp.c memcpy.c memset.c mkdir.c mktime.c mountlist.c \ -obstack.c obstack.h realloc.c regex.c rename.c rmdir.c rpmatch.c stat.c \ -stpcpy.c strcasecmp.c strdup.c strftime.c strncasecmp.c strndup.c \ -strstr.c strtol.c strtoul.c strverscmp.c utime.c +DIST_COMMON = $(noinst_HEADERS) Makefile.am Makefile.in TODO alloca.c \ +chown.c dup2.c error.c error.h euidaccess.c fileblocks.c fnmatch.c \ +fsusage.c ftruncate.c getdate.c getgroups.c getline.c group-member.c \ +lchown.c malloc.c memcmp.c memcpy.c memset.c mkdir.c mktime.c \ +mountlist.c obstack.c obstack.h realloc.c regex.c rename.c rmdir.c \ +rpmatch.c stpcpy.c strcasecmp.c strdup.c strftime.c strncasecmp.c \ +strndup.c strstr.c strtol.c strtoul.c strtoull.c strtoumax.c \ +strverscmp.c utime.c -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -TAR = gtar GZIP_ENV = --best DEP_FILES = .deps/addext.P .deps/alloca.P .deps/argmatch.P \ .deps/backupfile.P .deps/basename.P .deps/chown.P .deps/closeout.P \ -.deps/dirname.P .deps/error.P .deps/euidaccess.P .deps/exclude.P \ -.deps/fileblocks.P .deps/filemode.P .deps/fnmatch.P .deps/fsusage.P \ -.deps/ftruncate.P .deps/full-write.P .deps/getdate.P .deps/getgroups.P \ -.deps/getline.P .deps/getopt.P .deps/getopt1.P .deps/group-member.P \ -.deps/hash.P .deps/human.P .deps/idcache.P .deps/isdir.P .deps/lchown.P \ -.deps/long-options.P .deps/lstat.P .deps/makepath.P .deps/malloc.P \ -.deps/memcmp.P .deps/memcpy.P .deps/memset.P .deps/mkdir.P \ -.deps/mktime.P .deps/modechange.P .deps/mountlist.P .deps/obstack.P \ -.deps/path-concat.P .deps/posixtm.P .deps/quotearg.P .deps/realloc.P \ -.deps/regex.P .deps/rename.P .deps/rmdir.P .deps/rpmatch.P \ -.deps/safe-read.P .deps/save-cwd.P .deps/savedir.P .deps/stat.P \ -.deps/stpcpy.P .deps/strcasecmp.P .deps/strdup.P .deps/strftime.P \ -.deps/stripslash.P .deps/strncasecmp.P .deps/strndup.P .deps/strstr.P \ -.deps/strtol.P .deps/strtoul.P .deps/strverscmp.P .deps/userspec.P \ -.deps/utime.P .deps/xgetcwd.P .deps/xmalloc.P .deps/xstrdup.P \ -.deps/xstrtol.P .deps/xstrtoul.P .deps/yesno.P +.deps/dirname.P .deps/dup2.P .deps/error.P .deps/euidaccess.P \ +.deps/exclude.P .deps/fileblocks.P .deps/filemode.P .deps/fnmatch.P \ +.deps/fsusage.P .deps/ftruncate.P .deps/full-write.P .deps/getdate.P \ +.deps/getgroups.P .deps/getline.P .deps/getopt.P .deps/getopt1.P \ +.deps/group-member.P .deps/hash.P .deps/human.P .deps/idcache.P \ +.deps/isdir.P .deps/lchown.P .deps/long-options.P .deps/lstat.P \ +.deps/makepath.P .deps/malloc.P .deps/memcmp.P .deps/memcpy.P \ +.deps/memset.P .deps/mkdir.P .deps/mktime.P .deps/modechange.P \ +.deps/mountlist.P .deps/obstack.P .deps/path-concat.P .deps/posixtm.P \ +.deps/quotearg.P .deps/realloc.P .deps/regex.P .deps/rename.P \ +.deps/rmdir.P .deps/rpmatch.P .deps/safe-read.P .deps/same.P \ +.deps/save-cwd.P .deps/savedir.P .deps/stat.P .deps/stpcpy.P \ +.deps/strcasecmp.P .deps/strdup.P .deps/strftime.P .deps/stripslash.P \ +.deps/strncasecmp.P .deps/strndup.P .deps/strstr.P .deps/strtol.P \ +.deps/strtoul.P .deps/strtoull.P .deps/strtoumax.P .deps/strverscmp.P \ +.deps/userspec.P .deps/utime.P .deps/version-etc.P .deps/xgetcwd.P \ +.deps/xmalloc.P .deps/xstrdup.P .deps/xstrtol.P .deps/xstrtoul.P \ +.deps/xstrtoumax.P .deps/yesno.P SOURCES = $(libfu_a_SOURCES) -OBJECTS = $(libfu_a_OBJECTS) +OBJECTS = $(am_libfu_a_OBJECTS) all: all-redirect .SUFFIXES: -.SUFFIXES: .S .c .o .s .y +.SUFFIXES: .c .o .y $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOMAKE) --gnits lib/Makefile @@ -188,12 +214,6 @@ distclean-noinstLIBRARIES: maintainer-clean-noinstLIBRARIES: -.s.o: - $(COMPILE) -c $< - -.S.o: - $(COMPILE) -c $< - mostlyclean-compile: -rm -f *.o core *.core @@ -221,8 +241,10 @@ maintainer-clean-kr: libfu.a: $(libfu_a_OBJECTS) $(libfu_a_DEPENDENCIES) -rm -f libfu.a - $(AR) cru libfu.a $(libfu_a_OBJECTS) $(libfu_a_LIBADD) + $(libfu_a_AR) libfu.a $(libfu_a_OBJECTS) $(libfu_a_LIBADD) $(RANLIB) libfu.a +.c.o: + $(COMPILE) -c $< addext_.c: addext.c $(ANSI2KNR) $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/addext.c; then echo $(srcdir)/addext.c; else echo addext.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > addext_.c alloca_.c: alloca.c $(ANSI2KNR) @@ -239,6 +261,8 @@ closeout_.c: closeout.c $(ANSI2KNR) $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/closeout.c; then echo $(srcdir)/closeout.c; else echo closeout.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > closeout_.c dirname_.c: dirname.c $(ANSI2KNR) $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/dirname.c; then echo $(srcdir)/dirname.c; else echo dirname.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > dirname_.c +dup2_.c: dup2.c $(ANSI2KNR) + $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/dup2.c; then echo $(srcdir)/dup2.c; else echo dup2.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > dup2_.c error_.c: error.c $(ANSI2KNR) $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/error.c; then echo $(srcdir)/error.c; else echo error.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > error_.c euidaccess_.c: euidaccess.c $(ANSI2KNR) @@ -321,6 +345,8 @@ rpmatch_.c: rpmatch.c $(ANSI2KNR) $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/rpmatch.c; then echo $(srcdir)/rpmatch.c; else echo rpmatch.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > rpmatch_.c safe-read_.c: safe-read.c $(ANSI2KNR) $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/safe-read.c; then echo $(srcdir)/safe-read.c; else echo safe-read.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > safe-read_.c +same_.c: same.c $(ANSI2KNR) + $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/same.c; then echo $(srcdir)/same.c; else echo same.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > same_.c save-cwd_.c: save-cwd.c $(ANSI2KNR) $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/save-cwd.c; then echo $(srcdir)/save-cwd.c; else echo save-cwd.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > save-cwd_.c savedir_.c: savedir.c $(ANSI2KNR) @@ -347,12 +373,18 @@ strtol_.c: strtol.c $(ANSI2KNR) $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/strtol.c; then echo $(srcdir)/strtol.c; else echo strtol.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > strtol_.c strtoul_.c: strtoul.c $(ANSI2KNR) $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/strtoul.c; then echo $(srcdir)/strtoul.c; else echo strtoul.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > strtoul_.c +strtoull_.c: strtoull.c $(ANSI2KNR) + $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/strtoull.c; then echo $(srcdir)/strtoull.c; else echo strtoull.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > strtoull_.c +strtoumax_.c: strtoumax.c $(ANSI2KNR) + $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/strtoumax.c; then echo $(srcdir)/strtoumax.c; else echo strtoumax.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > strtoumax_.c strverscmp_.c: strverscmp.c $(ANSI2KNR) $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/strverscmp.c; then echo $(srcdir)/strverscmp.c; else echo strverscmp.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > strverscmp_.c userspec_.c: userspec.c $(ANSI2KNR) $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/userspec.c; then echo $(srcdir)/userspec.c; else echo userspec.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > userspec_.c utime_.c: utime.c $(ANSI2KNR) $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/utime.c; then echo $(srcdir)/utime.c; else echo utime.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > utime_.c +version-etc_.c: version-etc.c $(ANSI2KNR) + $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/version-etc.c; then echo $(srcdir)/version-etc.c; else echo version-etc.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > version-etc_.c xgetcwd_.c: xgetcwd.c $(ANSI2KNR) $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/xgetcwd.c; then echo $(srcdir)/xgetcwd.c; else echo xgetcwd.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > xgetcwd_.c xmalloc_.c: xmalloc.c $(ANSI2KNR) @@ -363,26 +395,29 @@ xstrtol_.c: xstrtol.c $(ANSI2KNR) $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/xstrtol.c; then echo $(srcdir)/xstrtol.c; else echo xstrtol.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > xstrtol_.c xstrtoul_.c: xstrtoul.c $(ANSI2KNR) $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/xstrtoul.c; then echo $(srcdir)/xstrtoul.c; else echo xstrtoul.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > xstrtoul_.c +xstrtoumax_.c: xstrtoumax.c $(ANSI2KNR) + $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/xstrtoumax.c; then echo $(srcdir)/xstrtoumax.c; else echo xstrtoumax.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > xstrtoumax_.c yesno_.c: yesno.c $(ANSI2KNR) $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/yesno.c; then echo $(srcdir)/yesno.c; else echo yesno.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > yesno_.c addext_.o alloca_.o argmatch_.o backupfile_.o basename_.o chown_.o \ -closeout_.o dirname_.o error_.o euidaccess_.o exclude_.o fileblocks_.o \ -filemode_.o fnmatch_.o fsusage_.o ftruncate_.o full-write_.o getdate_.o \ -getgroups_.o getline_.o getopt_.o getopt1_.o group-member_.o hash_.o \ -human_.o idcache_.o isdir_.o lchown_.o long-options_.o lstat_.o \ -makepath_.o malloc_.o memcmp_.o memcpy_.o memset_.o mkdir_.o mktime_.o \ -modechange_.o mountlist_.o obstack_.o path-concat_.o posixtm_.o \ -quotearg_.o realloc_.o regex_.o rename_.o rmdir_.o rpmatch_.o \ -safe-read_.o save-cwd_.o savedir_.o stat_.o stpcpy_.o strcasecmp_.o \ -strdup_.o strftime_.o stripslash_.o strncasecmp_.o strndup_.o strstr_.o \ -strtol_.o strtoul_.o strverscmp_.o userspec_.o utime_.o xgetcwd_.o \ -xmalloc_.o xstrdup_.o xstrtol_.o xstrtoul_.o yesno_.o : $(ANSI2KNR) +closeout_.o dirname_.o dup2_.o error_.o euidaccess_.o exclude_.o \ +fileblocks_.o filemode_.o fnmatch_.o fsusage_.o ftruncate_.o \ +full-write_.o getdate_.o getgroups_.o getline_.o getopt_.o getopt1_.o \ +group-member_.o hash_.o human_.o idcache_.o isdir_.o lchown_.o \ +long-options_.o lstat_.o makepath_.o malloc_.o memcmp_.o memcpy_.o \ +memset_.o mkdir_.o mktime_.o modechange_.o mountlist_.o obstack_.o \ +path-concat_.o posixtm_.o quotearg_.o realloc_.o regex_.o rename_.o \ +rmdir_.o rpmatch_.o safe-read_.o same_.o save-cwd_.o savedir_.o stat_.o \ +stpcpy_.o strcasecmp_.o strdup_.o strftime_.o stripslash_.o \ +strncasecmp_.o strndup_.o strstr_.o strtol_.o strtoul_.o strtoull_.o \ +strtoumax_.o strverscmp_.o userspec_.o utime_.o version-etc_.o \ +xgetcwd_.o xmalloc_.o xstrdup_.o xstrtol_.o xstrtoul_.o xstrtoumax_.o \ +yesno_.o : $(ANSI2KNR) .y.c: $(YACC) $(AM_YFLAGS) $(YFLAGS) $< && mv y.tab.c $*.c if test -f y.tab.h; then \ if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \ else :; fi -getdate.h: getdate.c tags: TAGS @@ -416,8 +451,6 @@ maintainer-clean-tags: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) -subdir = lib - distdir: $(DISTFILES) here=`cd $(top_builddir) && pwd`; \ top_distdir=`cd $(top_distdir) && pwd`; \ @@ -435,6 +468,7 @@ distdir: $(DISTFILES) fi; \ done + DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) -include $(DEP_FILES) @@ -449,23 +483,23 @@ distclean-depend: maintainer-clean-depend: %.o: %.c - @echo '$(COMPILE) -c $<'; \ - $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< - @-cp .deps/$(*F).pp .deps/$(*F).P; \ - tr ' ' '\012' < .deps/$(*F).pp \ + @echo '$(COMPILE) -c -o $@ $<'; \ + $(COMPILE) -Wp,-MD,.deps/$(*D)/$(*F).pp -c -o $@ $< + @-cp .deps/$(*D)/$(*F).pp .deps/$(*D)/$(*F).P; \ + tr ' ' '\012' < .deps/$(*D)/$(*F).pp \ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ - >> .deps/$(*F).P; \ - rm .deps/$(*F).pp + >> .deps/$(*D)/$(*F).P; \ + rm .deps/$(*D)/$(*F).pp %.lo: %.c - @echo '$(LTCOMPILE) -c $<'; \ - $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< + @echo '$(LTCOMPILE) -c -o $@ $<'; \ + $(LTCOMPILE) -Wp,-MD,.deps/$(*D)/$(*F).pp -c -o $@ $< @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ - < .deps/$(*F).pp > .deps/$(*F).P; \ - tr ' ' '\012' < .deps/$(*F).pp \ + < .deps/$(*D)/$(*F).pp > .deps/$(*D)/$(*F).P; \ + tr ' ' '\012' < .deps/$(*D)/$(*F).pp \ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ - >> .deps/$(*F).P; \ - rm -f .deps/$(*F).pp + >> .deps/$(*D)/$(*F).P; \ + rm -f .deps/$(*D)/$(*F).pp info-am: info: info-am dvi-am: @@ -501,7 +535,7 @@ distclean-generic: -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: - -test -z "getdatehgetdatec$(BUILT_SOURCES)" || rm -f getdateh getdatec $(BUILT_SOURCES) + -test -z "getdate.c$(BUILT_SOURCES)" || rm -f getdate.c $(BUILT_SOURCES) mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \ mostlyclean-kr mostlyclean-tags mostlyclean-depend \ mostlyclean-generic @@ -537,7 +571,7 @@ maintainer-clean-tags distdir mostlyclean-depend distclean-depend \ clean-depend maintainer-clean-depend info-am info dvi-am dvi check \ check-am installcheck-am installcheck install-exec-am install-exec \ install-data-am install-data install-am install uninstall-am uninstall \ -all-redirect all-am all installdirs mostlyclean-generic \ +all-redirect all-am all install-strip installdirs mostlyclean-generic \ distclean-generic clean-generic maintainer-clean-generic clean \ mostlyclean distclean maintainer-clean