Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alexbiehl-gc
GHC
Commits
9b6f49a2
Commit
9b6f49a2
authored
24 years ago
by
sven.panne@aedion.de
Browse files
Options
Downloads
Patches
Plain Diff
[project @ 2000-05-31 12:04:49 by panne]
Use new way of #including for packages
parent
37782afc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ghc/lib/std/cbits/HsStd.h
+13
-0
13 additions, 0 deletions
ghc/lib/std/cbits/HsStd.h
ghc/lib/std/cbits/Makefile
+12
-6
12 additions, 6 deletions
ghc/lib/std/cbits/Makefile
with
25 additions
and
6 deletions
ghc/lib/std/cbits/HsStd.h
0 → 100644
+
13
−
0
View file @
9b6f49a2
/* -----------------------------------------------------------------------------
* $Id: HsStd.h,v 1.1 2000/05/31 12:04:49 panne Exp $
*
* Definitions for package `std' which are visible in Haskell land.
*
* ---------------------------------------------------------------------------*/
#ifndef HSSTD_H
#define HSSTD_H
#include
"stgio.h"
#endif
This diff is collapsed.
Click to expand it.
ghc/lib/std/cbits/Makefile
+
12
−
6
View file @
9b6f49a2
# $Id: Makefile,v 1.
19
2000/05/
12 11:48:30 rrt
Exp $
# $Id: Makefile,v 1.
20
2000/05/
31 12:04:49 panne
Exp $
TOP
=
../../..
include
$(TOP)/mk/boilerplate.mk
...
...
@@ -40,6 +40,17 @@ SRC_BLD_DLL_OPTS += -lwinmm -lwsock32 -lHSrts_imp -lgmp -L. -L../../../rts/gmp -
#
CC
=
$(
GHC_INPLACE
)
# ghc-inplace needs access to HsStd.h and its includes, so copy them into the
# standard place.
# NOTE 1: Installation of the header files into their final place is done via
# GHC_INCLUDE_DIR. This is not nice, but there is no easy way out.
# NOTE 2: Filtering out timezone.h is a little bit hacky, but we don't need it
# after compilation.
boot
::
cp
$(
filter-out timezone.h,
$(
wildcard
*
.h
))
$(
GHC_INCLUDE_DIR
)
CLEAN_FILES
+=
$(
foreach header_file,
$(
filter-out timezone.h,
$(
wildcard
*
.h
))
,
$(
GHC_INCLUDE_DIR
)
/
$(
header_file
))
SRC_MKDEPENDC_OPTS
+=
-I
$(
GHC_INCLUDE_DIR
)
# -----------------------------------------------------------------------------
...
...
@@ -54,9 +65,4 @@ INSTALL_LIBS += $(patsubst %.a, %_imp.a, $(LIBRARY))
endif
endif
# install header files for the I/O library. Other code might want to
# plug
override
datadir
:=
$(
libdir
)
/includes
INSTALL_DATAS
+=
$(
wildcard
*
.h
)
include
$(TOP)/mk/target.mk
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment