• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
7srcdir=@srcdir@
8top_srcdir=@top_srcdir@
9
10top_builddir = ../..
11
12include $(top_builddir)/icudefs.mk
13
14## Build directory information
15subdir = test/compat
16
17## Extra files to remove for 'make clean'
18CLEANFILES = *~ $(DEPS)
19
20## Target information
21TARGET = tzdate$(EXEEXT)
22
23CPPFLAGS += -I$(top_builddir)/common -I$(top_srcdir)/common -I$(top_srcdir)/i18n
24LIBS = $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
25
26OBJECTS = tzdate.o
27
28DEPS = $(OBJECTS:.o=.d)
29
30## List of phony targets
31.PHONY : all all-local install install-local clean clean-local \
32distclean distclean-local dist dist-local check check-local
33
34## Clear suffix list
35.SUFFIXES :
36
37## List of standard targets
38all: all-local
39install: install-local
40clean: clean-local
41distclean : distclean-local
42dist: dist-local
43check: all check-local
44
45all-local: $(TARGET)
46
47install-local: all-local
48
49dist-local:
50
51clean-local:
52	test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
53	$(RMV) $(OBJECTS) $(TARGET)
54
55distclean-local: clean-local
56	$(RMV) Makefile
57
58check-local:
59	-$(INVOKE) ./$(TARGET) $(TZDATE_OPTS)
60
61Makefile: $(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
69ifeq (,$(MAKECMDGOALS))
70-include $(DEPS)
71else
72ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
73-include $(DEPS)
74endif
75endif
76