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
Glasgow Haskell Compiler
GHC
Commits
63a2e793
Commit
63a2e793
authored
Jan 21, 1997
by
sof
Browse files
[project @ 1997-01-21 09:15:23 by sof]
Special pleading for way norm
parent
ffec12c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/runtime/Makefile.libHSrts
View file @
63a2e793
#-----------------------------------------------------------------------------
# $Id: Makefile.libHSrts,v 1.
3
1997/01/
07 13:18:15 simonm
Exp $
# $Id: Makefile.libHSrts,v 1.
4
1997/01/
21 09:15:23 sof
Exp $
# The is the makefile for libHSrts, invoked once for each different build.
...
...
@@ -147,6 +147,10 @@ RTS_GHC = $(GHC) -c -o $@ $(GHCFLAGS) $($*_flags)
@
$(RM)
$@
$(RTS_GHC)
$
(
GHC_OPTS_
$(suffix)
)
$*
.c
%.o
:
%.hc
@
$(RM)
$@
$(RTS_GHC)
$*
.hc
%.$(suffix)_o
:
%.hc
@
$(RM)
$@
$(RTS_GHC)
$
(
GHC_OPTS_
$(suffix)
)
$*
.hc
...
...
@@ -175,13 +179,28 @@ endif
#-----------------------------------------------------------------------------
# creating and installing libHSrts.a (in its many flavors)
#
# Special pleading for way `norm', archive does not have _way appended, nor
# do the object files. -- SOF 1/97
#
ifeq
($(suffix), norm)
ARCHIVE
=
libHSrts.a
# this one is special
else
ARCHIVE
=
libHSrts_
$(suffix)
.a
endif
ifeq
($(suffix), norm)
RTS_OBJS
=
$(RTS_LC:.lc=.o)
$(RTS_LHC:.lhc=.o)
else
RTS_OBJS
=
$
(
RTS_LC:.lc
=
.
$(suffix)
_o
)
$
(
RTS_LHC:.lhc
=
.
$(suffix)
_o
)
endif
all
::
$(RTS_LIB)
install
::
$(RTS_LIB)
$(INSTALL)
$(INSTLIBFLAGS)
$(RTS_LIB)
$(INSTLIBDIR_GHC)
/
$(RTS_LIB)
$(RANLIB)
$(INSTLIBDIR_GHC)
/
$(RTS_LIB)
LIBOBJS
=
$
(
RTS_LC:.lc
=
.
$(suffix)
_o
)
$
(
RTS_LHC:.lhc
=
.
$(suffix)
_o
)
DESTDIR
=
$(INSTLIBDIR_GHC)
...
...
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