*** empty log message ***
[coreutils.git] / lib / Makefile.am
blobf58efe5682874088be00765c4a8efe51b0bf0fbf
1 ## Process this file with automake to produce Makefile.in -*-Makefile-*-
3 AUTOMAKE_OPTIONS = ../src/ansi2knr
5 noinst_LIBRARIES = libfu.a
7 INCLUDES = -I.. -I$(srcdir) -I../intl
9 libfu_a_SOURCES = getdate.y posixtm.c getopt.c getopt1.c \
10 addext.c argmatch.c backupfile.c basename.c \
11 closeout.c dirname.c exclude.c filemode.c \
12 full-write.c human.c idcache.c \
13 isdir.c long-options.c makepath.c modechange.c hash.c path-concat.c \
14 quotearg.c safe-read.c same.c save-cwd.c savedir.c stripslash.c userspec.c \
15 version-etc.c xgetcwd.c xmalloc.c xstrdup.c \
16 xstrtol.c xstrtoul.c xstrtoumax.c yesno.c
18 libfu_a_LIBADD = @LIBOBJS@ @ALLOCA@
19 libfu_a_DEPENDENCIES = $(libfu_a_LIBADD)
21 noinst_HEADERS = argmatch.h backupfile.h closeout.h \
22 dirname.h error.h exclude.h filemode.h fnmatch.h fsusage.h \
23 getdate.h getline.h getopt.h getpagesize.h \
24 group-member.h human.h lchown.h long-options.h \
25 makepath.h modechange.h mountlist.h hash.h path-concat.h pathmax.h \
26 posixtm.h quotearg.h regex.h safe-read.h same.h save-cwd.h \
27 savedir.h strverscmp.h \
28 version-etc.h xalloc.h xstrtol.h
30 BUILT_SOURCES = getdate.c lstat.c stat.c
31 MAINTAINERCLEANFILES = $(BUILT_SOURCES)
32 DISTCLEANFILES = lstat.c stat.c
34 EXTRA_DIST = xstat.in
35 lstat.c: xstat.in
36         sed \
37           -e '/@IGNORE@/d' \
38           -e 's/@xstat@/lstat/g' \
39           -e '/_LSTAT_ONLY@/d' \
40           -e '/@BEGIN_STAT_ONLY@/,/@END_STAT_ONLY@/d' \
41           $(srcdir)/xstat.in > $@-t
42         mv $@-t $@
44 stat.c: xstat.in
45         sed \
46           -e '/@IGNORE@/d' \
47           -e 's/@xstat@/stat/g' \
48           -e '/_STAT_ONLY@/d' \
49           -e '/@BEGIN_LSTAT_ONLY@/,/@END_LSTAT_ONLY@/d' \
50           $(srcdir)/xstat.in > $@-t
51         mv $@-t $@