source: trunk/Config.kmk@ 2551

Last change on this file since 2551 was 2550, checked in by bird, 19 years ago

baselayout hacking.

File size: 2.4 KB
Line 
1
2
3PATH_INS := $(PATH_OUT)/dist
4
5#
6# The /bin templates.
7#
8TEMPLATE_bin = /bin/ programs.
9TEMPLATE_bin_TOOL = GCC3
10TEMPLATE_bin_TOOL.os2 = GCC3OMF
11TEMPLATE_bin_INST = bin/
12
13#
14# The /usr/bin templates.
15#
16TEMPLATE_usr.bin = /usr/bin/ programs.
17TEMPLATE_usr.bin_TOOL = GCC3
18TEMPLATE_usr.bin_TOOL.os2 = GCC3OMF
19TEMPLATE_usr.bin_INST = usr/bin/
20
21TEMPLATE_usr.bin.script = /usr/bin/ scripts
22TEMPLATE_usr.bin.script_INST = usr/bin/
23
24TEMPLATE_usr.bin.doc = /usr/bin/ program documentation.
25# 1: source 2: target 3: _INST 4: default ins path
26TEMPLATE_usr.bin.doc_INSTFUN = $(4)/usr/doc/$(subst .doc,,$(2))/$(notdir $(1))
27
28TEMPLATE_usr.bin.man = /usr/bin/ program manual page
29# 1: source 2: target 3: _INST 4: default ins path
30TEMPLATE_usr.bin.man_INSTFUN = $(4)/usr/man/man$(notdir $(subst .,/,$(1)))/$(notdir $(1)).gz
31# 1: source 2: destination, 3: target
32TEMPLATE_usr.bin.man_INSTALLER = gzip -9 -c $(1) > $(2)
33
34#
35# The /usr/sbin templates.
36#
37TEMPLATE_usr.sbin = /usr/sbin/ programs.
38TEMPLATE_usr.sbin_TOOL = GCC3
39TEMPLATE_usr.sbin_TOOL.os2 = GCC3OMF
40TEMPLATE_usr.sbin_INST = usr/sbin/
41
42TEMPLATE_usr.sbin.script = /usr/sbin/ scripts
43TEMPLATE_usr.sbin.script_INST = usr/sbin/
44
45TEMPLATE_usr.sbin.doc = /usr/bin/ program documentation.
46# 1: source 2: target 3: _INST 4: default ins path
47TEMPLATE_usr.sbin.doc_INSTFUN = $(4)/usr/doc/$(subst .doc,,$(2))/$(notdir $(1))
48
49TEMPLATE_usr.sbin.man = /usr/bin/ program manual page
50# 1: source 2: target 3: _INST 4: default ins path
51TEMPLATE_usr.sbin.man_INSTFUN = $(4)/usr/man/man$(notdir $(subst .,/,$(1)))/$(notdir $(1)).gz
52# 1: source 2: destination, 3: target
53TEMPLATE_usr.sbin.man_INSTALLER = gzip -9 -c $(1) > $(2)
54
55
56#
57# The /usr/include templates.
58#
59TEMPLATE_usr.include = /usr/include/ headers
60TEMPLATE_usr.include_INST = usr/include/
61
62TEMPLATE_usr.include.sys = /usr/include/sys/ headers
63TEMPLATE_usr.include.sys_INST = usr/include/sys/
64
65
66#
67# The /usr/lib templates.
68#
69TEMPLATE_usr.lib = /usr/bin/ libraries.
70TEMPLATE_usr.lib_TOOL = GCC3
71TEMPLATE_usr.lib_TOOL.os2 = GCC3OMF
72TEMPLATE_usr.lib_INST = usr/lib/
73
74TEMPLATE_usr.lib.nasm = /usr/bin/ libraries using nasm as assembler.
75TEMPLATE_usr.lib.nasm_TOOL = GCC3
76TEMPLATE_usr.lib.nasm_TOOL.os2 = GCC3OMF
77TEMPLATE_usr.lib.nasm_ASTOOL = NASM
78TEMPLATE_usr.lib.nasm_ASTOOL = NASM
79TEMPLATE_usr.lib.nasm_ASFLAGS = -f obj
80TEMPLATE_usr.lib.nasm_INST = usr/lib/
81
82
Note: See TracBrowser for help on using the repository browser.