# $(<FILE_TYPES_LIST>) Macro point to a file containing list of files of a file type\r
# (\r
# Note: The macro and file name are derived from file type name.\r
-# For example, C-Code-File will have C_CODE_FILES_LIST macro pointing \r
+# For example, C-Code-File will have C_CODE_FILES_LIST macro pointing\r
# to $(OUTPUT_DIR)/c_code_files.lst. The list file and macro name\r
# will be generated only when this macro is used in command line.\r
# This is intended to get over the long command line limitation.\r
$(OUTPUT_DIR)(+)$(MODULE_NAME).lib\r
\r
<Command.MSFT, Command.INTEL>\r
- "$(SLINK)" $(SLINK_FLAGS) /OUT:${dst} ${src}\r
+ "$(SLINK)" $(SLINK_FLAGS) /OUT:${dst} $(OBJECT_FILES)\r
\r
<Command.GCC>\r
- "$(SLINK)" -cr ${dst} $(SLINK_FLAGS) ${src}\r
+ "$(SLINK)" -cr ${dst} $(SLINK_FLAGS) $(OBJECT_FILES)\r
\r
[Static-Library-File]\r
<InputFile>\r
$(DEBUG_DIR)(+)$(MODULE_NAME).dll\r
\r
<Command.MSFT, Command.INTEL>\r
- "$(DLINK)" /OUT:${dst} $(DLINK_FLAGS) $(DLINK_SPATH) ${src} \r
+ "$(DLINK)" /OUT:${dst} $(DLINK_FLAGS) $(DLINK_SPATH) $(STATIC_LIBRARY_FILES)\r
\r
<Command.GCC>\r
- "$(DLINK)" -o ${dst} $(DLINK_FLAGS) -\( $(DLINK_SPATH) ${src} -\) $(DLINK2_FLAGS)\r
+ "$(DLINK)" -o ${dst} $(DLINK_FLAGS) -\( $(DLINK_SPATH) $(STATIC_LIBRARY_FILES) -\) $(DLINK2_FLAGS)\r
+\r
+[Static-Library-File.USER_DEFINED]\r
+ <InputFile>\r
+ *.lib\r
+\r
+ <ExtraDependency>\r
+ $(MAKE_FILE)\r
+\r
+ <OutputFile>\r
+ $(DEBUG_DIR)(+)$(MODULE_NAME)\r
+\r
+ <Command.MSFT, Command.INTEL>\r
+ "$(DLINK)" $(DLINK_FLAGS) $(DLINK_SPATH) $(STATIC_LIBRARY_FILES)\r
+\r
+ <Command.GCC>\r
+ "$(DLINK)" $(DLINK_FLAGS) -\( $(DLINK_SPATH) $(STATIC_LIBRARY_FILES) -\) $(DLINK2_FLAGS)\r
\r
[Dynamic-Library-File]\r
<InputFile>\r
$(OUTPUT_DIR)(+)$(MODULE_NAME).bin\r
\r
<Command>\r
- GenFw -o ${dst} -j ${src}\r
+ GenFw -o ${dst} -j $(MICROCODE_BINARY_FILES)\r
-$(CP) ${dst} $(BIN_DIR)\r
\r
[EFI-Image-File]\r