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