|
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
|
| Rev | Line | |
|---|
| [3195] | 1 | # $Id: Makefile.kmk 3207 2007-04-24 21:23:22Z bird $
|
|---|
| 2 |
|
|---|
| [3199] | 3 | DEPTH = ../../..
|
|---|
| 4 | include $(PATH_KBUILD)/header.kmk
|
|---|
| 5 | GMAKE ?= $(PATH_KBUILD_BIN)/kmk_gmake$(HOSTSUFF_EXE)
|
|---|
| [3195] | 6 |
|
|---|
| [3199] | 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'
|
|---|
| [3201] | 15 | endif
|
|---|
| [3199] | 16 |
|
|---|
| 17 | ifdef PERL_SH_DIR
|
|---|
| 18 | $(error This is gonna cause trouble: PERL_SH_DIR=$(PERL_SH_DIR))
|
|---|
| 19 | endif
|
|---|
| 20 |
|
|---|
| [3195] | 21 | config:
|
|---|
| [3201] | 22 | $(RM) -f config.sh Policy.sh
|
|---|
| [3195] | 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 \
|
|---|
| [3199] | 33 | -Dpager=/@unixroot/usr/bin/less.exe \
|
|---|
| 34 | $(EXTRAS) \
|
|---|
| [3195] | 35 | -Dcf_by='kNIX'
|
|---|
| 36 |
|
|---|
| 37 | build:
|
|---|
| [3207] | 38 | +$(GMAKE) MAKE=$(GMAKE)
|
|---|
| [3195] | 39 |
|
|---|
| [3205] | 40 | check test:
|
|---|
| [3207] | 41 | +$(GMAKE) MAKE=$(GMAKE) test
|
|---|
| [3205] | 42 |
|
|---|
| 43 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.