PATH_INS := $(PATH_OUT)/dist # # The /bin templates. # TEMPLATE_bin = /bin/ programs. TEMPLATE_bin_TOOL = GCC3 TEMPLATE_bin_TOOL.os2 = GCC3OMF TEMPLATE_bin_INST = bin/ # # The /usr/bin templates. # TEMPLATE_usr.bin = /usr/bin/ programs. TEMPLATE_usr.bin_TOOL = GCC3 TEMPLATE_usr.bin_TOOL.os2 = GCC3OMF TEMPLATE_usr.bin_INST = usr/bin/ TEMPLATE_usr.bin.script = /usr/bin/ scripts TEMPLATE_usr.bin.script_INST = usr/bin/ TEMPLATE_usr.bin.doc = /usr/bin/ program documentation. # 1: source 2: target 3: _INST 4: default ins path TEMPLATE_usr.bin.doc_INSTFUN = $(4)/usr/doc/$(subst .doc,,$(2))/$(notdir $(1)) TEMPLATE_usr.bin.man = /usr/bin/ program manual page # 1: source 2: target 3: _INST 4: default ins path TEMPLATE_usr.bin.man_INSTFUN = $(4)/usr/man/man$(notdir $(subst .,/,$(1)))/$(notdir $(1)).gz # 1: source 2: destination, 3: target TEMPLATE_usr.bin.man_INSTALLER = gzip -9 -c $(1) > $(2) # # The /usr/sbin templates. # TEMPLATE_usr.sbin = /usr/sbin/ programs. TEMPLATE_usr.sbin_TOOL = GCC3 TEMPLATE_usr.sbin_TOOL.os2 = GCC3OMF TEMPLATE_usr.sbin_INST = usr/sbin/ TEMPLATE_usr.sbin.script = /usr/sbin/ scripts TEMPLATE_usr.sbin.script_INST = usr/sbin/ TEMPLATE_usr.sbin.doc = /usr/bin/ program documentation. # 1: source 2: target 3: _INST 4: default ins path TEMPLATE_usr.sbin.doc_INSTFUN = $(4)/usr/doc/$(subst .doc,,$(2))/$(notdir $(1)) TEMPLATE_usr.sbin.man = /usr/bin/ program manual page # 1: source 2: target 3: _INST 4: default ins path TEMPLATE_usr.sbin.man_INSTFUN = $(4)/usr/man/man$(notdir $(subst .,/,$(1)))/$(notdir $(1)).gz # 1: source 2: destination, 3: target TEMPLATE_usr.sbin.man_INSTALLER = gzip -9 -c $(1) > $(2) # # The /usr/include templates. # TEMPLATE_usr.include = /usr/include/ headers TEMPLATE_usr.include_INST = usr/include/ TEMPLATE_usr.include.sys = /usr/include/sys/ headers TEMPLATE_usr.include.sys_INST = usr/include/sys/ # # The /usr/lib templates. # TEMPLATE_usr.lib = /usr/bin/ libraries. TEMPLATE_usr.lib_TOOL = GCC3 TEMPLATE_usr.lib_TOOL.os2 = GCC3OMF TEMPLATE_usr.lib_INST = usr/lib/ TEMPLATE_usr.lib.nasm = /usr/bin/ libraries using nasm as assembler. TEMPLATE_usr.lib.nasm_TOOL = GCC3 TEMPLATE_usr.lib.nasm_TOOL.os2 = GCC3OMF TEMPLATE_usr.lib.nasm_ASTOOL = NASM TEMPLATE_usr.lib.nasm_ASTOOL = NASM TEMPLATE_usr.lib.nasm_ASFLAGS = -f obj TEMPLATE_usr.lib.nasm_INST = usr/lib/