]> git.saurik.com Git - apple/icu.git/blame - icuSources/samples/date/Makefile.in
ICU-3.13.tar.gz
[apple/icu.git] / icuSources / samples / date / Makefile.in
CommitLineData
b75a7d8f
A
1## Makefile.in for ICU - samples/date
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
9top_builddir = ../..
10
11include $(top_builddir)/icudefs.mk
12
13## Platform-specific setup
14include @platform_make_fragment@
15
16## Build directory information
17subdir = samples/date
18
19## Extra files to remove for 'make clean'
20CLEANFILES = *~ $(DEPS)
21
22## Target information
23TARGET = icudate
24
25ENABLE_STATIC = @ENABLE_STATIC@
26
27LINK = $(LINK.cc)
28
29CPPFLAGS += -I$(top_builddir)/common -I$(top_srcdir)/common -I$(top_srcdir)/i18n
30LIBS = $(LIBICUI18N) $(LIBICUUC) @LIBS@ @LIB_M@
31
32OBJECTS = uprint.o date.o
33
34DEPS = $(OBJECTS:.o=.d)
35
36## List of phony targets
37.PHONY : all all-local install install-local clean clean-local \
38distclean distclean-local dist dist-local check check-local
39
40## Clear suffix list
41.SUFFIXES :
42
43## List of standard targets
44all: all-local
45install: install-local
46clean: clean-local
47distclean : distclean-local
48dist: dist-local
49check: all check-local
50
51all-local: $(TARGET)
52
53install-local: all-local
54
55dist-local:
56
57clean-local:
58 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
59 $(RMV) $(OBJECTS) $(TARGET)
60
61distclean-local: clean-local
62 $(RMV) Makefile
63
64check-local:
65 -$(INVOKE) ./$(TARGET)
66
67Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
68 cd $(top_builddir) \
69 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
70
71$(TARGET) : $(OBJECTS)
72 $(LINK) -o $@ $^ $(LIBS)
73
74ifeq (,$(MAKECMDGOALS))
75-include $(DEPS)
76else
77ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
78-include $(DEPS)
79endif
80endif