1 ## Makefile.in for ICU - tools/genuca
2 ## Copyright (c) 1999-2005, International Business Machines Corporation and
3 ## others. All Rights Reserved.
5 ## Source directory information
7 top_srcdir = @top_srcdir@
11 include $(top_builddir)/icudefs.mk
13 ## Build directory information
16 TARGET_STUB_NAME = genuca
20 MAN_FILES = $(TARGET_STUB_NAME).$(SECTION)
23 ## Extra files to remove for 'make clean'
24 CLEANFILES = *~ $(DEPS) $(MAN_FILES)
27 TARGET = $(BINDIR)/$(TARGET_STUB_NAME)$(EXEEXT)
29 ifneq ($(top_builddir),$(top_srcdir))
30 CPPFLAGS += -I$(top_builddir)/common
32 CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(srcdir)/../toolutil
33 LIBS = $(LIBICUI18N) $(LIBICUTOOLUTIL) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
37 DEPS = $(OBJECTS:.o=.d)
39 ## List of phony targets
40 .PHONY : all all-local install install-local clean clean-local \
41 distclean distclean-local dist dist-local check check-local install-man
46 ## List of standard targets
48 install: install-local
50 distclean : distclean-local
52 check: all check-local
54 all-local: $(TARGET) $(MAN_FILES)
56 install-local: all-local install-man
57 $(MKINSTALLDIRS) $(DESTDIR)$(sbindir)
58 $(INSTALL) $(TARGET) $(DESTDIR)$(sbindir)
60 install-man: $(MAN_FILES)
61 $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION)
62 $(INSTALL_DATA) $? $(DESTDIR)$(mandir)/man$(SECTION)
67 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
68 $(RMV) $(TARGET) $(OBJECTS)
70 distclean-local: clean-local
73 check-local: all-local
75 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
77 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
79 $(TARGET) : $(OBJECTS)
80 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
83 %.$(SECTION): $(srcdir)/%.$(SECTION).in
85 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
88 ifeq (,$(MAKECMDGOALS))
91 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)