1 ## Makefile.in for ICU - tools/makeconv
2 ## Copyright (c) 1999-2004, International Business Machines Corporation and
3 ## others. All Rights Reserved.
6 ## Source directory information
8 top_srcdir = @top_srcdir@
12 include $(top_builddir)/icudefs.mk
16 TARGET_STUB_NAME = makeconv
20 MANX_FILES = $(TARGET_STUB_NAME).$(SECTION)
22 ALL_MAN_FILES = $(MANX_FILES)
25 ## Build directory information
26 subdir = tools/makeconv
28 ## Extra files to remove for 'make clean'
29 CLEANFILES = *~ $(ALL_MAN_FILES) $(DEPS)
32 TARGET = $(BINDIR)/$(TARGET_STUB_NAME)$(EXEEXT)
34 CPPFLAGS += -I$(top_builddir)/common -I$(top_srcdir)/common -I$(srcdir)/../toolutil
35 LIBS = $(LIBICUTOOLUTIL) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
37 OBJECTS = makeconv.o ucnvstat.o genmbcs.o gencnvex.o
39 DEPS = $(OBJECTS:.o=.d)
42 ## List of phony targets
43 .PHONY : all all-local install install-local install-man clean clean-local \
44 distclean distclean-local dist dist-local check \
50 ## List of standard targets
52 install: install-local
54 distclean : distclean-local
56 check: all check-local
58 all-local: $(TARGET) $(ALL_MAN_FILES)
60 install-local: all-local install-man
61 $(MKINSTALLDIRS) $(DESTDIR)$(bindir)
62 $(INSTALL) $(TARGET) $(DESTDIR)$(bindir)
71 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
72 $(RMV) $(TARGET) $(OBJECTS)
74 distclean-local: clean-local
77 check-local: all-local
80 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
82 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
85 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
87 install-man: install-manx
88 install-manx: $(MANX_FILES)
89 $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION)
90 $(INSTALL_DATA) $? $(DESTDIR)$(mandir)/man$(SECTION)
92 %.$(SECTION): $(srcdir)/%.$(SECTION).in
94 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
97 ifeq (,$(MAKECMDGOALS))
100 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)