1
## Makefile.in for ICU - tools/genuca
2
## Copyright (c) 1999-2001, 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
13
## Platform-specific setup
15
include @platform_make_fragment@
21
MAN_FILES = $(TARGET).$(SECTION)
23
## Build directory information
26
## Extra files to remove for 'make clean'
27
CLEANFILES = *~ $(TARGET).$(SECTION) $(DEPS)
32
ENABLE_STATIC = @ENABLE_STATIC@
35
CPPFLAGS = @CPPFLAGS@ -I$(top_builddir)/common -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/extra/ustdio -I$(srcdir)/../toolutil
38
ENABLE_RPATH = @ENABLE_RPATH@
39
ifeq ($(ENABLE_RPATH),YES)
40
RPATHLDFLAGS = $(LD_RPATH)$(LD_RPATH_PRE)$(libdir)
42
LDFLAGS = @LDFLAGS@ $(RPATHLDFLAGS)
43
LIBS = $(LIBICUI18N) $(LIBICUTOOLUTIL) $(LIBICUUC) @LIBS@ @LIB_M@
47
DEPS = $(OBJECTS:.o=.d)
50
## List of phony targets
51
.PHONY : all all-local install install-local clean clean-local \
52
distclean distclean-local dist dist-local check \
53
check-local install-man
58
## List of standard targets
60
install: install-local
62
distclean : distclean-local
64
check: all check-local
66
all-local: $(TARGET) $(MAN_FILES)
68
install-local: all-local install-man
69
$(MKINSTALLDIRS) $(DESTDIR)$(sbindir)
70
$(INSTALL) $(TARGET) $(DESTDIR)$(sbindir)/$(TARGET)
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.cc) -o $@ $^ $(LIBS)
91
# the 'mv' will always fail if you are building in the source dir
94
install-man: $(MAN_FILES)
95
$(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION)
96
$(INSTALL_DATA) $< $(DESTDIR)$(mandir)/man$(SECTION)
98
$(TARGET).$(SECTION): $(srcdir)/$(TARGET).$(SECTION).in
100
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
102
# build postscript and pdf formats
103
$(TARGET).ps: $(TARGET).$(SECTION)
106
$(TARGET).pdf: $(TARGET).ps
109
ifeq (,$(MAKECMDGOALS))
112
ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)