Makefile.in (1833B)
1 ## Makefile.in for ICU - tools/gentest 2 ## Copyright (C) 2016 and later: Unicode, Inc. and others. 3 ## License & terms of use: http://www.unicode.org/copyright.html 4 ## Copyright (c) 1999-2011, International Business Machines Corporation and 5 ## others. All Rights Reserved. 6 ## Madhu Katragadda 7 8 ## Source directory information 9 srcdir = @srcdir@ 10 top_srcdir = @top_srcdir@ 11 12 top_builddir = ../.. 13 14 include $(top_builddir)/icudefs.mk 15 16 ## Build directory information 17 subdir = tools/gentest 18 19 ## Extra files to remove for 'make clean' 20 CLEANFILES = *~ $(DEPS) 21 22 ## Target information 23 TARGET = gentest$(EXEEXT) 24 25 CPPFLAGS += -I$(top_srcdir)/common -I$(srcdir)/../toolutil -I$(top_srcdir)/tools/ctestfw 26 CPPFLAGS+= -I$(top_srcdir)/i18n 27 LIBS = $(LIBCTESTFW) $(LIBICUTOOLUTIL) $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M) 28 29 SOURCES = $(shell cat $(srcdir)/sources.txt) 30 OBJECTS = $(SOURCES:.c=.o) 31 32 DEPS = $(OBJECTS:.o=.d) 33 34 ## List of phony targets 35 .PHONY : all all-local install install-local clean clean-local \ 36 distclean distclean-local dist dist-local check check-local 37 38 ## Clear suffix list 39 .SUFFIXES : 40 41 ## List of standard targets 42 all: all-local 43 install: install-local 44 clean: clean-local 45 distclean : distclean-local 46 dist: dist-local 47 check: all check-local 48 49 all-local: $(TARGET) 50 51 install-local: all-local 52 53 dist-local: 54 55 clean-local: 56 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) 57 $(RMV) $(TARGET) $(OBJECTS) 58 59 distclean-local: clean-local 60 $(RMV) Makefile 61 62 check-local: all-local 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