- Timestamp:
- Aug 11, 2005 10:31:35 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/footer.kmk
r276 r316 124 124 # @param $1 source file 125 125 # @param $2 normalized main target 126 _OBJECT_BASE = $(PATH_TARGET)/$(2)/$(call no-root-slash,$(call no-drive,$(basename $(patsubst $(PATH_TARGET)/$(2)/%,gen/%,$(1))))) 126 # @remark There are two major hacks here: 127 # 1. Source files in the output directory are translated into a gen/ subdir. 128 # 2. Catch anyone specifying $(PATH_CURRENT)/sourcefile.c. 129 _OBJECT_BASE = $(PATH_TARGET)/$(2)/$(call no-root-slash,$(call no-drive,$(basename \ 130 $(patsubst $(PATH_ROOT)/%,%,$(patsubst $(PATH_CURRENT)/%,%,$(patsubst $(PATH_TARGET)/$(2)/%,gen/%,$(1))))))) 127 131 128 132 ## Figure out where to put object files. … … 827 831 # $ (RM) -f $$@ 828 832 # $ (CP) $(exe) $$@ 829 #endif 833 #endif 830 834 831 835 _BLDPROGS += $(pubexe) … … 908 912 # $ ( RM) -f $$@ 909 913 # $ ( CP) $(lib) $$@ 910 #endif 911 914 #endif 915 912 916 _LIBS += $(publib) 913 917 _OUT_FILES += $(lib) $(publib) … … 1090 1094 # $(RM) -f $$@ 1091 1095 # $(CP) $(dll) $$@ 1092 #endif 1096 #endif 1093 1097 1094 1098 $(eval TARGET_PUB_$(target) := $(pubdll)) … … 1273 1277 # $(RM) -f $$@ 1274 1278 # $(CP) $(exe) $$@ 1275 #endif 1279 #endif 1276 1280 1277 1281 _PROGRAMS += $(pubexe) … … 1454 1458 # $(RM) -f $$@ 1455 1459 # $(CP) $(sys) $$@ 1456 #endif 1460 #endif 1457 1461 1458 1462 $(eval _SYSMODS += $(pubsys))
Note:
See TracChangeset
for help on using the changeset viewer.