diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2006-06-27 07:19:30 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2006-06-27 07:19:30 +0000 |
commit | e2e5b6f7d320763ebced0ab30fd5c3dfd07b35b8 (patch) | |
tree | 657f9bc9fdea092f26f0c4c615470384817f0ee4 /lib | |
parent | b481bfba814543df63e796d002bb54b9d18124dd (diff) | |
download | anubis-e2e5b6f7d320763ebced0ab30fd5c3dfd07b35b8.tar.gz anubis-e2e5b6f7d320763ebced0ab30fd5c3dfd07b35b8.tar.bz2 |
Rewritten for automatic updates
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile.am | 70 |
1 files changed, 53 insertions, 17 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index d63b914..3203b6e 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -25,22 +25,58 @@ noinst_LIBRARIES = libanubis.a libanubis_a_SOURCES = argcv.c argcv.h +libanubis_a_LIBADD = $(LIBOBJS) -EXTRA_DIST = \ - getline.h \ - getopt.h \ - getopt.h \ - getopt.c \ - getopt1.c \ - gettext.h \ - lbuf.h \ - lbuf.c \ - obstack.h \ - obstack.c \ - setenv.c \ - snprintf.c - -libanubis_a_LIBADD = @LIBOBJS@ - -## EOF +EXTRA_DIST = gettext.h lbuf.c lbuf.h setenv.c +BUILT_SOURCES = +MOSTLYCLEANFILES = + +##:## EOF marker for bootstrap script. Please, do not remove ##:## +## Do not change anything below this line ## +# exit +libanubis_a_SOURCES += exit.h + +# exitfail + +# getdelim + +# getline + +# getopt +BUILT_SOURCES += $(GETOPT_H) +EXTRA_DIST += getopt_.h getopt_int.h + +# We need the following in order to create <getopt.h> when the system +# doesn't have one that works with the given compiler. +getopt.h: getopt_.h + cp $(srcdir)/getopt_.h $@-t + mv $@-t $@ +MOSTLYCLEANFILES += getopt.h getopt.h-t + +# getpass + +# gettext-h +libanubis_a_SOURCES += gettext.h + +# obstack + +# stdbool +BUILT_SOURCES += $(STDBOOL_H) +EXTRA_DIST += stdbool_.h + +# We need the following in order to create <stdbool.h> when the system +# doesn't have one that works. +stdbool.h: stdbool_.h + sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h > $@-t + mv $@-t $@ +MOSTLYCLEANFILES += stdbool.h stdbool.h-t + +# unistd +BUILT_SOURCES += $(UNISTD_H) + +# We need the following in order to create an empty placeholder for +# <unistd.h> when the system doesn't have one. +unistd.h: + echo '/* Empty placeholder for $@. */' >$@ +MOSTLYCLEANFILES += unistd.h |