1 ## Makefile.in for ICU - tools/gencnval
2 ## Copyright (c) 1999-2004, International Business Machines Corporation and
3 ## others. All Rights Reserved.
6 ## Install directory information
8 top_srcdir = @top_srcdir@
12 include $(top_builddir)/icudefs.mk
14 ## Build directory information
15 subdir = tools/gencnval
19 TARGET_STUB_NAME = gencnval
23 MANX_FILES = $(TARGET_STUB_NAME).$(SECTION)
25 ALL_MAN_FILES = $(MANX_FILES)
27 ## Extra files to remove for 'make clean'
28 CLEANFILES = *~ $(ALL_MAN_FILES) $(DEPS)
31 TARGET = $(BINDIR)/$(TARGET_STUB_NAME)$(EXEEXT)
33 CPPFLAGS += -I$(top_builddir)/common -I$(top_srcdir)/common -I$(srcdir)/../toolutil
34 LIBS = $(LIBICUTOOLUTIL) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
38 DEPS = $(OBJECTS:.o=.d)
41 ## List of phony targets
42 .PHONY : all all-local install install-local clean clean-local \
43 distclean distclean-local dist dist-local check \
44 check-local install-man install-manx
49 ## List of standard targets
51 install: install-local
53 distclean : distclean-local
55 check: all check-local
57 all-local: $(TARGET) $(ALL_MAN_FILES)
59 install-local: all-local install-man
60 $(MKINSTALLDIRS) $(DESTDIR)$(bindir)
61 $(INSTALL) $(TARGET) $(DESTDIR)$(bindir)
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 install-man: install-manx
84 install-manx: $(MANX_FILES)
85 $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION)
86 $(INSTALL_DATA) $? $(DESTDIR)$(mandir)/man$(SECTION)
88 %.$(SECTION): $(srcdir)/%.$(SECTION).in
90 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
92 # only on linux probably ?
93 #$(TARGET).ps: $(TARGET).$(SECTION)
94 # groff -man < $< > $@
96 #$(TARGET).pdf: $(TARGET).ps
99 ifeq (,$(MAKECMDGOALS))
102 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)