Home | History | Annotate | Download | only in compat
      1 ## Makefile.in for ICU - samples/tzdate
      2 ## Copyright (c) 1999-2007, International Business Machines Corporation and
      3 ## others. All Rights Reserved.
      4 
      5 ## Source directory information
      6 
      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 = test/compat
     16 
     17 ## Extra files to remove for 'make clean'
     18 CLEANFILES = *~ $(DEPS)
     19 
     20 ## Target information
     21 TARGET = tzdate$(EXEEXT)
     22 
     23 CPPFLAGS += -I$(top_builddir)/common -I$(top_srcdir)/common -I$(top_srcdir)/i18n
     24 LIBS = $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
     25 
     26 OBJECTS = tzdate.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: all-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 check-local:
     59 	-$(INVOKE) ./$(TARGET) $(TZDATE_OPTS)
     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.c) $(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