Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4,251
Issues
4,251
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
394
Merge Requests
394
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
fb0318e2
Commit
fb0318e2
authored
Nov 09, 2006
by
Simon Marlow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unused STANDALONE_PACKAGE stuff
parent
c8067084
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
26 deletions
+0
-26
mk/package.mk
mk/package.mk
+0
-26
No files found.
mk/package.mk
View file @
fb0318e2
...
...
@@ -3,9 +3,6 @@
ifneq
"$(PACKAGE)" ""
# FIXME: does anyone do this any more?
STANDALONE_PACKAGE
=
NO
# -----------------------------------------------------------------------------
# Directory layouts, installation etc.
...
...
@@ -61,11 +58,7 @@ HADDOCK_IFACE_INSTALLED = $(HTML_DIR_INSTALLED)/$(PACKAGE).haddock
ifeq
"$(way)" ""
ifeq
"$(STANDALONE_PACKAGE)" "NO"
PACKAGE_CPP_OPTS
+=
-I
$(GHC_INCLUDE_DIR)
-Iinclude
else
PACKAGE_CPP_OPTS
+=
-Iinclude
endif
PACKAGE_CPP_OPTS
+=
-DPACKAGE
=
${PACKAGE}
PACKAGE_CPP_OPTS
+=
-DVERSION
=
${VERSION}
...
...
@@ -109,7 +102,6 @@ package.conf.installed : package.conf.in
# to 'make clean' in ghc without cleaning in libraries too, the packages
# will be correctly re-installed.
#
ifeq
"$(STANDALONE_PACKAGE)" "NO"
STAMP_PKG_CONF
=
$(GHC_DRIVER_DIR)
/stamp-pkg-conf-
$(PACKAGE)
CLEAN_FILES
+=
$(STAMP_PKG_CONF)
...
...
@@ -142,8 +134,6 @@ install :: package.conf.installed
install-inplace-pkg
:
package.conf.inplace
$(GHC_PKG)
--force
--update-package
<package.conf.inplace
endif
# $(STANDALONE_PACKAGE)
endif
# $(way) == ""
# -----------------------------------------------------------------------------
...
...
@@ -151,19 +141,8 @@ endif # $(way) == ""
SRC_HSC2HS_OPTS
+=
-I
.
ifeq
"$(STANDALONE_PACKAGE)" "NO"
HC
=
$(GHC_INPLACE)
IGNORE_PACKAGE_FLAG
=
-package-name
$(PACKAGE)
-
$(VERSION)
else
# Only use -ignore-package if supported by HC; i.e., ghc-6.3 and later.
# (Don't like the use of slow $(shell ..) in Makefiles, but can't see a way around it here.)
ifeq
"$(strip $(GHC))" ""
IGNORE_PACKAGE_FLAG
=
-ignore-package
$(PACKAGE)
else
# Making the assumption here that standalone packages will be using mk/config.mk:GHC
IGNORE_PACKAGE_FLAG
=
$(
shell
if
(
test
$(GhcCanonVersion)
-ge
603
)
;
then
echo
"-ignore-package"
;
else
echo
"-package-name"
;
fi
)
$(PACKAGE)
endif
endif
# STANDALONE_PACKAGE
ifeq
"$(NON_HS_PACKAGE)" ""
SRC_HC_OPTS
+=
$(IGNORE_PACKAGE_FLAG)
...
...
@@ -238,15 +217,10 @@ endif
# -----------------------------------------------------------------------------
# Dependencies
ifeq
"$(STANDALONE_PACKAGE)" "NO"
MKDEPENDHS
=
$(GHC_INPLACE)
endif
SRC_MKDEPENDC_OPTS
+=
$(
addprefix
-I
,
$(ALL_DIRS)
)
ifeq
"$(STANDALONE_PACKAGE)" "NO"
SRC_MKDEPENDC_OPTS
+=
-I
$(GHC_INCLUDE_DIR)
endif
endif
# $(PACKAGE) != ""
...
...
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