mirror of
https://github.com/reactos/reactos.git
synced 2026-07-06 21:54:22 +08:00
63 lines
1.6 KiB
Makefile
63 lines
1.6 KiB
Makefile
TOOLS_BASE = tools
|
|
TOOLS_BASE_ = $(TOOLS_BASE)$(SEP)
|
|
TOOLS_INT = $(INTERMEDIATE_)$(TOOLS_BASE)
|
|
TOOLS_INT_ = $(TOOLS_INT)$(SEP)
|
|
TOOLS_OUT = $(OUTPUT_)$(TOOLS_BASE)
|
|
TOOLS_OUT_ = $(TOOLS_OUT)$(SEP)
|
|
|
|
TOOLS_CFLAGS = $(CFLAGS) -Wall -Wpointer-arith -Wno-strict-aliasing
|
|
TOOLS_CPPFLAGS = $(CPPFLAGS) -Wall -Wpointer-arith
|
|
TOOLS_LFLAGS = $(LFLAGS)
|
|
|
|
$(TOOLS_INT): | $(INTERMEDIATE)
|
|
$(ECHO_MKDIR)
|
|
${mkdir} $@
|
|
|
|
ifneq ($(INTERMEDIATE),$(OUTPUT))
|
|
$(TOOLS_OUT): | $(OUTPUT)
|
|
$(ECHO_MKDIR)
|
|
${mkdir} $@
|
|
endif
|
|
|
|
XML_SSPRINTF_SOURCES = $(addprefix $(TOOLS_BASE_), \
|
|
ssprintf.cpp \
|
|
xml.cpp \
|
|
)
|
|
|
|
XML_SSPRINTF_HEADERS = $(addprefix $(TOOLS_BASE_), \
|
|
ssprintf.h \
|
|
xml.h \
|
|
)
|
|
|
|
XML_SSPRINTF_OBJECTS = \
|
|
$(addprefix $(INTERMEDIATE_), $(XML_SSPRINTF_SOURCES:.cpp=.o))
|
|
|
|
$(TOOLS_INT_)ssprintf.o: $(TOOLS_BASE_)ssprintf.cpp $(XML_SSPRINTF_HEADERS) | $(TOOLS_INT)
|
|
$(ECHO_CC)
|
|
${host_gcc} $(TOOLS_CPPFLAGS) -c $< -o $@
|
|
|
|
$(TOOLS_INT_)xml.o: $(TOOLS_BASE_)xml.cpp $(XML_SSPRINTF_HEADERS) | $(TOOLS_INT)
|
|
$(ECHO_CC)
|
|
${host_gcc} $(TOOLS_CPPFLAGS) -c $< -o $@
|
|
|
|
include tools/bin2c.mak
|
|
include tools/bin2res/bin2res.mak
|
|
include tools/buildno/buildno.mak
|
|
include tools/cabman/cabman.mak
|
|
include tools/cdmake/cdmake.mak
|
|
include tools/dbgprint/dbgprint.mak
|
|
include tools/gendib/gendib.mak
|
|
include tools/mkhive/mkhive.mak
|
|
include tools/nci/nci.mak
|
|
include tools/pefixup.mak
|
|
include tools/raddr2line.mak
|
|
include tools/rbuild/rbuild.mak
|
|
include tools/rgenstat/rgenstat.mak
|
|
include tools/rsym.mak
|
|
include tools/sysreg/sysreg.mak
|
|
include tools/unicode/unicode.mak
|
|
include tools/wpp/wpp.mak
|
|
include tools/widl/widl.mak
|
|
include tools/winebuild/winebuild.mak
|
|
include tools/wmc/wmc.mak
|
|
include tools/wrc/wrc.mak |