Changeset 830 in kBuild
- Timestamp:
- Feb 3, 2007 11:09:10 AM (18 years ago)
- Location:
- trunk/kBuild
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/footer.kmk
r828 r830 1763 1763 definst := $(PATH_DLL) 1764 1764 typevar := _DLLS 1765 mode := 0 7551765 mode := 0644 1766 1766 bld_trg_base_var := TARGET 1767 1767 $(foreach target, $(DLLS) $(DLLS.$(BUILD_TARGET)) $(DLLS.$(BUILD_TARGET).$(BUILD_TARGET_ARCH)), $(eval $(value def_link_common))) … … 1769 1769 1770 1770 # 1771 # Process import libraries.1771 # IMPORT LIBRARIES 1772 1772 # 1773 1773 # - On OS/2 and windows these are libraries. 1774 1774 # - On other platforms they are fake DLLs. 1775 # 1776 EXTPRE := 1777 typevar := _IMPORT_LIBS 1778 mode := 0644 1779 bld_trg_base_var := TARGET 1775 1780 ifeq ($(filter-out nt os2 win win64 win32,$(BUILD_TARGET)),) 1776 $(foreach target, $(IMPORT_LIBS) $(IMPORT_LIBS.$(BUILD_TARGET)) $(IMPORT_LIBS.$(BUILD_TARGET).$(BUILD_TARGET_ARCH)), $(eval $(value def_lib))) 1781 EXT := LIB 1782 tool_do := LINK_LIBRARY 1783 definst := $(PATH_LIB) 1784 $(foreach target, $(IMPORT_LIBS) $(IMPORT_LIBS.$(BUILD_TARGET)) $(IMPORT_LIBS.$(BUILD_TARGET).$(BUILD_TARGET_ARCH)), $(eval $(value def_lib))) 1777 1785 else 1778 $(foreach target, $(IMPORT_LIBS) $(IMPORT_LIBS.$(BUILD_TARGET)) $(IMPORT_LIBS.$(BUILD_TARGET).$(BUILD_TARGET_ARCH)), $(eval $(value def_link_common))) 1779 endif 1780 $(foreach target, $(IMPORT_LIBS) $(IMPORT_LIBS.$(BUILD_TARGET)) $(IMPORT_LIBS.$(BUILD_TARGET).$(BUILD_TARGET_ARCH)), \ 1781 $(eval _IMPORT_LIBS += $(if $(INSTARGET_$(target)),$(INSTARGET_$(target)), $(TARGET_$(target))))) 1786 EXT := DLL 1787 tool_do := LINK_DLL 1788 definst := $(PATH_DLL) 1789 $(foreach target, $(IMPORT_LIBS) $(IMPORT_LIBS.$(BUILD_TARGET)) $(IMPORT_LIBS.$(BUILD_TARGET).$(BUILD_TARGET_ARCH)), $(eval $(value def_link_common))) 1790 endif 1782 1791 1783 1792 … … 1916 1925 $($(target)_GID.$(bld_trg)) \ 1917 1926 $($(target)_GID)) 1927 flags := \ 1928 $($(target)_IFFLAGS) \ 1929 $($(target)_IFFLAGS.$(bld_trg)) \ 1930 $($(target)_IFFLAGS.$(bld_trg).$(bld_trg_arch)) \ 1931 $($(srcdst)_IFFLAGS) \ 1932 $($(srcdst)_IFFLAGS.$(bld_trg)) \ 1933 $($(srcdst)_IFFLAGS.$(bld_trg).$(bld_trg_arch)) \ 1934 $($(srcsrc)_IFFLAGS) \ 1935 $($(srcsrc)_IFFLAGS.$(bld_trg)) \ 1936 $($(srcsrc)_IFFLAGS.$(bld_trg).$(bld_trg_arch)) \ 1937 $($(target)_$(srcdst)_IFFLAGS) \ 1938 $($(target)_$(srcdst)_IFFLAGS.$(bld_trg)) \ 1939 $($(target)_$(srcdst)_IFFLAGS.$(bld_trg).$(bld_trg_arch)) \ 1940 $($(target)_$(srcsrc)_IFFLAGS) \ 1941 $($(target)_$(srcsrc)_IFFLAGS.$(bld_trg)) \ 1942 $($(target)_$(srcsrc)_IFFLAGS.$(bld_trg).$(bld_trg_arch)) 1918 1943 1919 1944 … … 1925 1950 # create the command 1926 1951 ifdef $(srcsrc)_INSTALLER 1927 inscmd := $(call $(srcsrc)_INSTALLER,$(srcsrc),$(insdst),$(target)) 1952 inscmd := $(call $(srcsrc)_INSTALLER,$(srcsrc),$(insdst),$(target),$(flags)) 1953 else ifdef $(target)_INSTALLER 1954 inscmd := $(call $(target)_INSTALLER,$(srcsrc),$(insdst),$(target),$(flags)) 1928 1955 else 1929 ifdef $(target)_INSTALLER 1930 inscmd := $(call $(target)_INSTALLER,$(srcsrc),$(insdst),$(target)) 1931 else 1932 inscmd := $$(INSTALL)\ 1956 inscmd := $$(INSTALL)\ 1933 1957 $(if $(uid),-o $(uid))\ 1934 1958 $(if $(gid),-g $(gid))\ 1935 1959 $(if $(mode),-m $(mode))\ 1960 $(flags)\ 1936 1961 $(srcsrc) $(insdst) 1937 endif1938 1962 endif 1939 1963 … … 1966 1990 instfun := $(symlnk)_INSTFUN 1967 1991 else ifdef $(target)_INSTFUN 1968 instfun := $(target)_INSTFUN1992 instfun := $(target)_INSTFUN 1969 1993 else 1970 1994 instfun := _INSTALL_FILE … … 2000 2024 $(if $(gid),-g $(gid))\ 2001 2025 $(if $(mode),-m $(mode))\ 2026 $(flags)\ 2002 2027 $(insdst) 2003 2028 … … 2048 2073 $($(target)_GID.$(bld_trg)) \ 2049 2074 $($(target)_GID)) 2075 flags := \ 2076 $($(target)_IDFLAGS)\ 2077 $($(target)_IDFLAGS.$(bld_trg)) \ 2078 $($(target)_IDFLAGS.$(bld_trg).$(bld_trg_arch)) \ 2079 $($(directory)_IDFLAGS) \ 2080 $($(directory)_IDFLAGS.$(bld_trg)) \ 2081 $($(directory)_IDFLAGS.$(bld_trg).$(bld_trg_arch)) \ 2082 $($(target)_$(directory)_IDFLAGS) \ 2083 $($(target)_$(directory)_IDFLAGS.$(bld_trg)) \ 2084 $($(target)_$(directory)_IDFLAGS.$(bld_trg).$(bld_trg_arch)) 2050 2085 2051 2086 insdst := $(inst)/$(directory)/ -
trunk/kBuild/header.kmk
r829 r830 565 565 RCFLAGS RCDEFS \ 566 566 LDFLAGS \ 567 IDFLAGS IFDLAGS ISFLAGS \ 567 568 FETCHFLAGS UNPACKFLAGS PATCHFLAGS 568 569
Note:
See TracChangeset
for help on using the changeset viewer.