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