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

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

tests

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 907 bytes
Line 
1# $Id: Makefile.kmk 3205 2007-04-22 15:23:26Z 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 -Dcf_by='kNIX'
36
37build:
38 $(GMAKE) MAKE=$(GMAKE)
39
40check test:
41 $(GMAKE) MAKE=$(GMAKE) test
42
43
Note: See TracBrowser for help on using the repository browser.