]> git.saurik.com Git - apple/icu.git/blame_incremental - icuSources/tools/makeconv/Makefile.in
ICU-6.2.10.tar.gz
[apple/icu.git] / icuSources / tools / makeconv / Makefile.in
... / ...
CommitLineData
1## Makefile.in for ICU - tools/makeconv
2## Copyright (c) 1999-2004, International Business Machines Corporation and
3## others. All Rights Reserved.
4## Stephen F. Booth
5
6## Source directory information
7srcdir = @srcdir@
8top_srcdir = @top_srcdir@
9
10top_builddir = ../..
11
12include $(top_builddir)/icudefs.mk
13
14##
15
16TARGET_STUB_NAME = makeconv
17
18SECTION = 1
19
20MANX_FILES = $(TARGET_STUB_NAME).$(SECTION)
21
22ALL_MAN_FILES = $(MANX_FILES)
23
24
25## Build directory information
26subdir = tools/makeconv
27
28## Extra files to remove for 'make clean'
29CLEANFILES = *~ $(ALL_MAN_FILES) $(DEPS)
30
31## Target information
32TARGET = $(BINDIR)/$(TARGET_STUB_NAME)$(EXEEXT)
33
34CPPFLAGS += -I$(top_builddir)/common -I$(top_srcdir)/common -I$(srcdir)/../toolutil
35LIBS = $(LIBICUTOOLUTIL) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
36
37OBJECTS = makeconv.o ucnvstat.o genmbcs.o gencnvex.o
38
39DEPS = $(OBJECTS:.o=.d)
40
41
42## List of phony targets
43.PHONY : all all-local install install-local install-man clean clean-local \
44 distclean distclean-local dist dist-local check \
45 check-local
46
47## Clear suffix list
48.SUFFIXES :
49
50## List of standard targets
51all: all-local
52install: install-local
53clean: clean-local
54distclean : distclean-local
55dist: dist-local
56check: all check-local
57
58all-local: $(TARGET) $(ALL_MAN_FILES)
59
60install-local: all-local install-man
61 $(MKINSTALLDIRS) $(DESTDIR)$(bindir)
62 $(INSTALL) $(TARGET) $(DESTDIR)$(bindir)
63
64dist-local:
65
66rebuild: $(TARGET)
67 -$(RMV)
68 $(MAKE) all-local
69
70clean-local:
71 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
72 $(RMV) $(TARGET) $(OBJECTS)
73
74distclean-local: clean-local
75 $(RMV) Makefile
76
77check-local: all-local
78
79
80Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
81 cd $(top_builddir) \
82 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
83
84$(TARGET): $(OBJECTS)
85 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
86
87install-man: install-manx
88install-manx: $(MANX_FILES)
89 $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION)
90 $(INSTALL_DATA) $? $(DESTDIR)$(mandir)/man$(SECTION)
91
92%.$(SECTION): $(srcdir)/%.$(SECTION).in
93 cd $(top_builddir) \
94 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
95
96
97ifeq (,$(MAKECMDGOALS))
98-include $(DEPS)
99else
100ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
101-include $(DEPS)
102endif
103endif