1 ## Makefile.in for ICU - tools/genbrk
2 ## Copyright (c) 2002-2004 International Business Machines Corporation and
3 ## others. All Rights Reserved.
5 ## Source directory information
7 top_srcdir = @top_srcdir@
11 include $(top_builddir)/icudefs.mk
15 TARGET_STUB_NAME = genbrk
19 MAN_FILES = $(TARGET_STUB_NAME).$(SECTION)
21 ## Build directory information
24 ## Extra files to remove for 'make clean'
25 CLEANFILES = *~ $(MAN_FILES) $(DEPS)
28 TARGET = $(BINDIR)/$(TARGET_STUB_NAME)$(EXEEXT)
30 CPPFLAGS += -I$(top_builddir)/common -I$(top_srcdir)/common -I$(srcdir)/../toolutil
31 LIBS = $(LIBICUTOOLUTIL) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
35 DEPS = $(OBJECTS:.o=.d)
37 ## List of phony targets
38 .PHONY : all all-local install install-local clean clean-local \
39 distclean distclean-local dist dist-local check \
40 check-local install-man
45 ## List of standard targets
47 install: install-local
49 distclean : distclean-local
51 check: all check-local
55 install-local: all-local
56 $(MKINSTALLDIRS) $(DESTDIR)$(bindir)
57 $(INSTALL) $(TARGET) $(DESTDIR)$(bindir)
62 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
63 $(RMV) $(TARGET) $(OBJECTS)
65 distclean-local: clean-local
68 check-local: all-local
70 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
72 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
74 $(TARGET) : $(OBJECTS)
75 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
78 # the 'mv' will always fail if you are building in the source dir
81 %.$(SECTION): $(srcdir)/%.$(SECTION).in
83 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
85 # build postscript and pdf formats
86 $(TARGET).ps: $(TARGET).$(SECTION)
89 $(TARGET).pdf: $(TARGET).ps
92 ifeq (,$(MAKECMDGOALS))
95 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)