~ubuntu-branches/ubuntu/gutsy/icu/gutsy-updates

« back to all changes in this revision

Viewing changes to source/tools/genuca/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Jay Berkenbilt
  • Date: 2005-11-19 11:29:31 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20051119112931-vcizkrp10tli4enw
Tags: 3.4-3
Explicitly build with g++ 3.4.  The current ICU fails its test suite
with 4.0 but not with 3.4.  Future versions should work properly with
4.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
## Makefile.in for ICU - tools/genuca
2
 
## Copyright (c) 1999-2001, International Business Machines Corporation and
3
 
## others. All Rights Reserved.
4
 
 
5
 
## Source directory information
6
 
srcdir = @srcdir@
7
 
top_srcdir = @top_srcdir@
8
 
 
9
 
top_builddir = ../..
10
 
 
11
 
include $(top_builddir)/icudefs.mk
12
 
 
13
 
## Platform-specific setup
14
 
 
15
 
include @platform_make_fragment@
16
 
 
17
 
##
18
 
 
19
 
SECTION = 8
20
 
 
21
 
MAN_FILES = $(TARGET).$(SECTION)
22
 
 
23
 
## Build directory information
24
 
subdir = tools/genuca
25
 
 
26
 
## Extra files to remove for 'make clean'
27
 
CLEANFILES = *~ $(TARGET).$(SECTION) $(DEPS) 
28
 
 
29
 
## Target information
30
 
TARGET = genuca
31
 
 
32
 
ENABLE_STATIC = @ENABLE_STATIC@
33
 
 
34
 
DEFS = @DEFS@
35
 
CPPFLAGS = @CPPFLAGS@ -I$(top_builddir)/common -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/extra/ustdio -I$(srcdir)/../toolutil
36
 
CFLAGS = @CFLAGS@
37
 
CXXFLAGS = @CXXFLAGS@
38
 
ENABLE_RPATH = @ENABLE_RPATH@
39
 
ifeq ($(ENABLE_RPATH),YES)
40
 
RPATHLDFLAGS = $(LD_RPATH)$(LD_RPATH_PRE)$(libdir)
41
 
endif
42
 
LDFLAGS = @LDFLAGS@ $(RPATHLDFLAGS)
43
 
LIBS = $(LIBICUI18N) $(LIBICUTOOLUTIL) $(LIBICUUC) @LIBS@ @LIB_M@ 
44
 
 
45
 
OBJECTS = genuca.o 
46
 
 
47
 
DEPS = $(OBJECTS:.o=.d)
48
 
 
49
 
 
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
54
 
 
55
 
## Clear suffix list
56
 
.SUFFIXES :
57
 
 
58
 
## List of standard targets
59
 
all: all-local
60
 
install: install-local
61
 
clean: clean-local
62
 
distclean : distclean-local
63
 
dist: dist-local
64
 
check: all check-local
65
 
 
66
 
all-local: $(TARGET) $(MAN_FILES) 
67
 
 
68
 
install-local: all-local install-man
69
 
        $(MKINSTALLDIRS) $(DESTDIR)$(sbindir)
70
 
        $(INSTALL) $(TARGET) $(DESTDIR)$(sbindir)/$(TARGET)
71
 
 
72
 
<dist-local:
73
 
 
74
 
clean-local: 
75
 
        test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
76
 
        $(RMV) $(TARGET) $(OBJECTS)
77
 
 
78
 
distclean-local: clean-local
79
 
        $(RMV) Makefile
80
 
 
81
 
check-local: all-local
82
 
 
83
 
Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
84
 
        cd $(top_builddir) \
85
 
         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
86
 
 
87
 
$(TARGET) : $(OBJECTS)
88
 
        $(LINK.cc) -o $@ $^ $(LIBS) 
89
 
 
90
 
 
91
 
# the 'mv' will always fail if you are building in the source dir
92
 
 
93
 
# man page
94
 
install-man: $(MAN_FILES)
95
 
        $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION)
96
 
        $(INSTALL_DATA) $< $(DESTDIR)$(mandir)/man$(SECTION)
97
 
 
98
 
$(TARGET).$(SECTION): $(srcdir)/$(TARGET).$(SECTION).in
99
 
        cd $(top_builddir) \
100
 
         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
101
 
 
102
 
# build postscript and pdf formats
103
 
$(TARGET).ps: $(TARGET).$(SECTION)
104
 
        groff -man < $< > $@
105
 
 
106
 
$(TARGET).pdf: $(TARGET).ps
107
 
        ps2pdf $< $@
108
 
 
109
 
ifeq (,$(MAKECMDGOALS))
110
 
-include $(DEPS)
111
 
else
112
 
ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
113
 
-include $(DEPS)
114
 
endif
115
 
endif