]> git.saurik.com Git - apple/icu.git/blame - icuSources/tools/genbrk/Makefile.in
ICU-57166.0.1.tar.gz
[apple/icu.git] / icuSources / tools / genbrk / Makefile.in
CommitLineData
b75a7d8f 1## Makefile.in for ICU - tools/genbrk
4388f060 2## Copyright (c) 2002-2011 International Business Machines Corporation and
b75a7d8f
A
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
73c04bcf
A
13## Build directory information
14subdir = tools/genbrk
b75a7d8f 15
374ca955
A
16TARGET_STUB_NAME = genbrk
17
b75a7d8f
A
18SECTION = 1
19
374ca955 20MAN_FILES = $(TARGET_STUB_NAME).$(SECTION)
b75a7d8f 21
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
A
31
32OBJECTS = genbrk.o
33
34DEPS = $(OBJECTS:.o=.d)
35
36## List of phony targets
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 52
73c04bcf 53install-local: all-local install-man
b75a7d8f
A
54 $(MKINSTALLDIRS) $(DESTDIR)$(bindir)
55 $(INSTALL) $(TARGET) $(DESTDIR)$(bindir)
56
73c04bcf
A
57install-man: $(MAN_FILES)
58 $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION)
59 $(INSTALL_DATA) $? $(DESTDIR)$(mandir)/man$(SECTION)
60
374ca955 61dist-local:
b75a7d8f 62
73c04bcf 63clean-local:
b75a7d8f
A
64 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
65 $(RMV) $(TARGET) $(OBJECTS)
66
67distclean-local: clean-local
68 $(RMV) Makefile
69
70check-local: all-local
71
72Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
73 cd $(top_builddir) \
74 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
75
76$(TARGET) : $(OBJECTS)
73c04bcf 77 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
46f4442e 78 $(POST_BUILD_STEP)
b75a7d8f
A
79
80
81%.$(SECTION): $(srcdir)/%.$(SECTION).in
82 cd $(top_builddir) \
83 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
84
b75a7d8f
A
85
86ifeq (,$(MAKECMDGOALS))
87-include $(DEPS)
88else
89ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
90-include $(DEPS)
91endif
92endif
93