mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-08-31 10:00:16 +02:00
20 lines
487 B
Makefile
20 lines
487 B
Makefile
|
|
||
|
ifdef _NO_AUTO_VARS
|
||
|
_TARGET = $(srcdir)/$(@F)
|
||
|
else
|
||
|
_TARGET = $@
|
||
|
endif
|
||
|
|
||
|
$(warning FINAL_LINK_COMP_NAMES = $(FINAL_LINK_COMP_NAMES))
|
||
|
$(warning FINAL_LINK_COMPS = $(FINAL_LINK_COMPS))
|
||
|
|
||
|
nsStaticComponents.cpp: $(topsrcdir)/config/nsStaticComponents.cpp.in Makefile Makefile.in $(FINAL_LINK_COMP_NAMES)
|
||
|
rm -f $@
|
||
|
cat $< | \
|
||
|
sed -e "s|%MODULE_LIST%|$(foreach m, $(STATIC_COMPONENT_LIST),MODULE($(m)))|" \
|
||
|
> $(_TARGET)
|
||
|
|
||
|
ifeq ($(OS_ARCH),IRIX)
|
||
|
LDFLAGS += -Wl,-LD_LAYOUT:lgot_buffer=80
|
||
|
endif
|