1## Makefile.in for ICU - samples/cal
2## Copyright (c) 1999-2011, International Business Machines Corporation and
3## others. All Rights Reserved.
4
5## Source directory information
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8
9## Install directory information
10top_builddir = ../..
11
12include $(top_builddir)/icudefs.mk
13
14## Build directory information
15subdir = samples/cal
16
17## Extra files to remove for 'make clean'
18CLEANFILES = *~ $(DEPS)
19
20## Target information
21TARGET = icucal$(EXEEXT)
22
23CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/i18n
24LIBS = $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
25
26OBJECTS = uprint.o cal.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)
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.cc) $(OUTOPT)$@ $^ $(LIBS)
67	$(POST_BUILD_STEP)
68
69ifeq (,$(MAKECMDGOALS))
70-include $(DEPS)
71else
72ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
73-include $(DEPS)
74endif
75endif
76