source: trunk/Makefile.kmk@ 3062

Last change on this file since 3062 was 2674, checked in by bird, 12 years ago

Rebuilt OS/2 binaries against r2673(/r2672) and updated libc to csd5.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.6 KB
RevLine 
[305]1# $Id: Makefile.kmk 2674 2013-01-31 13:28:27Z bird $
[1509]2## @file
[1665]3# Top-Level Sub-Makefile for kBuild.
[1509]4#
[305]5
[1509]6#
[2413]7# Copyright (c) 2005-2010 knut st. osmundsen <bird-kBuild-spamx@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#
[2226]34# When doing a unix install, install all the kBuild scripts and docs.
35# TODO: Make this default and make it possible to disable it for in-tree development.
[587]36#
[2226]37INSTALLS += kBuild-data
38kBuild-data_TEMPLATE = DATA
39kBuild-data_SOURCES := \
[2229]40 $(wildcard \
41 kBuild/*.kmk \
42 ) \
[587]43 $(foreach src,\
[2202]44 $(wildcard \
45 kBuild/tools/*.kmk \
46 kBuild/sdks/*.kmk \
47 kBuild/units/*.kmk \
[2226]48 kBuild/msgstyles/*.kmk \
49 kBuild/templates/*.kmk),\
50 $(src)=>$(subst kBuild/,,$(src)))
51
52INSTALLS += kBuild-doc
53kBuild-doc_TEMPLATE = DOC
[2229]54kBuild-doc_SOURCES := $(wildcard \
[2202]55 kBuild/doc/*.txt \
56 kBuild/doc/*.html \
[2229]57 )
[1421]58endif
[587]59
60#
61# And install any binary only tools and dlls.
[2226]62# TODO: Ship env.sh and envos2.cmd / envwin.cmd where applicable.
[587]63#
64INSTALLS += kBuild_bin
[1421]65kBuild_bin_INST = $(TEMPLATE_BIN_INST)
[789]66kBuild_bin_SOURCES =
[587]67
[1475]68kBuild_bin_SOURCES.os2 = \
[2202]69 kBuild/bin/$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)/libc06.dll=>libc06.dll \
70 kBuild/bin/$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)/libc061.dll=>libc061.dll \
71 kBuild/bin/$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)/libc062.dll=>libc062.dll \
[2674]72 kBuild/bin/$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)/libc063.dll=>libc063.dll \
73 kBuild/bin/$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)/libc064.dll=>libc064.dll \
74 kBuild/bin/$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)/libc065.dll=>libc065.dll
[1475]75
[1509]76if1of ($(KBUILD_TARGET), nt win)
[2669]77kBuild_bin_SOURCES.$(KBUILD_TARGET) = \
78 kBuild/bin/$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)/msvcr100.dll
[1534]79kBuild_bin_SOURCES.profile = \
80 D:/coding/kStuff/svn/trunk/out/win.$(KBUILD_TARGET_ARCH)/release/kStuff/bin/kPrf2.dll \
81 D:/coding/kStuff/svn/trunk/out/win.$(KBUILD_TARGET_ARCH)/release/kStuff/bin/kPrf2WinApiWrappers.dll
[587]82endif
83
84
[1665]85include $(FILE_KBUILD_SUB_FOOTER)
[587]86
Note: See TracBrowser for help on using the repository browser.