summaryrefslogtreecommitdiff
path: root/lang/smlnj11072/files/mk.ppc-netbsd
diff options
context:
space:
mode:
Diffstat (limited to 'lang/smlnj11072/files/mk.ppc-netbsd')
-rw-r--r--lang/smlnj11072/files/mk.ppc-netbsd25
1 files changed, 25 insertions, 0 deletions
diff --git a/lang/smlnj11072/files/mk.ppc-netbsd b/lang/smlnj11072/files/mk.ppc-netbsd
new file mode 100644
index 00000000000..b0a0420b8cd
--- /dev/null
+++ b/lang/smlnj11072/files/mk.ppc-netbsd
@@ -0,0 +1,25 @@
+# mk.ppc-netbsd
+# $NetBSD: mk.ppc-netbsd,v 1.1 2016/07/03 19:26:35 dholland Exp $
+#
+
+SHELL = /bin/sh
+
+MAKE = gmake
+GCC = gcc
+ARFLAGS = Trcv
+CFLAGS = @CFLAGS@
+LDFLAGS=
+CPP = $(GCC) -x c -E -P
+
+#XOBJS = xmonitor.o
+#LD_LIBS = -lX11
+#BASE_DEFS = -DHEAP_MONITOR -DPOLL_DEBUG
+XOBJS =
+XLIBS =
+DEFS = $(BASE_DEFS) -DHOST_PPC -DTARGET_PPC -DOPSYS_UNIX -DOPSYS_NETBSD
+TARGET = PPC
+VERSION = v-ppc-netbsd
+RUNTIME = run.ppc-netbsd
+
+all:
+ ($(MAKE) RUNTIME="$(RUNTIME)" MAKE="$(MAKE)" VERSION="$(VERSION)" CC="$(CC)" CFLAGS="$(CFLAGS)" CPP="$(CPP)" AS="$(AS)" AR="$(AR)" RANLIB="$(RANLIB)" TARGET=$(TARGET) DEFS="$(DEFS)" XOBJS="$(XOBJS)" XLIBS="$(XLIBS)" LD_LIBS="$(LD_LIBS)" $(RUNTIME))