source: trunk/third/findutils/lib/Makefile.am @ 18890

Revision 18890, 1.3 KB checked in by zacheiss, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18889, which included commits to RCS files with non-trunk default branches.
Line 
1AUTOMAKE_OPTIONS = ansi2knr
2SUBDIRS = posix
3noinst_LIBRARIES = libfind.a
4localedir = $(datadir)/locale
5INCLUDES = -I../intl -DLOCALEDIR=\"$(localedir)\"
6libfind_a_SOURCES = regex.h \
7                        argmatch.h \
8                        argmatch.c \
9                        basename.h \
10                        basename.c \
11                        dirname.c \
12                        dirname.h \
13                        filemode.c \
14                        filemode.h \
15                        getopt.c \
16                        getopt.h \
17                        getopt1.c \
18                        human.c \
19                        human.h \
20                        idcache.c \
21                        listfile.c \
22                        modechange.c \
23                        modechange.h \
24                        nextelem.c \
25                        pathmax.h \
26                        quotearg.c \
27                        quotearg.h \
28                        savedir.c \
29                        savedir.h \
30                        xmalloc.c \
31                        xalloc.h \
32                        xstrdup.c \
33                        xgetcwd.c \
34                        fnmatch.h \
35                        xstrtol.c \
36                        xstrtol.h \
37                        xstrtoul.c \
38                        xstrtoul.h \
39                        xstrtoumax.c \
40                        basename.c \
41                        yesno.c
42
43libfind_a_LIBADD = @LIBOBJS@ \
44                @ALLOCA@
45
46
47# Are these really needed?
48EXTRA_DIST = \
49                modetype.h \
50                mktime.c \
51                regex.c \
52                wait.h \
53                alloca.c \
54                getline.c \
55                getline.h \
56                xstat.in \
57                strcasecmp.c
58
59BUILT_SOURCES = lstat.c stat.c
60DISTCLEANFILES = lstat.c stat.c
61
62lstat.c: xstat.in
63        sed \
64          -e '/@IGNORE@/d' \
65          -e 's/@xstat@/lstat/g' \
66          -e '/_LSTAT_ONLY@/d' \
67          -e '/@BEGIN_STAT_ONLY@/,/@END_STAT_ONLY@/d' \
68          $(srcdir)/xstat.in > $@-t
69        mv $@-t $@
70
71stat.c: xstat.in
72        sed \
73          -e '/@IGNORE@/d' \
74          -e 's/@xstat@/stat/g' \
75          -e '/_STAT_ONLY@/d' \
76          -e '/@BEGIN_LSTAT_ONLY@/,/@END_LSTAT_ONLY@/d' \
77          $(srcdir)/xstat.in > $@-t
78        mv $@-t $@
Note: See TracBrowser for help on using the repository browser.