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