Home | History | Annotate | Download | only in howExpensiveIs
      1 ## Makefile.in for ICU - test/perf/howExpensiveIs
      2 ## Copyright (c) 2001-2012, International Business Machines Corporation and
      3 ## others. All Rights Reserved.
      4 
      5 ## Source directory information
      6 srcdir = @srcdir@
      7 top_srcdir = @top_srcdir@
      8 
      9 top_builddir = ../../..
     10 
     11 include $(top_builddir)/icudefs.mk
     12 
     13 ## Target information
     14 TARGET = howExpensiveIs
     15 
     16 ## Build directory information
     17 subdir = test/perf/$(TARGET)
     18 
     19 ## Extra files to remove for 'make clean'
     20 CLEANFILES = *~ $(DEPS)
     21 
     22 CPPFLAGS += -I$(top_srcdir)/common -I$(top_builddir)/i18n -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/toolutil -I$(top_srcdir)/tools/ctestfw 
     23 
     24 LIBS = $(LIBCTESTFW) $(LIBICUI18N) $(LIBICUUC) $(LIBICUTOOLUTIL) $(DEFAULT_LIBS) $(LIB_M)
     25 
     26 OBJECTS = howExpensiveIs.o sieve.o
     27 
     28 DEPS = $(OBJECTS:.o=.d)
     29 
     30 ## List of phony targets
     31 .PHONY : all all-local install install-local clean clean-local	\
     32 distclean distclean-local dist dist-local check check-local
     33 
     34 ## Clear suffix list
     35 .SUFFIXES :
     36 
     37 ## List of standard targets
     38 all: all-local
     39 install: install-local
     40 clean: clean-local
     41 distclean : distclean-local
     42 dist: dist-local
     43 check: all check-local
     44 
     45 all-local: $(TARGET)
     46 
     47 install-local:
     48 
     49 dist-local:
     50 
     51 clean-local:
     52 	test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
     53 	$(RMV) $(OBJECTS) $(TARGET)
     54 
     55 distclean-local: clean-local
     56 	$(RMV) Makefile
     57 
     58 invoke check-local: all-local
     59 	ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) ./$(TARGET) ./howexpensive.xml
     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) -o $@ $^ $(LIBS)
     67 	$(POST_BUILD_STEP)
     68 
     69 ifeq (,$(MAKECMDGOALS))
     70 -include $(DEPS)
     71 else
     72 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
     73 ifneq ($(patsubst %install,,$(MAKECMDGOALS)),)
     74 -include $(DEPS)
     75 endif
     76 endif
     77 endif
     78 
     79 -include Makefile.local
     80