X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/b75a7d8f3b4adbae880cab104ce2c6a50eee4db2..b25be06635768807f8f693286fa73bb2297bb06c:/icuSources/tools/gentest/Makefile.in?ds=sidebyside diff --git a/icuSources/tools/gentest/Makefile.in b/icuSources/tools/gentest/Makefile.in index 429e531a..6d8e7eb1 100644 --- a/icuSources/tools/gentest/Makefile.in +++ b/icuSources/tools/gentest/Makefile.in @@ -1,6 +1,5 @@ ## Makefile.in for ICU - tools/gentest - -## Copyright (c) 1999-2003, International Business Machines Corporation and +## Copyright (c) 1999-2008, International Business Machines Corporation and ## others. All Rights Reserved. ## Madhu Katragadda @@ -15,29 +14,26 @@ include $(top_builddir)/icudefs.mk ## Build directory information subdir = tools/gentest -## - -ICUDATADIR=$(top_builddir)/data - ## Extra files to remove for 'make clean' -CLEANFILES = *~ $(DEPS) $(RES_FILES) $(TEST_FILES) +CLEANFILES = *~ $(DEPS) ## Target information TARGET = gentest$(EXEEXT) -CPPFLAGS += -I$(top_builddir)/common -I$(top_srcdir)/common -I$(srcdir)/../toolutil -LIBS = $(LIBICUTOOLUTIL) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M) +ifneq ($(top_builddir),$(top_srcdir)) +CPPFLAGS += -I$(top_builddir)/common +endif +CPPFLAGS += -I$(top_srcdir)/common -I$(srcdir)/../toolutil -I$(top_srcdir)/tools/ctestfw +CPPFLAGS+= -I$(top_srcdir)/i18n +LIBS = $(LIBCTESTFW) $(LIBICUTOOLUTIL) $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M) -OBJECTS = gentest.o +OBJECTS = gentest.o genres32.o DEPS = $(OBJECTS:.o=.d) -TEST_FILES = $(ICUDATADIR)/test.dat - ## List of phony targets .PHONY : all all-local install install-local clean clean-local \ -distclean distclean-local dist dist-local check \ -check-local build-data +distclean distclean-local dist dist-local check check-local ## Clear suffix list .SUFFIXES : @@ -56,7 +52,7 @@ install-local: all-local dist-local: -clean-local: +clean-local: test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) $(RMV) $(TARGET) $(OBJECTS) @@ -71,6 +67,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(TARGET) : $(OBJECTS) $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS) + $(POST_BUILD_STEP) ifeq (,$(MAKECMDGOALS)) -include $(DEPS) @@ -80,4 +77,3 @@ ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),) endif endif -