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

« back to all changes in this revision

Viewing changes to source/tools/genrb/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/genrb
2
 
## Copyright (c) 1999, 2000, 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/genrb
25
 
 
26
 
## Extra files to remove for 'make clean'
27
 
CLEANFILES = *~ $(MAN_FILES) $(DEPS) 
28
 
 
29
 
## Target information
30
 
TARGET = genrb
31
 
 
32
 
ENABLE_STATIC = @ENABLE_STATIC@
33
 
 
34
 
ifneq ($(ENABLE_STATIC),)
35
 
LINK = $(LINK.cc)
36
 
else
37
 
LINK = $(LINK.c)
38
 
endif
39
 
 
40
 
DEFS = @DEFS@
41
 
CPPFLAGS = @CPPFLAGS@ -I$(top_builddir)/common -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(srcdir)/../toolutil
42
 
CFLAGS = @CFLAGS@
43
 
CXXFLAGS = @CXXFLAGS@
44
 
ENABLE_RPATH = @ENABLE_RPATH@
45
 
ifeq ($(ENABLE_RPATH),YES)
46
 
RPATHLDFLAGS = $(LD_RPATH)$(LD_RPATH_PRE)$(libdir)
47
 
endif
48
 
LDFLAGS = @LDFLAGS@ $(RPATHLDFLAGS)
49
 
LIBS = $(LIBICUI18N) $(LIBICUTOOLUTIL) $(LIBICUUC) @LIBS@ @LIB_M@ 
50
 
 
51
 
##OBJECTS = error.o genrb.o ustr.o parse.o read.o write.o list.o        \
52
 
##rblist.o      util.o
53
 
OBJECTS = error.o genrb.o parse.o read.o reslist.o ustr.o util.o  wrtjava.o rle.o
54
 
 
55
 
DEPS = $(OBJECTS:.o=.d)
56
 
 
57
 
## List of phony targets
58
 
.PHONY : all all-local install install-local clean clean-local          \
59
 
distclean distclean-local dist dist-local check \
60
 
check-local install-man
61
 
 
62
 
## Clear suffix list
63
 
.SUFFIXES :
64
 
 
65
 
## List of standard targets
66
 
all: all-local
67
 
install: install-local
68
 
clean: clean-local
69
 
distclean : distclean-local
70
 
dist: dist-local
71
 
check: all check-local
72
 
 
73
 
all-local: $(TARGET) $(MAN_FILES) 
74
 
 
75
 
install-local: all-local install-man
76
 
        $(MKINSTALLDIRS) $(DESTDIR)$(sbindir)
77
 
        $(INSTALL) $(TARGET) $(DESTDIR)$(sbindir)
78
 
 
79
 
<dist-local:
80
 
 
81
 
clean-local: 
82
 
        test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
83
 
        $(RMV) $(TARGET) $(OBJECTS)
84
 
 
85
 
distclean-local: clean-local
86
 
        $(RMV) Makefile
87
 
 
88
 
check-local: all-local
89
 
 
90
 
Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
91
 
        cd $(top_builddir) \
92
 
         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
93
 
 
94
 
$(TARGET) : $(OBJECTS)
95
 
        $(LINK) -o $@ $^ $(LIBS) 
96
 
 
97
 
# the 'mv' will always fail if you are building in the source dir
98
 
 
99
 
# man page
100
 
install-man: $(MAN_FILES)
101
 
        $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION)
102
 
        $(INSTALL_DATA) $< $(DESTDIR)$(mandir)/man$(SECTION)
103
 
 
104
 
%.$(SECTION): $(srcdir)/%.$(SECTION).in
105
 
        cd $(top_builddir) \
106
 
         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
107
 
 
108
 
# build postscript and pdf formats
109
 
$(TARGET).ps: $(TARGET).$(SECTION)
110
 
        groff -man < $< > $@
111
 
 
112
 
$(TARGET).pdf: $(TARGET).ps
113
 
        ps2pdf $< $@
114
 
 
115
 
ifeq (,$(MAKECMDGOALS))
116
 
-include $(DEPS)
117
 
else
118
 
ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
119
 
-include $(DEPS)
120
 
endif
121
 
endif
122