openbsd makefile missing

Vesa A Norrman <[email protected]> Mon, 1 Dec 2008 13:10:23 +0200 (EET)
Newsgroups gmane.comp.lang.sml.smlnj
Message-ID <[email protected]>
hello,
It looks like openbsd's makefile is missing. I'm sending a working 
version that you can put in svn. It's mostly a copy of netbsd2 
makefile.

  - Vesa

-- 
                                     /`---*\
                                    = ^ o ^ =
                                     `-----'

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
Smlnj-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smlnj-list
mk.x86-openbsd (text/plain, 702 B)
# mk.x86-openbsd
#
# makefile for OpenBSD (version 4.x), which is a BSD 4.4 clone.
#

SHELL =		/bin/sh

MAKE =		gmake

ARFLAGS =	Trcv
CC =		gcc -ansi
CFLAGS =	-O2
CPP =		gcc -x assembler-with-cpp -E -P
#CPP =		/usr/bin/cpp -P

XOBJS =
XLIBS =		../c-libs/dl/libunix-dynload.a
LD_LIBS =
BASE_DEFS =	
DEFS =          $(XDEFS) $(BASE_DEFS) -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_NETBSD2 -DDLOPEN
TARGET =	X86
VERSION =	v-x86-openbsd
RUNTIME =	run.x86-openbsd

all:
	($(MAKE) RUNTIME="$(RUNTIME)" VERSION="$(VERSION)" MAKE="$(MAKE)" CC="$(CC)" CFLAGS="$(CFLAGS)" CPP="$(CPP)" TARGET=$(TARGET) DEFS="$(DEFS)" XOBJS="$(XOBJS)" XLIBS="$(XLIBS)" LD_LIBS="$(LD_LIBS)" $(RUNTIME))