|
Last change
on this file since 3207 was 3207, checked in by bird, 19 years ago |
|
+
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Id
|
|
File size:
909 bytes
|
| Line | |
|---|
| 1 | # $Id: Makefile.kmk 3207 2007-04-24 21:23:22Z bird $
|
|---|
| 2 |
|
|---|
| 3 | DEPTH = ../../..
|
|---|
| 4 | include $(PATH_KBUILD)/header.kmk
|
|---|
| 5 | GMAKE ?= $(PATH_KBUILD_BIN)/kmk_gmake$(HOSTSUFF_EXE)
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 | EXTRAS :=
|
|---|
| 9 | ifndef NOT_BOOTSTRAPPING_KNIX
|
|---|
| 10 | EXTRAS := -Dgmake=$(GMAKE) \
|
|---|
| 11 | -Dmake=$(GMAKE)
|
|---|
| 12 | endif
|
|---|
| 13 | ifeq ($(BUILD_TYPE),debug)
|
|---|
| 14 | EXTRAS += -Doptimize='-g'
|
|---|
| 15 | endif
|
|---|
| 16 |
|
|---|
| 17 | ifdef PERL_SH_DIR
|
|---|
| 18 | $(error This is gonna cause trouble: PERL_SH_DIR=$(PERL_SH_DIR))
|
|---|
| 19 | endif
|
|---|
| 20 |
|
|---|
| 21 | config:
|
|---|
| 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 |
|
|---|
| 37 | build:
|
|---|
| 38 | +$(GMAKE) MAKE=$(GMAKE)
|
|---|
| 39 |
|
|---|
| 40 | check test:
|
|---|
| 41 | +$(GMAKE) MAKE=$(GMAKE) test
|
|---|
| 42 |
|
|---|
| 43 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.