VirtualBox

source: kBuild/trunk/Makefile.kmk@ 684

Last change on this file since 684 was 590, checked in by bird, 18 years ago

shared -> share (typo)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 KB
Line 
1# $Id: Makefile.kmk 590 2006-11-24 05:58:32Z bird $
2
3
4DEPTH = .
5include $(PATH_KBUILD)/header.kmk
6
7SUBDIRS = src
8
9
10ifdef NIX_INSTALL_DIR
11#
12# When doing a unix install, install all the kBuild scripts.
13#
14INSTALLS += kBuild
15kBuild_INST = $(NIX_INSTALL_DIR_SHARE)
16kBuild_SOURCES := \
17 $(foreach src,\
18 $(wildcard kBuild/*.kmk kBuild/tools/*.kmk kBuild/sdks/*.kmk),\
19 $(src)=>$(subst kBuild/,,$(src)))
20
21#
22# And install any binary only tools and dlls.
23#
24INSTALLS += kBuild_bin
25kBuild_bin_INST = $(NIX_INSTALL_DIR_BIN)
26kBuild_bin_SOURCES = \
27 kBuild/bin/$(BUILD_TARGET_ARCH).$(BUILD_TARGET)/kmk_cat$(HOSTSUFF_EXE)=>kmk_cat$(HOSTSUFF_EXE) \
28 kBuild/bin/$(BUILD_TARGET_ARCH).$(BUILD_TARGET)/kmk_mv$(HOSTSUFF_EXE)=>kmk_mv$(HOSTSUFF_EXE) \
29 kBuild/bin/$(BUILD_TARGET_ARCH).$(BUILD_TARGET)/kmk_sed$(HOSTSUFF_EXE)=>kmk_sed$(HOSTSUFF_EXE) \
30 kBuild/bin/$(BUILD_TARGET_ARCH).$(BUILD_TARGET)/kmk_ash$(HOSTSUFF_EXE)=>kmk_ash$(HOSTSUFF_EXE)
31
32ifeq ($(filter-out nt win win32 win64,$(BUILD_TARGET)),)
33kBuild_bin_SOURCES.$(BUILD_TARGET) = \
34 kBuild/bin/$(BUILD_TARGET_ARCH).$(BUILD_TARGET)/cygiconv-2.dll=>cygiconv-2.dll \
35 kBuild/bin/$(BUILD_TARGET_ARCH).$(BUILD_TARGET)/cygintl-1.dll=>cygintl-1.dll \
36 kBuild/bin/$(BUILD_TARGET_ARCH).$(BUILD_TARGET)/cygintl-2.dll=>cygintl-2.dll \
37 kBuild/bin/$(BUILD_TARGET_ARCH).$(BUILD_TARGET)/cygintl-3.dll=>cygintl-3.dll \
38 kBuild/bin/$(BUILD_TARGET_ARCH).$(BUILD_TARGET)/cygwin1.dll=>cygwin1.dll
39endif
40
41## @todo this isn't quite right, but then we will probably never use this on OS/2 anyway.
42kBuild_bin_SOURCES.os2 = \
43 kBuild/bin/$(BUILD_TARGET_ARCH).$(BUILD_TARGET)/gcc29160.dll=>gcc29160.dll \
44 kBuild/bin/$(BUILD_TARGET_ARCH).$(BUILD_TARGET)/gnufu316.dll=>gnufu316.dll \
45 kBuild/bin/$(BUILD_TARGET_ARCH).$(BUILD_TARGET)/Iintl6i.dll=>Iintl6i.dll \
46 kBuild/bin/$(BUILD_TARGET_ARCH).$(BUILD_TARGET)/libc05.dll=>libc05.dll \
47 kBuild/bin/$(BUILD_TARGET_ARCH).$(BUILD_TARGET)/libc06.dll=>libc06.dll \
48 kBuild/bin/$(BUILD_TARGET_ARCH).$(BUILD_TARGET)/libc061.dll=>libc061.dll
49
50endif
51
52include $(PATH_KBUILD)/footer.kmk
53
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette