ICU-3097 Change -G to -shared in mh-solaris-gcc and remove the out of

date rules for building .o files in source/data.  We build in source/data/out/build now.

X-SVN-Rev: 12798
This commit is contained in:
George Rhoten 2003-08-08 23:53:43 +00:00
parent c96db994ab
commit e71305bba2
19 changed files with 19 additions and 61 deletions

View file

@ -3,7 +3,7 @@
## Copyright (c) 1999-2002, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-aix,v 1.33 2003/06/09 22:35:07 srl Exp $
## $Id: mh-aix,v 1.34 2003/08/08 23:53:42 grhoten-oss Exp $
##
## Please note: AIX does NOT have library versioning per se (there is no 'SONAME' capability).
## So, we are using 'windows' style library names, that is, libicuuc20.1.so instead of libicuuc.so.20.1
@ -84,8 +84,6 @@ STATIC_O = o
%.o: $(srcdir)/%.cpp
$(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS) -o $@ $<
../data/%.o: ../data/%.c
$(COMPILE.c) $(DYNAMICCPPFLAGS) $(DYNAMICCFLAGS) -o $@ $<
## Dependency rules
%.d : %.u

View file

@ -3,7 +3,7 @@
## Copyright (c) 1999-2002, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-aix-va,v 1.27 2003/06/09 22:35:07 srl Exp $
## $Id: mh-aix-va,v 1.28 2003/08/08 23:53:43 grhoten-oss Exp $
## Commands to generate dependency files
GEN_DEPS.c= $(CC) -E -M $(DEFS) $(CPPFLAGS)
@ -81,8 +81,6 @@ STATIC_O = o
%.o: $(srcdir)/%.cpp
$(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS) -o $@ $<
../data/%.o: ../data/%.c
$(COMPILE.c) $(DYNAMICCPPFLAGS) $(DYNAMICCFLAGS) -o $@ $<
## Dependency rules
%.d : %.u

View file

@ -3,7 +3,7 @@
## Copyright (c) 1999-2000, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-alpha-linux-cc,v 1.7 2002/05/13 23:50:12 grhoten-oss Exp $
## $Id: mh-alpha-linux-cc,v 1.8 2003/08/08 23:53:43 grhoten-oss Exp $
## Commands to generate dependency files
#GEN_DEPS.c= $(CC) $(DEFS) $(CPPFLAGS) -MD -c -msg_quiet
@ -57,8 +57,6 @@ STATIC_O = ao
%.o: $(srcdir)/%.cpp
$(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS) -o $@ $<
../data/%.o: ../data/%.c
$(COMPILE.c) $(DYNAMICCPPFLAGS) $(DYNAMICCFLAGS) -o $@ $<
## Dependency rules
#%.d: $(srcdir)/%.c

View file

@ -3,7 +3,7 @@
## Copyright (c) 1999-2000, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-alpha-linux-gcc,v 1.6 2002/05/13 23:50:12 grhoten-oss Exp $
## $Id: mh-alpha-linux-gcc,v 1.7 2003/08/08 23:53:43 grhoten-oss Exp $
## Commands to generate dependency files
GEN_DEPS.c= $(CC) -E -MM $(DEFS) $(CPPFLAGS)
@ -45,8 +45,6 @@ STATIC_O = ao
%.o: $(srcdir)/%.cpp
$(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS) -o $@ $<
../data/%.o: ../data/%.c
$(COMPILE.c) $(DYNAMICCPPFLAGS) $(DYNAMICCFLAGS) -o $@ $<
## Dependency rules
%.d: $(srcdir)/%.c

View file

@ -3,7 +3,7 @@
## Copyright (c) 1999-2000, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-alpha-osf,v 1.3 2002/05/13 23:50:12 grhoten-oss Exp $
## $Id: mh-alpha-osf,v 1.4 2003/08/08 23:53:43 grhoten-oss Exp $
## Commands to generate dependency files
#GEN_DEPS.c= $(CC) $(DEFS) $(CPPFLAGS) -MD -c -msg_quiet
@ -57,8 +57,6 @@ STATIC_O = ao
%.o: $(srcdir)/%.cpp
$(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS) -o $@ $<
../data/%.o: ../data/%.c
$(COMPILE.c) $(DYNAMICCPPFLAGS) $(DYNAMICCFLAGS) -o $@ $<
## Dependency rules
#%.d: $(srcdir)/%.c

View file

@ -3,7 +3,7 @@
## Copyright (c) 2003-2003, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-beos,v 1.1 2003/06/23 03:03:09 grhoten-oss Exp $
## $Id: mh-beos,v 1.2 2003/08/08 23:53:43 grhoten-oss Exp $
## Original author: Andrew Bachmann
## Commands to generate dependency files
@ -71,8 +71,6 @@ STATIC_O = ao
%.o: $(srcdir)/%.cpp
$(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS) -o $@ $<
../data/%.o: ../data/%.c
$(COMPILE.c) $(DYNAMICCPPFLAGS) $(DYNAMICCFLAGS) -o $@ $<
## Dependency rules
%.d: $(srcdir)/%.c

View file

@ -3,7 +3,7 @@
## Copyright (c) 1999-2000, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-bsd-gcc,v 1.6 2002/05/01 23:48:09 grhoten-oss Exp $
## $Id: mh-bsd-gcc,v 1.7 2003/08/08 23:53:43 grhoten-oss Exp $
## Commands to generate dependency files
GEN_DEPS.c= $(CC) -E -MM $(DEFS) $(CPPFLAGS)
@ -37,8 +37,6 @@ STATIC_O = ao
%.o: $(srcdir)/%.cpp
$(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS) -o $@ $<
../data/%.o: ../data/%.c
$(COMPILE.c) $(DYNAMICCPPFLAGS) $(DYNAMICCFLAGS) -o $@ $<
## Dependency rules
%.d: $(srcdir)/%.c

View file

@ -3,7 +3,7 @@
## Copyright (c) 2001-2003, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-cygwin,v 1.12 2003/06/03 20:52:55 alan Exp $
## $Id: mh-cygwin,v 1.13 2003/08/08 23:53:43 grhoten-oss Exp $
## Commands to generate dependency files
GEN_DEPS.c= $(CC) -E -MM $(DEFS) $(CPPFLAGS)
@ -57,8 +57,6 @@ LIBUSTDIO= -L$(top_builddir)/extra/ustdio/ -l$(ICUPREFIX)io$(ICULIBSUFFIX)$(SO_T
%.o: $(srcdir)/%.cpp
$(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS) -o $@ $<
../data/%.o: ../data/%.c
$(COMPILE.c) $(DYNAMICCPPFLAGS) $(DYNAMICCFLAGS) -o $@ $<
## Dependency rules
%.d: $(srcdir)/%.c

View file

@ -3,7 +3,7 @@
## Copyright (c) 2001-2003, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-cygwin-msvc,v 1.9 2003/06/03 20:52:55 alan Exp $
## $Id: mh-cygwin-msvc,v 1.10 2003/08/08 23:53:43 grhoten-oss Exp $
## Commands to generate dependency files
GEN_DEPS.c= :
@ -76,8 +76,6 @@ LIBUSTDIO= $(top_builddir)/extra/ustdio/$(LIBICU)io$(ICULIBSUFFIX)$(SO_TARGET_VE
%.o: $(srcdir)/%.cpp
$(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS) /Fo$@ $<
../data/%.o: ../data/%.c
$(COMPILE.c) $(DYNAMICCPPFLAGS) $(DYNAMICCFLAGS) /Fo$@ $<
## Dependency rules
#%.d: $(srcdir)/%.c

View file

@ -4,7 +4,7 @@
## Copyright (c) 1999-2003, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-darwin,v 1.27 2003/06/03 20:52:55 alan Exp $
## $Id: mh-darwin,v 1.28 2003/08/08 23:53:43 grhoten-oss Exp $
## Flags for position independent code
SHAREDLIBCFLAGS = -dynamic
@ -53,8 +53,6 @@ MIDDLE_SO_TARGET = $(basename $(SO_TARGET)).$(SO_TARGET_VERSION_MAJOR).$(SO)
%.o: $(srcdir)/%.cpp
$(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS) -o $@ $<
../data/%.o: ../data/%.c
$(COMPILE.c) $(DYNAMICCPPFLAGS) $(DYNAMICCFLAGS) -o $@ $<
## Dependency rules
%.d : $(srcdir)/%.c

View file

@ -3,7 +3,7 @@
## Copyright (c) 1999-2003, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-hpux-acc,v 1.33 2003/06/03 20:52:55 alan Exp $
## $Id: mh-hpux-acc,v 1.34 2003/08/08 23:53:43 grhoten-oss Exp $
## Commands to generate dependency files
GEN_DEPS.c= :
@ -70,8 +70,6 @@ STATIC_O = o
%.o: $(srcdir)/%.cpp
$(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS) -o $@ $<
../data/%.o: ../data/%.c
$(COMPILE.c) $(DYNAMICCPPFLAGS) $(DYNAMICCFLAGS) -o $@ $<
## Dependency rules
%.d : $(srcdir)/%.c

View file

@ -3,7 +3,7 @@
## Copyright (c) 1999-2000, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-hpux-cc,v 1.30 2002/03/01 17:47:41 grhoten-oss Exp $
## $Id: mh-hpux-cc,v 1.31 2003/08/08 23:53:43 grhoten-oss Exp $
## This causes source/tools/pkgdata generated makefiles to create and link
@ -57,8 +57,6 @@ STATIC_O = o
%.o: $(srcdir)/%.cpp
$(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS) -o $@ $<
../data/%.o: ../data/%.c
$(COMPILE.c) $(DYNAMICCPPFLAGS) $(DYNAMICCFLAGS) -o $@ $<
## Dependency rules
%.d : $(srcdir)/%.c

View file

@ -3,7 +3,7 @@
## Copyright (c) 1999-2001, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-hpux-gcc,v 1.2 2002/12/06 01:40:39 weiv-oss Exp $
## $Id: mh-hpux-gcc,v 1.3 2003/08/08 23:53:43 grhoten-oss Exp $
## Commands to generate dependency files
GEN_DEPS.c= $(CC) -E -MM $(DEFS) $(CPPFLAGS)
@ -56,8 +56,6 @@ STATIC_O = o
%.o: $(srcdir)/%.cpp
$(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS) -o $@ $<
../data/%.o: ../data/%.c
$(COMPILE.c) $(DYNAMICCPPFLAGS) $(DYNAMICCFLAGS) -o $@ $<
## Dependency rules
%.d : $(srcdir)/%.c

View file

@ -3,7 +3,7 @@
## Copyright (c) 1999-2000, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-irix,v 1.21 2002/01/10 02:41:39 yves-oss Exp $
## $Id: mh-irix,v 1.22 2003/08/08 23:53:43 grhoten-oss Exp $
## Flags for position independent code
SHAREDLIBCFLAGS = -shared
@ -48,8 +48,6 @@ STATIC_O = ao
%.o: $(srcdir)/%.cpp
$(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS) -o $@ $<
../data/%.o: ../data/%.c
$(COMPILE.c) $(DYNAMICCPPFLAGS) $(DYNAMICCFLAGS) -o $@ $<
## Dependency rules
%.d : $(srcdir)/%.c

View file

@ -3,7 +3,7 @@
## Copyright (c) 1999-2001, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-linux,v 1.31 2002/01/24 17:35:04 rviswanadha Exp $
## $Id: mh-linux,v 1.32 2003/08/08 23:53:43 grhoten-oss Exp $
## Commands to generate dependency files
GEN_DEPS.c= $(CC) -E -MM $(DEFS) $(CPPFLAGS)
@ -41,8 +41,6 @@ STATIC_O = ao
%.o: $(srcdir)/%.cpp
$(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS) -o $@ $<
../data/%.o: ../data/%.c
$(COMPILE.c) $(DYNAMICCPPFLAGS) $(DYNAMICCFLAGS) -o $@ $<
## Dependency rules
%.d: $(srcdir)/%.c

View file

@ -3,7 +3,7 @@
## Copyright (c) 2003-2003, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-mpras,v 1.1 2003/06/23 23:22:12 grhoten-oss Exp $
## $Id: mh-mpras,v 1.2 2003/08/08 23:53:43 grhoten-oss Exp $
## Original contributer: Jason Gordon from NCR
## Flags for position independent code
@ -46,8 +46,6 @@ STATIC_O = o
%.o: $(srcdir)/%.cpp
$(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS) -o $@ $<
../data/%.o: ../data/%.c
$(COMPILE.c) $(DYNAMICCPPFLAGS) $(DYNAMICCFLAGS) -o $@ $<
## Dependency rules
%.d : $(srcdir)/%.c

View file

@ -5,7 +5,7 @@
##
## Provided By: Chris McKillop <cdm@qnx.com>
##
## $Id: mh-qnx,v 1.2 2003/06/03 20:52:55 alan Exp $
## $Id: mh-qnx,v 1.3 2003/08/08 23:53:43 grhoten-oss Exp $
#
@ -53,8 +53,6 @@ STATIC_O = ao
%.o: $(srcdir)/%.cpp
$(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS) -o $@ $<
../data/%.o: ../data/%.c
$(COMPILE.c) $(DYNAMICCPPFLAGS) $(DYNAMICCFLAGS) -o $@ $<
## Dependency rules
%.d: $(srcdir)/%.c

View file

@ -3,7 +3,7 @@
## Copyright (c) 1999-2000, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-solaris,v 1.31 2003/07/24 16:49:45 grhoten-oss Exp $
## $Id: mh-solaris,v 1.32 2003/08/08 23:53:43 grhoten-oss Exp $
## Flags for position independent code
SHAREDLIBCFLAGS = -KPIC
@ -53,8 +53,6 @@ STATIC_O = o
%.o: $(srcdir)/%.cpp
$(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS) -o $@ $<
../data/%.o: ../data/%.c
$(COMPILE.c) $(DYNAMICCPPFLAGS) $(DYNAMICCFLAGS) -o $@ $<
## Dependency rules
%.d : $(srcdir)/%.c

View file

@ -3,7 +3,7 @@
## Copyright (c) 1999-2000, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-solaris-gcc,v 1.29 2003/08/04 17:48:34 grhoten-oss Exp $
## $Id: mh-solaris-gcc,v 1.30 2003/08/08 23:53:43 grhoten-oss Exp $
## Flags for position independent code
SHAREDLIBCFLAGS = -fPIC
@ -14,10 +14,6 @@ SHAREDLIBCPPFLAGS = -DPIC
GEN_DEPS.c= $(CC) -E -MM $(DEFS) $(CPPFLAGS)
GEN_DEPS.cc= $(CXX) -E -MM $(DEFS) $(CPPFLAGS)
## Commands to make a shared library
SHLIB.c= $(CC) $(CFLAGS) $(LDFLAGS) -G
SHLIB.cc= $(CXX) $(CXXFLAGS) $(LDFLAGS) -G
## Compiler switch to embed a runtime search path
LD_RPATH= -R
LD_RPATH_PRE=
@ -41,8 +37,6 @@ STATIC_O = ao
%.o: $(srcdir)/%.cpp
$(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS) -o $@ $<
../data/%.o: ../data/%.c
$(COMPILE.c) $(DYNAMICCPPFLAGS) $(DYNAMICCFLAGS) -o $@ $<
## Dependency rules
%.d : $(srcdir)/%.c