source: trunk/Config.kmk@ 2534

Last change on this file since 2534 was 2480, checked in by bird, 20 years ago

more templates.

File size: 1.6 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: default ins path
26TEMPLATE_usr.bin.doc_INSTFUN = $(3)/usr/doc/$(subst .doc,,$(2))/$(notdir $(1))
27
28TEMPLATE_usr.bin.man = /usr/bin/ program manual page
29# 1: source 2: target 3: default ins path
30TEMPLATE_usr.bin.man_INSTFUN = $(3)/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/include templates.
36#
37TEMPLATE_usr.include = /usr/include/ headers
38TEMPLATE_usr.include_INST = usr/include/
39
40TEMPLATE_usr.include.sys = /usr/include/sys/ headers
41TEMPLATE_usr.include.sys_INST = usr/include/sys/
42
43
44#
45# The /usr/lib templates.
46#
47TEMPLATE_usr.lib = /usr/bin/ libraries.
48TEMPLATE_usr.lib_TOOL = GCC3
49TEMPLATE_usr.lib_TOOL.os2 = GCC3OMF
50TEMPLATE_usr.lib_INST = usr/lib/
51
52TEMPLATE_usr.lib.nasm = /usr/bin/ libraries using nasm as assembler.
53TEMPLATE_usr.lib.nasm_TOOL = GCC3
54TEMPLATE_usr.lib.nasm_TOOL.os2 = GCC3OMF
55TEMPLATE_usr.lib.nasm_ASTOOL = NASM
56TEMPLATE_usr.lib.nasm_ASTOOL = NASM
57TEMPLATE_usr.lib.nasm_ASFLAGS = -f obj
58TEMPLATE_usr.lib.nasm_INST = usr/lib/
59
60
Note: See TracBrowser for help on using the repository browser.