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