1 ## Makefile.in for ICU - tools/genuca
2 ## Copyright (c) 1999-2004, 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
15 TARGET_STUB_NAME = genuca
19 MAN_FILES = $(TARGET_STUB_NAME).$(SECTION)
21 ## Build directory information
24 ## Extra files to remove for 'make clean'
25 CLEANFILES = *~ $(MAN_FILES) $(DEPS)
28 TARGET = $(BINDIR)/$(TARGET_STUB_NAME)$(EXEEXT)
30 CPPFLAGS += -I$(top_builddir)/common -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(srcdir)/../toolutil
31 LIBS = $(LIBICUI18N) $(LIBICUTOOLUTIL) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
35 DEPS = $(OBJECTS:.o=.d)
38 ## List of phony targets
39 .PHONY : all all-local install install-local clean clean-local \
40 distclean distclean-local dist dist-local check \
41 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)
63 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
64 $(RMV) $(TARGET) $(OBJECTS)
66 distclean-local: clean-local
69 check-local: all-local
71 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
73 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
75 $(TARGET) : $(OBJECTS)
76 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
79 # the 'mv' will always fail if you are building in the source dir
82 install-man: $(MAN_FILES)
83 $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION)
84 $(INSTALL_DATA) $< $(DESTDIR)$(mandir)/man$(SECTION)
86 %.$(SECTION): $(srcdir)/%.$(SECTION).in
88 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
90 # build postscript and pdf formats
91 #$(TARGET).ps: $(TARGET).$(SECTION)
92 # groff -man < $< > $@
94 #$(TARGET).pdf: $(TARGET).ps
97 ifeq (,$(MAKECMDGOALS))
100 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)