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

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

hacking...

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 828 bytes
Line 
1# $Id: Makefile.kmk 3199 2007-04-22 14:21:17Z 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'
15
16ifdef PERL_SH_DIR
17$(error This is gonna cause trouble: PERL_SH_DIR=$(PERL_SH_DIR))
18endif
19
20config:
21 EMXSHELL="$(ASH)" \
22 ./Configure -des \
23 -Dprefix=/@unixroot/usr \
24 -Dvendorprefix=/@unixroot/usr \
25 -Dsiteprefix=/@unixroot/usr \
26 -Dscriptdir=/@unixroot/usr/bin \
27 -Dman1dir=/@unixroot/usr/share/man/man1 \
28 -Dman3dir=/@unixroot/usr/share/man/man3 \
29 -Dinstallman1dir=/@unixroot/usr/share/man/man1 \
30 -Dinstallman3dir=/@unixroot/usr/share/man/man3 \
31 -Dpager=/@unixroot/usr/bin/less.exe \
32 $(EXTRAS) \
33 -Dcf_by='kNIX'
34
35build:
36 $(GMAKE) MAKE=$(GMAKE)
37
Note: See TracBrowser for help on using the repository browser.