]> git.saurik.com Git - apple/icu.git/blame - icuSources/tools/icuswap/Makefile.in
ICU-511.35.tar.gz
[apple/icu.git] / icuSources / tools / icuswap / Makefile.in
CommitLineData
374ca955 1## Makefile.in for ICU - tools/icuswap
4388f060 2## Copyright (c) 1999-2011, International Business Machines Corporation and
b75a7d8f 3## others. All Rights Reserved.
374ca955 4## Steven R. Loomis
b75a7d8f
A
5
6## Source directory information
7srcdir = @srcdir@
8top_srcdir = @top_srcdir@
9
10top_builddir = ../..
11
12include $(top_builddir)/icudefs.mk
13
374ca955
A
14## Build directory information
15subdir = tools/icuswap
16
374ca955 17TARGET_STUB_NAME = icuswap
b75a7d8f 18
73c04bcf 19SECTION = 8
b75a7d8f 20
73c04bcf 21#MAN_FILES = $(TARGET_STUB_NAME).$(SECTION)
b75a7d8f
A
22
23## Extra files to remove for 'make clean'
73c04bcf 24CLEANFILES = *~ $(DEPS) $(MAN_FILES)
b75a7d8f
A
25
26## Target information
374ca955 27TARGET = $(BINDIR)/$(TARGET_STUB_NAME)$(EXEEXT)
b75a7d8f 28
73c04bcf
A
29CPPFLAGS += -I$(top_srcdir)/common -I$(srcdir)/../toolutil
30LIBS = $(LIBICUTOOLUTIL) $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
b75a7d8f 31
374ca955 32OBJECTS = icuswap.o
b75a7d8f
A
33
34DEPS = $(OBJECTS:.o=.d)
35
36## List of phony targets
374ca955 37.PHONY : all all-local install install-local clean clean-local \
73c04bcf 38distclean distclean-local dist dist-local check check-local install-man
b75a7d8f
A
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
73c04bcf 51all-local: $(TARGET) $(MAN_FILES)
b75a7d8f
A
52
53install-local: all-local install-man
54 $(MKINSTALLDIRS) $(DESTDIR)$(sbindir)
374ca955 55 $(INSTALL) $(TARGET) $(DESTDIR)$(sbindir)
b75a7d8f 56
73c04bcf
A
57install-man: $(MAN_FILES)
58# $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION)
59# $(INSTALL_DATA) $? $(DESTDIR)$(mandir)/man$(SECTION)
60
61
b75a7d8f
A
62dist-local:
63
64clean-local:
65 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
66 $(RMV) $(TARGET) $(OBJECTS)
67
68distclean-local: clean-local
69 $(RMV) Makefile
70
71check-local: all-local
72
73Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
74 cd $(top_builddir) \
75 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
76
77$(TARGET) : $(OBJECTS)
729e4ab9 78 echo Note: icuswap is obsolete - use icupkg instead.
73c04bcf 79 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
46f4442e 80 $(POST_BUILD_STEP)
b75a7d8f 81
374ca955
A
82
83%.$(SECTION): $(srcdir)/%.$(SECTION).in
84 cd $(top_builddir) \
85 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
86
73c04bcf 87
b75a7d8f
A
88ifeq (,$(MAKECMDGOALS))
89-include $(DEPS)
90else
91ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
92-include $(DEPS)
93endif
94endif
73c04bcf 95