1 ## Makefile.in for ICU - tools/icuswap
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.
8 ## Source directory information
10 top_srcdir = @top_srcdir@
14 include $(top_builddir)/icudefs.mk
16 ## Build directory information
17 subdir = tools/icuswap
19 TARGET_STUB_NAME = icuswap
23 #MAN_FILES = $(TARGET_STUB_NAME).$(SECTION)
25 ## Extra files to remove for 'make clean'
26 CLEANFILES = *~ $(DEPS) $(MAN_FILES)
29 TARGET = $(BINDIR)/$(TARGET_STUB_NAME)$(EXEEXT)
31 CPPFLAGS += -I$(top_srcdir)/common -I$(srcdir)/../toolutil
32 LIBS = $(LIBICUTOOLUTIL) $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
36 DEPS = $(OBJECTS:.o=.d)
38 ## List of phony targets
39 .PHONY : all all-local install install-local clean clean-local \
40 distclean distclean-local dist dist-local check check-local install-man
45 ## List of standard targets
47 install: install-local
49 distclean : distclean-local
51 check: all check-local
53 all-local: $(TARGET) $(MAN_FILES)
55 install-local: all-local install-man
56 $(MKINSTALLDIRS) $(DESTDIR)$(sbindir)
57 $(INSTALL) $(TARGET) $(DESTDIR)$(sbindir)
59 install-man: $(MAN_FILES)
60 # $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION)
61 # $(INSTALL_DATA) $? $(DESTDIR)$(mandir)/man$(SECTION)
67 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
68 $(RMV) $(TARGET) $(OBJECTS)
70 distclean-local: clean-local
73 check-local: all-local
75 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
77 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
79 $(TARGET) : $(OBJECTS)
80 echo Note: icuswap is obsolete - use icupkg instead.
81 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
85 %.$(SECTION): $(srcdir)/%.$(SECTION).in
87 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
90 ifeq (,$(MAKECMDGOALS))
93 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)