updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / smlnj / mk.x86-dragonfly
blobceb4215573f14abdd56d458cd543985ebecf20f2
1 # mk.x86-dragonfly
3 # makefile for "DragonFly BSD", which is a BSD 4.4 clone.
6 SHELL =         /bin/sh
8 MAKE =          gmake
10 ARFLAGS =       Trcv
11 CC =            gcc -ansi
12 CFLAGS =        -O2
13 CPP =           gcc -x assembler-with-cpp -E -P 
14 #CPP =          /usr/bin/cpp -P
16 XOBJS =
17 XLIBS =         ../c-libs/dl/libunix-dynload.a
18 LD_LIBS =
19 BASE_DEFS =     
20 DEFS            = $(BASE_DEFS) -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_DRAGONFLY -DDLOPEN
21 TARGET =        X86
22 VERSION =       v-x86-dragonfly
23 RUNTIME =       run.x86-dragonfly
25 all:
26         ($(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))