source: trunk/Makefile.kmk@ 2191

Last change on this file since 2191 was 2187, checked in by bird, 17 years ago

Makefile.kmk: Install kBuild/doc/

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.4 KB
RevLine 
[305]1# $Id: Makefile.kmk 2187 2009-01-04 00:58:05Z bird $
[1509]2## @file
[1665]3# Top-Level Sub-Makefile for kBuild.
[1509]4#
[305]5
[1509]6#
[2019]7# Copyright (c) 2005-2008 knut st. osmundsen <bird-src-spam@anduin.net>
[1509]8#
9# This file is part of kBuild.
10#
11# kBuild is free software; you can redistribute it and/or modify
12# it under the terms of the GNU General Public License as published by
[2019]13# the Free Software Foundation; either version 3 of the License, or
[1509]14# (at your option) any later version.
15#
16# kBuild is distributed in the hope that it will be useful,
17# but WITHOUT ANY WARRANTY; without even the implied warranty of
18# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19# GNU General Public License for more details.
20#
21# You should have received a copy of the GNU General Public License
[2019]22# along with kBuild. If not, see <http://www.gnu.org/licenses/>
[1509]23#
24#
[305]25
[1665]26SUB_DEPTH = .
27include $(KBUILD_PATH)/subheader.kmk
[305]28
[1665]29include $(PATH_SUB_CURRENT)/src/Makefile.kmk
[587]30
31
32ifdef NIX_INSTALL_DIR
33#
34# When doing a unix install, install all the kBuild scripts.
35#
36INSTALLS += kBuild
[590]37kBuild_INST = $(NIX_INSTALL_DIR_SHARE)
[587]38kBuild_SOURCES := \
39 $(foreach src,\
[1544]40 $(wildcard \
41 kBuild/*.kmk \
42 kBuild/tools/*.kmk \
43 kBuild/sdks/*.kmk \
[1790]44 kBuild/units/*.kmk \
[2187]45 kBuild/doc/*.txt \
46 kBuild/doc/*.html \
[1544]47 kBuild/msgstyles/* \
48 kBuild/templates/*),\
[587]49 $(src)=>$(subst kBuild/,,$(src)))
[1421]50endif
[587]51
52#
53# And install any binary only tools and dlls.
54#
55INSTALLS += kBuild_bin
[1421]56kBuild_bin_INST = $(TEMPLATE_BIN_INST)
[789]57kBuild_bin_SOURCES =
[587]58
[1475]59kBuild_bin_SOURCES.os2 = \
[1509]60 kBuild/bin/$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)/libc062.dll=>libc062.dll
[1475]61
[1509]62if1of ($(KBUILD_TARGET), nt win)
63kBuild_bin_SOURCES.$(KBUILD_TARGET) = \
64 kBuild/bin/$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)/kmk_ash.exe=>kmk_ash.exe \
65 kBuild/bin/$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)/cygwin1.dll=>cygwin1.dll
66kBuild_bin_SOURCES.$(KBUILD_TARGET).x86 = \
67 kBuild/bin/$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)/msvcr71.dll=>msvcr71.dll
68kBuild_bin_SOURCES.$(KBUILD_TARGET).amd64 = \
69 kBuild/bin/$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)/Microsoft.VC80.CRT/msvcr80.dll=>Microsoft.VC80.CRT/msvcr80.dll \
70 kBuild/bin/$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)/Microsoft.VC80.CRT/Microsoft.VC80.CRT.manifest=>Microsoft.VC80.CRT/Microsoft.VC80.CRT.manifest
[1534]71kBuild_bin_SOURCES.profile = \
72 D:/coding/kStuff/svn/trunk/out/win.$(KBUILD_TARGET_ARCH)/release/kStuff/bin/kPrf2.dll \
73 D:/coding/kStuff/svn/trunk/out/win.$(KBUILD_TARGET_ARCH)/release/kStuff/bin/kPrf2WinApiWrappers.dll
[587]74endif
75
76
[1665]77include $(FILE_KBUILD_SUB_FOOTER)
[587]78
Note: See TracBrowser for help on using the repository browser.