- Timestamp:
- Oct 29, 2011, 1:38:08 AM (14 years ago)
- File:
-
- 1 edited
-
branches/gcc-kmk/Config.kmk (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/gcc-kmk/Config.kmk
r21749 r21756 6 6 # Global definitions 7 7 #------------------------------------------------------------------------------ 8 9 ## 10 # Defines import library target for the given DLL. 11 # @param 1 DLL target name. 12 # @param 2 .def file (defaults to <param 1>.def). 13 # @param 3 .def file for debug (defaults to <param 2>). 14 # 15 define odin_implib 16 $(eval $(def_odin_implib)) 17 endef 18 19 define def_odin_implib 20 LIBRARIES += $(1)_imp 21 $(1)_imp_TEMPLATE = OdinCxx 22 $(1)_imp_NAME = $(1) 23 ifeq ($(3),) 24 $(1)_imp_SOURCES = $(if $(2),$(2),$(1).def) 25 else 26 $(1)_imp_SOURCES.release = $(if $(2),$(2),$(1).def) 27 $(1)_imp_SOURCES.debug = $(3) 28 endif 29 endef 30 31 ## 32 # Shortcut to $(call odin_implib, <param 1>, <param 1>.def, <param 1>dbg.def). 33 # @param 1 DLL target name. 34 # 35 define odin_implib_2 36 $(call odin_implib, $(1), $(1).def, $(1)dbg.def) 37 endef 8 38 9 39 # Handler for Wine RC (.orc) source files
Note:
See TracChangeset
for help on using the changeset viewer.
