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

« back to all changes in this revision

Viewing changes to source/stubdata/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
 
#******************************************************************************
2
 
#
3
 
#   Copyright (C) 1999, International Business Machines
4
 
#   Corporation and others.  All Rights Reserved.
5
 
#
6
 
#******************************************************************************
7
 
## Makefile.in for ICU extras
8
 
## Stephen F. Booth
9
 
 
10
 
SO_TARGET_VERSION = @LIB_VERSION@
11
 
SO_TARGET_VERSION_MAJOR = @LIB_VERSION_MAJOR@
12
 
 
13
 
## Install directory information
14
 
srcdir = @srcdir@
15
 
top_srcdir = @top_srcdir@
16
 
 
17
 
top_builddir = ..
18
 
 
19
 
include $(top_builddir)/icudefs.mk
20
 
 
21
 
## Build directory information
22
 
subdir = stubdata
23
 
 
24
 
## Platform-specific setup
25
 
include @platform_make_fragment@
26
 
 
27
 
## Files to remove for 'make clean'
28
 
CLEANFILES = *~ $(DEPS)
29
 
 
30
 
## Target information
31
 
 
32
 
ENABLE_STATIC = @ENABLE_STATIC@
33
 
ENABLE_SHARED = @ENABLE_SHARED@
34
 
 
35
 
ifneq ($(ENABLE_STATIC),)
36
 
TARGET = lib$(ICUPREFIX)data$(ICULIBSUFFIX).a
37
 
RANLIB = @RANLIB@
38
 
endif
39
 
 
40
 
ifneq ($(ENABLE_SHARED),)
41
 
SO_TARGET = lib$(ICUPREFIX)data$(ICULIBSUFFIX).$(SO)
42
 
ALL_SO_TARGETS = $(SO_TARGET) $(MIDDLE_SO_TARGET) $(FINAL_SO_TARGET) $(BATCH_STUB_TARGET)
43
 
endif
44
 
 
45
 
ALL_TARGETS = $(TARGET) $(ALL_SO_TARGETS)
46
 
 
47
 
DYNAMICCPPFLAGS = $(SHAREDLIBCPPFLAGS)
48
 
DYNAMICCFLAGS = $(SHAREDLIBCFLAGS)
49
 
DYNAMICCXXFLAGS = $(SHAREDLIBCXXFLAGS)
50
 
 
51
 
DEFS = @DEFS@ 
52
 
CPPFLAGS = @CPPFLAGS@ $(LIBCPPFLAGS) -I$(top_builddir)/common -I$(top_srcdir)/common 
53
 
CFLAGS = @CFLAGS@
54
 
CXXFLAGS = @CXXFLAGS@
55
 
ENABLE_RPATH = @ENABLE_RPATH@
56
 
ifeq ($(ENABLE_RPATH),YES)
57
 
RPATHLDFLAGS = $(LD_RPATH)$(LD_RPATH_PRE)$(libdir)
58
 
endif
59
 
LDFLAGS = @LDFLAGS@ $(RPATHLDFLAGS)
60
 
LIBS = @LIBS@
61
 
 
62
 
OBJECTS = stubdata.o
63
 
 
64
 
STATIC_OBJECTS = $(OBJECTS:.o=.$(STATIC_O))
65
 
 
66
 
HEADERS = 
67
 
 
68
 
DEPS = $(OBJECTS:.o=.d)
69
 
 
70
 
 
71
 
## List of phony targets
72
 
.PHONY : all all-local install install-local clean clean-local \
73
 
distclean distclean-local dist dist-local check check-local
74
 
 
75
 
## Clear suffix list
76
 
.SUFFIXES :
77
 
 
78
 
## List of standard targets
79
 
all: all-local
80
 
install: install-local
81
 
clean: clean-local
82
 
distclean : distclean-local
83
 
dist: dist-local
84
 
check: all check-local
85
 
 
86
 
 
87
 
all-local: $(ALL_TARGETS)
88
 
 
89
 
install-local: install-library
90
 
 
91
 
install-library: all-local
92
 
        $(MKINSTALLDIRS) $(DESTDIR)$(libdir)
93
 
ifneq ($(ENABLE_STATIC),)
94
 
        $(INSTALL-L) $(TARGET) $(DESTDIR)$(libdir)/$(TARGET)
95
 
endif
96
 
ifneq ($(ENABLE_SHARED),)
97
 
        $(INSTALL-L) $(FINAL_SO_TARGET) $(DESTDIR)$(libdir)/$(FINAL_SO_TARGET)
98
 
ifneq ($(FINAL_SO_TARGET),$(SO_TARGET))
99
 
        cd $(DESTDIR)$(libdir) && $(RM) $(MIDDLE_SO_TARGET) && ln -s $(FINAL_SO_TARGET) $(MIDDLE_SO_TARGET)
100
 
        cd $(DESTDIR)$(libdir) && $(RM) $(SO_TARGET) && ln -s $(FINAL_SO_TARGET) $(SO_TARGET)
101
 
endif
102
 
endif
103
 
 
104
 
dist-local:
105
 
 
106
 
clean-local:
107
 
        test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
108
 
        $(RMV) $(OBJECTS) $(STATIC_OBJECTS) $(ALL_TARGETS)
109
 
 
110
 
check-local:
111
 
 
112
 
distclean-local: clean-local
113
 
        $(RMV) Makefile
114
 
 
115
 
Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
116
 
        cd $(top_builddir) \
117
 
        && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
118
 
 
119
 
../common/unicode/platform.h: $(srcdir)/../common/unicode/platform.h.in $(top_builddir)/config.status
120
 
        cd $(top_builddir) \
121
 
         && CONFIG_FILES=common/unicode/platform.h CONFIG_HEADERS= $(SHELL) ./config.status
122
 
 
123
 
 
124
 
ifneq ($(ENABLE_STATIC),)
125
 
$(TARGET): $(TARGET)($(STATIC_OBJECTS))
126
 
        $(RANLIB) $@
127
 
endif
128
 
 
129
 
ifneq ($(ENABLE_SHARED),)
130
 
$(FINAL_SO_TARGET): $(OBJECTS)
131
 
        $(SHLIB.c) $(LD_SONAME) -o $@ $^ $(LIBS)
132
 
 
133
 
ifeq ($(OS390BATCH),1)
134
 
$(BATCH_STUB_TARGET): $(OBJECTS)
135
 
        $(SHLIB.c) $(LD_SONAME) -o $@ $^ $(LIBS)
136
 
endif   # OS390BATCH
137
 
endif
138
 
 
139
 
ifeq (,$(MAKECMDGOALS))
140
 
-include $(DEPS)
141
 
else
142
 
ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
143
 
-include $(DEPS)
144
 
endif
145
 
endif
146