1 ## Makefile.in for ICU - tools/gensprep
2 ## Copyright (c) 2001-2004, 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
16 TARGET_STUB_NAME = gensprep
20 MAN_FILES = $(TARGET_STUB_NAME).$(SECTION)
22 ## Build directory information
23 subdir = tools/gensprep
25 ## Extra files to remove for 'make clean'
26 CLEANFILES = *~ $(DEPS) $(MAN_FILES)
29 TARGET = $(BINDIR)/$(TARGET_STUB_NAME)$(EXEEXT)
31 CPPFLAGS += -I$(top_builddir)/common -I$(top_srcdir)/common -I$(srcdir)/../toolutil
32 LIBS = $(LIBICUTOOLUTIL) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
34 OBJECTS = gensprep.o store.o
36 DEPS = $(OBJECTS:.o=.d)
38 ## List of phony targets
39 .PHONY : all all-local install install-local clean clean-local \
40 distclean distclean-local dist dist-local check \
41 check-local install-man
46 ## List of standard targets
48 install: install-local
50 distclean : distclean-local
52 check: all check-local
54 all-local: $(TARGET) $(MAN_FILES)
56 install-local: all-local install-man
57 $(MKINSTALLDIRS) $(DESTDIR)$(sbindir)
58 $(INSTALL) $(TARGET) $(DESTDIR)$(sbindir)
61 install-man: $(MAN_FILES)
62 $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION)
63 $(INSTALL_DATA) $< $(DESTDIR)$(mandir)/man$(SECTION)
65 %.$(SECTION): $(srcdir)/%.$(SECTION).in
67 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
69 # build postscript and pdf formats
70 #$(TARGET).ps: $(TARGET).$(SECTION)
71 # groff -man < $< > $@
73 #$(TARGET).pdf: $(TARGET).ps
79 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
80 $(RMV) $(TARGET) $(OBJECTS)
82 distclean-local: clean-local
85 check-local: all-local
87 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
89 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
91 $(TARGET) : $(OBJECTS)
92 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
94 ifeq (,$(MAKECMDGOALS))
97 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)