• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## Copyright (C) 2016 and later: Unicode, Inc. and others.
2## License & terms of use: http://www.unicode.org/copyright.html#License
3##
4## Makefile.in for ICU - samples/date
5## Copyright (c) 1999-2012, International Business Machines Corporation and
6## others. All Rights Reserved.
7
8## Source directory information
9
10srcdir=@srcdir@
11top_srcdir=@top_srcdir@
12
13top_builddir = ../..
14
15include $(top_builddir)/icudefs.mk
16
17## Build directory information
18subdir = samples/date
19
20## Extra files to remove for 'make clean'
21CLEANFILES = *~ $(DEPS)
22
23## Target information
24TARGET = icudate$(EXEEXT)
25
26CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/i18n
27LIBS = $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
28
29OBJECTS = uprint.o date.o
30
31DEPS = $(OBJECTS:.o=.d)
32
33## List of phony targets
34.PHONY : all all-local install install-local clean clean-local \
35distclean distclean-local dist dist-local check check-local
36
37## Clear suffix list
38.SUFFIXES :
39
40## List of standard targets
41all: all-local
42install: install-local
43clean: clean-local
44distclean : distclean-local
45dist: dist-local
46check: all check-local
47
48all-local: $(TARGET)
49
50install-local: all-local
51
52dist-local:
53
54clean-local:
55	test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
56	$(RMV) $(OBJECTS) $(TARGET)
57
58distclean-local: clean-local
59	$(RMV) Makefile
60
61check-local:
62	-$(INVOKE) ./$(TARGET) $(ICUDATE_OPTS)
63
64Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
65	cd $(top_builddir) \
66	 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
67
68$(TARGET) : $(OBJECTS)
69	$(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
70	$(POST_BUILD_STEP)
71
72ifeq (,$(MAKECMDGOALS))
73-include $(DEPS)
74else
75ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
76-include $(DEPS)
77endif
78endif
79