]> git.saurik.com Git - apple/icu.git/blame - icuSources/tools/gencase/Makefile.in
ICU-8.11.1.tar.gz
[apple/icu.git] / icuSources / tools / gencase / Makefile.in
CommitLineData
374ca955 1## Makefile.in for ICU - tools/gencase
73c04bcf 2## Copyright (c) 1999-2005, 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
73c04bcf
A
14## Build directory information
15subdir = tools/gencase
b75a7d8f 16
374ca955
A
17TARGET_STUB_NAME = gencase
18
b75a7d8f
A
19SECTION = 8
20
73c04bcf 21#MAN_FILES = $(TARGET_STUB_NAME).$(SECTION)
b75a7d8f 22
b75a7d8f
A
23
24## Extra files to remove for 'make clean'
374ca955 25CLEANFILES = *~ $(DEPS) $(MAN_FILES)
b75a7d8f
A
26
27## Target information
374ca955 28TARGET = $(BINDIR)/$(TARGET_STUB_NAME)$(EXEEXT)
b75a7d8f 29
73c04bcf
A
30ifneq ($(top_builddir),$(top_srcdir))
31CPPFLAGS += -I$(top_builddir)/common
32endif
33CPPFLAGS += -I$(top_srcdir)/common -I$(srcdir)/../toolutil
34LIBS = $(LIBICUTOOLUTIL) $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
b75a7d8f 35
374ca955 36OBJECTS = gencase.o store.o
b75a7d8f
A
37
38DEPS = $(OBJECTS:.o=.d)
39
40## List of phony targets
73c04bcf
A
41.PHONY : all all-local install install-local clean clean-local \
42distclean distclean-local dist dist-local check check-local install-man
b75a7d8f
A
43
44## Clear suffix list
45.SUFFIXES :
46
47## List of standard targets
48all: all-local
49install: install-local
50clean: clean-local
51distclean : distclean-local
52dist: dist-local
53check: all check-local
54
374ca955 55all-local: $(TARGET) $(MAN_FILES)
b75a7d8f
A
56
57install-local: all-local install-man
b75a7d8f 58
b75a7d8f 59install-man: $(MAN_FILES)
73c04bcf
A
60# $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION)
61# $(INSTALL_DATA) $? $(DESTDIR)$(mandir)/man$(SECTION)
b75a7d8f
A
62
63dist-local:
64
65clean-local:
66 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
67 $(RMV) $(TARGET) $(OBJECTS)
68
69distclean-local: clean-local
70 $(RMV) Makefile
71
72check-local: all-local
73
74Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
75 cd $(top_builddir) \
76 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
77
78$(TARGET) : $(OBJECTS)
73c04bcf
A
79 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
80
81
82%.$(SECTION): $(srcdir)/%.$(SECTION).in
83 cd $(top_builddir) \
84 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
85
b75a7d8f
A
86
87ifeq (,$(MAKECMDGOALS))
88-include $(DEPS)
89else
90ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
91-include $(DEPS)
92endif
93endif
73c04bcf 94