1 ## Makefile.in for ICU - tools/makeconv
2 ## Copyright (c) 1999-2003, 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
18 MANX_FILES = $(TARGET:$(EXEEXT)=).$(SECTION)
20 GENERATED_MAN_FILES = $(TARGET:$(EXEEXT)=).$(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 = *~ $(GENERATED_MAN_FILES) $(DEPS) $(CNV_FILES) $(TEST_CNV_FILES)
32 TARGET = makeconv$(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
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)/$(TARGET)
63 # $(MKINSTALLDIRS) $(DESTDIR)$(pkglibdir)
64 # @list='$(notdir $(CNV_FILES)) convrtrs.txt'; for file in $$list; do \
65 # echo $(INSTALL_DATA) $(top_builddir)/data/$$file $(DESTDIR)$(pkglibdir)/$$file; \
66 # $(INSTALL_DATA) $(top_builddir)/data/$$file $(DESTDIR)$(pkglibdir)/$$file; \
76 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
77 $(RMV) $(TARGET) $(OBJECTS)
79 distclean-local: clean-local
82 check-local: all-local
85 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
87 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
90 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
92 install-man: install-manx
93 install-manx: $(MANX_FILES)
94 $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION)
95 $(INSTALL_DATA) $? $(DESTDIR)$(mandir)/man$(SECTION)
97 %.$(SECTION): $(srcdir)/%.$(SECTION).in
99 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
102 ifeq (,$(MAKECMDGOALS))
105 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)