## Makefile.in for ICU - tools/gentest
-
-## Copyright (c) 1999-2004, International Business Machines Corporation and
+## Copyright (c) 1999-2008, International Business Machines Corporation and
## others. All Rights Reserved.
## Madhu Katragadda
## 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 -I$(top_srcdir)/tools/ctestfw
+CPPFLAGS+= -I$(top_srcdir)/i18n
+LIBS = $(LIBCTESTFW) $(LIBICUTOOLUTIL) $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
OBJECTS = gentest.o genres32.o
## 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 :
dist-local:
-clean-local:
+clean-local:
test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
$(RMV) $(TARGET) $(OBJECTS)
$(TARGET) : $(OBJECTS)
$(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
+ $(POST_BUILD_STEP)
ifeq (,$(MAKECMDGOALS))
-include $(DEPS)
endif
endif
-