1996-03-14 05:15:16 +00:00
|
|
|
## Process this file with automake to produce Makefile.in
|
1995-12-17 22:28:45 +00:00
|
|
|
noinst_LIBRARIES = fu
|
1995-12-08 20:18:40 +00:00
|
|
|
|
1996-07-21 17:11:10 +00:00
|
|
|
EXTRA_DIST = alloca.c basename.c error.c euidaccess.c fnmatch.c fsusage.c \
|
1996-10-01 17:57:04 +00:00
|
|
|
ftruncate.c getdate.y getline.c group-member.c memcmp.c memcpy.c memset.c \
|
1996-09-20 03:47:37 +00:00
|
|
|
mkdir.c mktime.c mountlist.c obstack.c posixtm.y regex.c rx.c \
|
|
|
|
|
rename.c rmdir.c rpmatch.c \
|
1996-06-25 05:05:43 +00:00
|
|
|
stpcpy.c strcasecmp.c strdup.c strndup.c strstr.c strtol.c strtoul.c
|
1995-12-08 20:18:40 +00:00
|
|
|
|
|
|
|
|
INCLUDES = -I.. -I$(srcdir)
|
1996-09-07 17:59:26 +00:00
|
|
|
INCLUDES = -I.. -I$(srcdir) -I../intl
|
1995-12-08 20:18:40 +00:00
|
|
|
|
1996-10-01 17:57:04 +00:00
|
|
|
fu_SOURCES = getdate.c getopt.c getopt1.c posixtm.c \
|
1996-09-20 03:14:17 +00:00
|
|
|
argmatch.c backupfile.c \
|
1996-07-21 17:11:10 +00:00
|
|
|
dirname.c fileblocks.c filemode.c \
|
1996-07-06 17:50:16 +00:00
|
|
|
full-write.c getversion.c idcache.c \
|
1996-09-20 03:47:37 +00:00
|
|
|
isdir.c long-options.c makepath.c modechange.c path-concat.c \
|
1996-02-01 03:43:49 +00:00
|
|
|
safe-read.c save-cwd.c savedir.c stripslash.c userspec.c xgetcwd.c \
|
|
|
|
|
xmalloc.c xstrdup.c xstrtol.c xstrtoul.c yesno.c
|
|
|
|
|
|
1995-12-08 20:18:40 +00:00
|
|
|
fu_LIBADD = @LIBOBJS@ @ALLOCA@
|
|
|
|
|
|
1996-02-28 05:10:05 +00:00
|
|
|
noinst_HEADERS = argmatch.h backupfile.h error.h fnmatch.h fsusage.h \
|
1996-06-25 05:05:43 +00:00
|
|
|
getline.h getopt.h group-member.h long-options.h makepath.h modechange.h \
|
1996-09-05 02:45:35 +00:00
|
|
|
mountlist.h obstack.h path-concat.h pathmax.h regex.h rx.h \
|
|
|
|
|
save-cwd.h xstrtol.h xstrtoul.h
|
1995-12-08 20:18:40 +00:00
|
|
|
|
1996-02-01 03:43:49 +00:00
|
|
|
BUILT_SOURCES = getdate.c posixtm.c
|
1995-12-08 20:18:40 +00:00
|
|
|
|
1996-02-01 03:43:49 +00:00
|
|
|
# Since this directory contains two parsers, we have to be careful to avoid
|
|
|
|
|
# running two $(YACC)s during parallel makes. See below.
|
1996-05-16 04:01:39 +00:00
|
|
|
getdate.c: @MAINT@getdate.y
|
1996-02-01 03:43:49 +00:00
|
|
|
@echo expect 10 shift/reduce conflicts
|
|
|
|
|
$(YACC) $(srcdir)/getdate.y
|
|
|
|
|
mv y.tab.c getdate.c
|
|
|
|
|
|
|
|
|
|
# Make the rename atomic, in case sed is interrupted and later rerun.
|
|
|
|
|
# The artificial dependency on getdate.c keeps the two parsers from being
|
|
|
|
|
# built in parallel. Enforcing this little bit of sequentiality lets
|
|
|
|
|
# everyone (even those without bison) still run mostly parallel builds.
|
1996-05-16 04:01:39 +00:00
|
|
|
posixtm.c: @MAINT@posixtm.y getdate.c
|
1996-02-01 03:43:49 +00:00
|
|
|
$(YACC) $(srcdir)/posixtm.y
|
|
|
|
|
mv y.tab.c posixtm.tab.c
|
|
|
|
|
sed -e 's/yy/zz/g' posixtm.tab.c > tposixtm.c
|
|
|
|
|
mv tposixtm.c posixtm.c
|
|
|
|
|
rm -f posixtm.tab.c
|