1 ## Makefile.in for ICU - tools/genccode
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
14 ## Build directory information
15 subdir = tools/genccode
19 TARGET_STUB_NAME = genccode
23 MANX_FILES = $(TARGET_STUB_NAME).$(SECTION)
25 ALL_MAN_FILES = $(MANX_FILES)
27 ## Extra files to remove for 'make clean'
28 CLEANFILES = *~ $(DEPS) $(ALL_MAN_FILES)
31 TARGET = $(BINDIR)/$(TARGET_STUB_NAME)$(EXEEXT)
33 CPPFLAGS += -I$(top_builddir)/common -I$(top_srcdir)/common -I$(srcdir)/../toolutil $(BIR_CPPFLAGS)
34 LIBS = $(LIBICUTOOLUTIL) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
38 DEPS = $(OBJECTS:.o=.d)
40 ## List of phony targets
41 .PHONY : all all-local install install-local clean clean-local \
42 distclean distclean-local dist dist-local check \
43 check-local install-man install-manx
48 ## List of standard targets
50 install: install-local
52 distclean : distclean-local
54 check: all check-local
56 all-local: $(TARGET) $(ALL_MAN_FILES)
58 install-local: all-local install-man
59 $(MKINSTALLDIRS) $(DESTDIR)$(sbindir)
60 $(INSTALL) $(TARGET) $(DESTDIR)$(sbindir)
63 install-man: install-manx
64 install-manx: $(MANX_FILES)
65 $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION)
66 $(INSTALL_DATA) $? $(DESTDIR)$(mandir)/man$(SECTION)
68 %.$(SECTION): $(srcdir)/%.$(SECTION).in
70 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
75 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
76 $(RMV) $(TARGET) $(OBJECTS)
78 distclean-local: clean-local
81 check-local: all-local
83 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
85 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
87 $(TARGET) : $(OBJECTS)
88 $(LINK.c) $(OUTOPT)$@ $^ $(LIBS)
90 ifeq (,$(MAKECMDGOALS))
93 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)