X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/b75a7d8f3b4adbae880cab104ce2c6a50eee4db2..d5d484b0fbe924d3663b177965538d517ee412c1:/icuSources/tools/gentest/Makefile.in diff --git a/icuSources/tools/gentest/Makefile.in b/icuSources/tools/gentest/Makefile.in index 429e531a..39f1f925 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-2005, International Business Machines Corporation and ## others. All Rights Reserved. ## Madhu Katragadda @@ -15,29 +14,25 @@ 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 +LIBS = $(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 +51,7 @@ install-local: all-local dist-local: -clean-local: +clean-local: test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) $(RMV) $(TARGET) $(OBJECTS) @@ -80,4 +75,3 @@ ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),) endif endif -