1# 2# Copyright (C) 2017 and later: Unicode, Inc. and others. 3# License & terms of use: http://www.unicode.org/copyright.html 4# 5## Makefile.in for ICU - extra/colprobe 6## Copyright (c) 2001, International Business Machines Corporation and 7## others. All Rights Reserved. 8 9## Source directory information 10srcdir = @srcdir@ 11top_srcdir = @top_srcdir@ 12 13top_builddir = ../.. 14 15include $(top_builddir)/icudefs.mk 16 17## Build directory information 18subdir = extra/colprobe 19 20## Extra files to remove for 'make clean' 21CLEANFILES = *~ $(DEPS) 22 23## Target information 24TARGET = colprobe 25LONGNAME = longname 26 27CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/toolutil -I$(top_srcdir)/io 28LIBS = $(LIBICUI18N) $(LIBICUUC) $(LIBUSTDIO) $(LIBICUTOOLUTIL) $(DEFAULT_LIBS) $(LIB_M) 29 30OBJECTS = colprobeNew.o line.o sortedlines.o strengthprobe.o uprinter.o 31LONGNAME_OBJ = longname.o 32 33DEPS = $(OBJECTS:.o=.d) 34LONGNAME_DEPS = $(LONGNAME_OBJ:.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: 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: all-local 65 66Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 67 cd $(top_builddir) \ 68 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 69 70$(TARGET) : $(OBJECTS) 71 $(LINK.cc) -o $@ $^ $(LIBS) 72 73$(LONGNAME) : $(LONGNAME_OBJ) 74 $(LINK.cc) -o $@ $^ $(LIBS) 75 76invoke: 77 ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) $(INVOCATION) 78 79ifeq (,$(MAKECMDGOALS)) 80-include $(DEPS) 81else 82ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),) 83-include $(DEPS) 84endif 85endif 86