|
Last change
on this file since 3199 was 3199, checked in by bird, 19 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 |
|
|---|
| 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 |
|
|---|
| 16 | ifdef PERL_SH_DIR
|
|---|
| 17 | $(error This is gonna cause trouble: PERL_SH_DIR=$(PERL_SH_DIR))
|
|---|
| 18 | endif
|
|---|
| 19 |
|
|---|
| 20 | config:
|
|---|
| 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 |
|
|---|
| 35 | build:
|
|---|
| 36 | $(GMAKE) MAKE=$(GMAKE)
|
|---|
| 37 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.