Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
0d6f3ef3
Commit
0d6f3ef3
authored
Oct 29, 1999
by
sewardj
Browse files
[project @ 1999-10-29 14:33:57 by sewardj]
portability wibble
parent
27eae85b
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/interpreter/Makefile
View file @
0d6f3ef3
# ----------------------------------------------------------------------------- #
# $Id: Makefile,v 1.1
3
1999/10/29 1
3:41:23
sewardj Exp $ #
# $Id: Makefile,v 1.1
4
1999/10/29 1
4:33:57
sewardj Exp $ #
# ----------------------------------------------------------------------------- #
TOP
=
../..
...
...
@@ -15,10 +15,10 @@ RTS_DIR = $(TOP)/ghc/rts
ifeq
"$(TARGETPLATFORM)" "i386-unknown-cygwin32"
DYN_EXT
=
.dll
MNO_CYGWIN
=
LIB_DL
=
else
DYN_EXT
=
.so
MNO_CYGWIN
=
LIB_DL
=
-ldl
endif
YACC
=
bison
-y
...
...
@@ -35,7 +35,7 @@ C_SRCS = link.c type.c static.c storage.c derive.c input.c compiler.c subst.c \
translate.c codegen.c lift.c free.c stgSubst.c optimise.c output.c
\
hugs.c dynamic.c stg.c sainteger.c interface.c
SRC_CC_OPTS
=
$(MNO_CYGWIN)
-g
-O
-I
$(GHC_DIR)
/interpreter
-I
$(GHC_DIR)
/includes
-I
$(GHC_DIR)
/rts
-D__HUGS__
-DCOMPILING_RTS
-Wall
-Wstrict-prototypes
-Wno-unused
-DDEBUG
-DDEBUG_EXTRA
-Winline
SRC_CC_OPTS
=
-g
-O
-I
$(GHC_DIR)
/interpreter
-I
$(GHC_DIR)
/includes
-I
$(GHC_DIR)
/rts
-D__HUGS__
-DCOMPILING_RTS
-Wall
-Wstrict-prototypes
-Wno-unused
-DDEBUG
-DDEBUG_EXTRA
-Winline
GHC_LIBS_NEEDED
=
$(TOP)
/ghc/rts/libHSrts.a
...
...
@@ -45,7 +45,7 @@ all :: parser.c $(GHC_LIBS_NEEDED) nHandle.$(DYN_EXT) hugs
hugs
:
$(C_OBJS) ../rts/Sanity.o ../rts/Assembler.o ../rts/Disassembler.o
\
../rts/Evaluator.o ../rts/ForeignCall.o ../rts/GC.o ../rts/Printer.o
\
../rts/StgCRun.o
$(CC)
-o
$@
$(CC_OPTS)
$^
$(GHC_LIBS_NEEDED)
-lbfd
-liberty
-lm
$(CC)
-o
$@
$(CC_OPTS)
$^
$(GHC_LIBS_NEEDED)
-lbfd
-liberty
$(LIB_DL)
-lm
nHandle.$(DYN_EXT)
:
nHandle.c
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment