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