blob: 26965569a46f7b7665f7f00b37f036beb84c3d72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#-----------------------------------------------------------------------------
# $Id: Makefile,v 1.6 2001/10/23 16:32:30 rrt Exp $
#
TOP=../..
include $(TOP)/mk/boilerplate.mk
# -----------------------------------------------------------------------------
# ghc script
ifeq "$(BIN_DIST)" "1"
GHCBIN=$$\"\"libexecdir/ghc-$(ProjectVersion)
GHCLIB=$$\"\"libdir
else
GHCBIN=$(libexecdir)/ghc-$(ProjectVersion)
GHCLIB=$(libdir)
endif # BIN_DIST
ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
SCRIPT_PROG = ghc-$(ProjectVersion)
LINK = ghc
endif
SCRIPT_OBJS = ghc.sh
INTERP = $(SHELL)
TOPDIROPT = -B$(GHCLIB)
SCRIPT_SUBST_VARS = GHCBIN TOPDIROPT
INSTALL_SCRIPTS += $(SCRIPT_PROG)
# -----------------------------------------------------------------------------
include $(TOP)/mk/target.mk
|