diff options
Diffstat (limited to 'gnu/usr.bin/binutils/libiberty/makefile.vms')
-rw-r--r-- | gnu/usr.bin/binutils/libiberty/makefile.vms | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/libiberty/makefile.vms b/gnu/usr.bin/binutils/libiberty/makefile.vms new file mode 100644 index 00000000000..5f908e85056 --- /dev/null +++ b/gnu/usr.bin/binutils/libiberty/makefile.vms @@ -0,0 +1,31 @@ +# +# Makefile for libiberty under openVMS/AXP +# +# For use with gnu-make for vms +# +# Created by Klaus Kämpf, kkaempf@progis.de +# +# +CC=gcc + +OBJS=bcopy.obj,bcmp.obj,getopt.obj,obstack.obj,xexit.obj,xmalloc.obj,hex.obj,\ + getopt1.obj,cplus-dem.obj,strncasecmp.obj,strcasecmp.obj,strdup.obj,\ + concat.obj,getruntime.obj,getpagesize.obj,alloca.obj,xstrerror.obj,\ + xstrdup.obj,xatexit.obj + +ifeq ($(CC),gcc) +CFLAGS=/include=([],[-.include]) +else +CFLAGS=/noopt/debug/include=([],[-.include])/define=("const=")/warnings=disable=(missingreturn,implicitfunc) +endif + +libiberty.olb: config.h alloca-conf.h $(OBJS) + purge + lib/create libiberty *.obj + +alloca-conf.h: alloca-norm.h + $(CP) $< $@ + +config.h: config.h-vms + $(CP) $< $@ + |