diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2003-11-24 16:53:24 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2003-11-24 16:53:24 +0000 |
commit | b8c5af11e363ad07183c65304d32063b7369d312 (patch) | |
tree | 403e0a760af9f98b8de1d6ba163df65f56976379 /gnu/lib | |
parent | 2ce5f5943abfd209245121d9549a626b014ba1e4 (diff) |
Add build pieces
Diffstat (limited to 'gnu/lib')
-rw-r--r-- | gnu/lib/libiberty/Makefile.bsd-wrapper | 38 | ||||
-rw-r--r-- | gnu/lib/libiberty/shlib_version | 2 |
2 files changed, 40 insertions, 0 deletions
diff --git a/gnu/lib/libiberty/Makefile.bsd-wrapper b/gnu/lib/libiberty/Makefile.bsd-wrapper new file mode 100644 index 00000000000..d77a378e5dc --- /dev/null +++ b/gnu/lib/libiberty/Makefile.bsd-wrapper @@ -0,0 +1,38 @@ +# $OpenBSD: Makefile.bsd-wrapper,v 1.1 2003/11/24 16:53:23 espie Exp $ + +LIB= iberty +CPPFLAGS+= -DHAVE_CONFIG_H -I$(.CURDIR) -I$(.CURDIR)/../include -I$(.OBJDIR) + +# XXX -- GNUism +# As we need to fill variables with contents of dynamically created files +# we must first see to that they are really generated. This is a hack that +# ensures this. The echo at the end is because make doesn't like command +# substitutions to not generate output. +.ifmake !obj && !clean && !cleandir +PREREQ!= test ! -f $(.OBJDIR)/needed-list && \ + (cd $(.CURDIR); \ + $(MAKE) -f Makefile.bsd-wrapper1 needed-list); \ + echo 'Prerequisites made' +HOST_FILES!= cat $(.OBJDIR)/needed-list +.endif + +SRCS= argv.c choose-temp.c concat.c cplus-dem.c dyn-string.c \ + fdmatch.c getopt.c getopt1.c getpwd.c getruntime.c \ + hashtab.c hex.c floatformat.c objalloc.c obstack.c \ + pexecute.c spaces.c splay-tree.c strerror.c strsignal.c \ + xatexit.c xexit.c xmalloc.c xstrerror.c xstrdup.c \ + $(HOST_FILES) + +# choose-temp.c fnmatch.c objalloc.c pexecute.c xstrdup.c \ +# basename.c vasprintf.c + +# XXX -- These files are generated during the PREREQ variable assignment. +CLEANFILES+= config.h config.status needed-list + +# XXX -- Why are these not removed by the generated Makefile? +CLEANFILES+= insque.o insque.go insque.po insque.so + +# and more +CLEANFILES+=Makefile config.cache config.log stamp-h xhost-mkfrag testsuite/Makefile + +.include <bsd.lib.mk> diff --git a/gnu/lib/libiberty/shlib_version b/gnu/lib/libiberty/shlib_version new file mode 100644 index 00000000000..3066b9771e7 --- /dev/null +++ b/gnu/lib/libiberty/shlib_version @@ -0,0 +1,2 @@ +major=5 +minor=0 |