source: trunk/essentials/dev-lang/perl/Makefile.kmk@ 3220

Last change on this file since 3220 was 3220, checked in by bird, 18 years ago

Build a.out and link omf. Drop -Zexe.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 930 bytes
Line 
1# $Id: Makefile.kmk 3220 2007-04-29 13:34:20Z bird $
2
3DEPTH = ../../..
4include $(PATH_KBUILD)/header.kmk
5GMAKE ?= $(PATH_KBUILD_BIN)/kmk_gmake$(HOSTSUFF_EXE)
6
7
8EXTRAS :=
9ifndef NOT_BOOTSTRAPPING_KNIX
10EXTRAS := -Dgmake=$(GMAKE) \
11 -Dmake=$(GMAKE)
12endif
13ifeq ($(BUILD_TYPE),debug)
14EXTRAS += -Doptimize='-g'
15endif
16
17ifdef PERL_SH_DIR
18$(error This is gonna cause trouble: PERL_SH_DIR=$(PERL_SH_DIR))
19endif
20
21config:
22 $(RM) -f config.sh Policy.sh
23 EMXSHELL="$(ASH)" \
24 ./Configure -des \
25 -Dprefix=/@unixroot/usr \
26 -Dvendorprefix=/@unixroot/usr \
27 -Dsiteprefix=/@unixroot/usr \
28 -Dscriptdir=/@unixroot/usr/bin \
29 -Dman1dir=/@unixroot/usr/share/man/man1 \
30 -Dman3dir=/@unixroot/usr/share/man/man3 \
31 -Dinstallman1dir=/@unixroot/usr/share/man/man1 \
32 -Dinstallman3dir=/@unixroot/usr/share/man/man3 \
33 -Dpager=/@unixroot/usr/bin/less.exe \
34 $(EXTRAS) \
35 -Dd_dirfd='undef' \
36 -Dcf_by='kNIX'
37
38build:
39 +$(GMAKE) MAKE=$(GMAKE)
40
41check test:
42 +$(GMAKE) MAKE=$(GMAKE) test
43
Note: See TracBrowser for help on using the repository browser.