1 ## Makefile.in for ICU - tools/gensprep
2 ## Copyright (c) 2001-2005, International Business Machines Corporation and
3 ## others. All Rights Reserved.
4 ## Steven R. Loomis/Markus W. Scherer
6 ## Source directory information
8 top_srcdir = @top_srcdir@
12 include $(top_builddir)/icudefs.mk
14 ## Build directory information
15 subdir = tools/gensprep
17 TARGET_STUB_NAME = gensprep
21 MAN_FILES = $(TARGET_STUB_NAME).$(SECTION)
24 ## Extra files to remove for 'make clean'
25 CLEANFILES = *~ $(DEPS) $(MAN_FILES)
28 TARGET = $(BINDIR)/$(TARGET_STUB_NAME)$(EXEEXT)
30 ifneq ($(top_builddir),$(top_srcdir))
31 CPPFLAGS += -I$(top_builddir)/common
33 CPPFLAGS += -I$(top_srcdir)/common -I$(srcdir)/../toolutil
34 LIBS = $(LIBICUTOOLUTIL) $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
36 OBJECTS = gensprep.o store.o
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 check-local install-man
47 ## List of standard targets
49 install: install-local
51 distclean : distclean-local
53 check: all check-local
55 all-local: $(TARGET) $(MAN_FILES)
57 install-local: all-local install-man
58 $(MKINSTALLDIRS) $(DESTDIR)$(sbindir)
59 $(INSTALL) $(TARGET) $(DESTDIR)$(sbindir)
61 install-man: $(MAN_FILES)
62 $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION)
63 $(INSTALL_DATA) $? $(DESTDIR)$(mandir)/man$(SECTION)
68 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
69 $(RMV) $(TARGET) $(OBJECTS)
71 distclean-local: clean-local
74 check-local: all-local
76 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
78 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
80 $(TARGET) : $(OBJECTS)
81 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
84 %.$(SECTION): $(srcdir)/%.$(SECTION).in
86 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
89 ifeq (,$(MAKECMDGOALS))
92 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)