summaryrefslogtreecommitdiff
path: root/support/sdbinutils/libiberty/makefile.vms
diff options
context:
space:
mode:
authorXavier ASUS <xavi92psx@gmail.com>2019-10-18 00:31:54 +0200
committerXavier ASUS <xavi92psx@gmail.com>2019-10-18 00:31:54 +0200
commit268a53de823a6750d6256ee1fb1e7707b4b45740 (patch)
tree42c1799a9a82b2f7d9790ee9fe181d72a7274751 /support/sdbinutils/libiberty/makefile.vms
downloadsdcc-gas-268a53de823a6750d6256ee1fb1e7707b4b45740.tar.gz
sdcc-3.9.0 fork implementing GNU assembler syntax
This fork aims to provide better support for stm8-binutils
Diffstat (limited to 'support/sdbinutils/libiberty/makefile.vms')
-rw-r--r--support/sdbinutils/libiberty/makefile.vms36
1 files changed, 36 insertions, 0 deletions
diff --git a/support/sdbinutils/libiberty/makefile.vms b/support/sdbinutils/libiberty/makefile.vms
new file mode 100644
index 0000000..15a7d0a
--- /dev/null
+++ b/support/sdbinutils/libiberty/makefile.vms
@@ -0,0 +1,36 @@
+#
+# Makefile for libiberty under openVMS
+#
+# For use with gnu-make for vms
+#
+# Created by Klaus K"ampf, kkaempf@progis.de
+#
+#
+
+OBJS=getopt.obj,obstack.obj,xexit.obj,xmalloc.obj,hex.obj,\
+ getopt1.obj,cplus-dem.obj,cp-demangle.obj,cp-demint.obj,\
+ asprintf.obj vasprintf.obj,mkstemps.obj,filename_cmp.obj,\
+ concat.obj,getruntime.obj,getpagesize.obj,getpwd.obj,xstrerror.obj,\
+ xmemdup.obj,xstrdup.obj,xatexit.obj,choose-temp.obj,fnmatch.obj,\
+ objalloc.obj,safe-ctype.obj,hashtab.obj,lbasename.obj,argv.obj,\
+ lrealpath.obj,make-temp-file.obj,stpcpy.obj,unlink-if-ordinary.obj,\
+ dwarfnames.obj
+
+ifeq ($(CC),gcc)
+CFLAGS=/include=([],[-.include])
+else
+# assume dec c
+OPT=/noopt/debug/warnings=disable=(missingreturn)
+CFLAGS=$(OPT)/include=([],[-.include])/name=(as_is,shortened)\
+ /define=(HAVE_CONFIG_H=1)\
+ /prefix=(all,except=("getopt","optarg","optopt","optind","opterr"))
+endif
+
+libiberty.olb: $(OBJS)
+ purge
+ lib/create libiberty *.obj
+
+clean:
+ $$ purge
+ $(RM) *.obj;
+ $(RM) libiberty.olb;