]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/tools/gentest/Makefile.in
ICU-8.11.4.tar.gz
[apple/icu.git] / icuSources / tools / gentest / Makefile.in
index 422a53f1c729a90958acd65d7163b8122a8fc16c..39f1f9253b25c6524d636cba879af0fd464b597b 100644 (file)
@@ -1,6 +1,5 @@
 ## Makefile.in for ICU - tools/gentest
-
-## Copyright (c) 1999-2004, International Business Machines Corporation and
+## Copyright (c) 1999-2005, International Business Machines Corporation and
 ## others. All Rights Reserved.
 ## Madhu Katragadda
 
@@ -15,16 +14,17 @@ include $(top_builddir)/icudefs.mk
 ## Build directory information
 subdir = tools/gentest
 
-##
-
 ## Extra files to remove for 'make clean'
 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 genres32.o
 
@@ -32,8 +32,7 @@ DEPS = $(OBJECTS:.o=.d)
 
 ## List of phony targets
 .PHONY : all all-local install install-local clean clean-local         \
-distclean distclean-local dist dist-local check        \
-check-local
+distclean distclean-local dist dist-local check check-local
 
 ## Clear suffix list
 .SUFFIXES :
@@ -52,7 +51,7 @@ install-local: all-local
 
 dist-local:
 
-clean-local: 
+clean-local:
        test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
        $(RMV) $(TARGET) $(OBJECTS)
 
@@ -76,4 +75,3 @@ ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
 endif
 endif
 
-