]> git.saurik.com Git - apple/icu.git/blame - icuSources/samples/cal/Makefile.in
ICU-3.13.tar.gz
[apple/icu.git] / icuSources / samples / cal / Makefile.in
CommitLineData
b75a7d8f
A
1## Makefile.in for ICU - samples/cal
2## Copyright (c) 1999-2001, 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
22
23LINK = $(LINK.cc)
24
25CPPFLAGS += -I$(top_builddir)/common -I$(top_srcdir)/common -I$(top_srcdir)/i18n
26LIBS = $(LIBICUI18N) $(LIBICUUC) @LIBS@ @LIB_M@
27
28OBJECTS = uprint.o cal.o
29
30DEPS = $(OBJECTS:.o=.d)
31
32## List of phony targets
33.PHONY : all all-local install install-local clean clean-local \
34distclean distclean-local dist dist-local check check-local
35
36## Clear suffix list
37.SUFFIXES :
38
39## List of standard targets
40all: all-local
41install: install-local
42clean: clean-local
43distclean : distclean-local
44dist: dist-local
45check: all check-local
46
47all-local: $(TARGET)
48
49install-local: all-local
50
51dist-local:
52
53clean-local:
54 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
55 $(RMV) $(OBJECTS) $(TARGET)
56
57distclean-local: clean-local
58 $(RMV) Makefile
59
60check-local:
61 -$(INVOKE) ./$(TARGET)
62
63Makefile: $(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) -o $@ $^ $(LIBS)
69
70ifeq (,$(MAKECMDGOALS))
71-include $(DEPS)
72else
73ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
74-include $(DEPS)
75endif
76endif