Files
reactos/reactos/tools/tools.mak
T
Art Yerkes 0abf169695 All remaining changes from the PPC branch. Not well tested yet. Many things
are indeed still stubs or WIP code.

Some people have been interested in helping out from some time and I'm sorry
I haven't been able to do this merge finally for a while.

svn path=/trunk/; revision=29407
2007-10-06 07:53:20 +00:00

70 lines
1.8 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 = -Wall -Wpointer-arith -Wno-strict-aliasing $(HOST_CFLAGS)
TOOLS_CPPFLAGS = -Wall -Wpointer-arith $(HOST_CPPFLAGS)
TOOLS_LFLAGS = $(HOST_LFLAGS)
# HACK: Remove those lines once host tools don't use target headers anymore
TOOLS_CFLAGS += -D__i386__
TOOLS_CPPFLAGS += -D__i386__
$(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_gpp} $(TOOLS_CPPFLAGS) -c $< -o $@
$(TOOLS_INT_)xml.o: $(TOOLS_BASE_)xml.cpp $(XML_SSPRINTF_HEADERS) | $(TOOLS_INT)
$(ECHO_CC)
${host_gpp} $(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/gendib/gendib.mak
ifeq ($(ARCH),powerpc)
include tools/ofw_interface/ofw_interface.mak
endif
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