1 ## Makefile.in for ICU - tools/gentest 2 ## Copyright (c) 1999-2011, International Business Machines Corporation and 3 ## others. All Rights Reserved. 4 ## Madhu Katragadda 5 6 ## Source directory information 7 srcdir = @srcdir@ 8 top_srcdir = @top_srcdir@ 9 10 top_builddir = ../.. 11 12 include $(top_builddir)/icudefs.mk 13 14 ## Build directory information 15 subdir = tools/gentest 16 17 ## Extra files to remove for 'make clean' 18 CLEANFILES = *~ $(DEPS) 19 20 ## Target information 21 TARGET = gentest$(EXEEXT) 22 23 CPPFLAGS += -I$(top_srcdir)/common -I$(srcdir)/../toolutil -I$(top_srcdir)/tools/ctestfw 24 CPPFLAGS+= -I$(top_srcdir)/i18n 25 LIBS = $(LIBCTESTFW) $(LIBICUTOOLUTIL) $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M) 26 27 OBJECTS = gentest.o genres32.o 28 29 DEPS = $(OBJECTS:.o=.d) 30 31 ## List of phony targets 32 .PHONY : all all-local install install-local clean clean-local \ 33 distclean distclean-local dist dist-local check check-local 34 35 ## Clear suffix list 36 .SUFFIXES : 37 38 ## List of standard targets 39 all: all-local 40 install: install-local 41 clean: clean-local 42 distclean : distclean-local 43 dist: dist-local 44 check: all check-local 45 46 all-local: $(TARGET) 47 48 install-local: all-local 49 50 dist-local: 51 52 clean-local: 53 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) 54 $(RMV) $(TARGET) $(OBJECTS) 55 56 distclean-local: clean-local 57 $(RMV) Makefile 58 59 check-local: all-local 60 61 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 62 cd $(top_builddir) \ 63 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 64 65 $(TARGET) : $(OBJECTS) 66 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS) 67 $(POST_BUILD_STEP) 68 69 ifeq (,$(MAKECMDGOALS)) 70 -include $(DEPS) 71 else 72 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),) 73 -include $(DEPS) 74 endif 75 endif 76 77