ICU-480 renamed mh-freebsd to mh-bsd-gcc, use it for both NetBSD and FreeBSD

X-SVN-Rev: 2724
This commit is contained in:
Yves Arrouye 2000-10-18 19:02:06 +00:00
parent a63e51a9bb
commit ef6521493f
4 changed files with 28 additions and 8 deletions

View file

@ -24,7 +24,7 @@ case "${host}" in
fi ;;
*-*-mips*) icu_cv_host_frag=$srcdir/config/mh-irix ;;
*-*-linux*) icu_cv_host_frag=$srcdir/config/mh-linux ;;
*-*-freebsd*|*-*-netbsd*) icu_cv_host_frag=$srcdir/config/mh-freebsd ;;
*-*-freebsd*|*-*-netbsd*) icu_cv_host_frag=$srcdir/config/mh-bsd-gcc ;;
*-*-aix*)
case "$CXX" in
*vacpp*)icu_cv_host_frag=$srcdir/config/mh-aix-va ;;

View file

@ -3,7 +3,7 @@
## Copyright (c) 1999-2000, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-freebsd,v 1.18 2000/10/16 18:05:34 yves Exp $
## $Id: mh-bsd-gcc,v 1.1 2000/10/18 19:02:06 yves Exp $
## Commands to generate dependency files
GEN_DEPS.c= $(CC) -E -MM $(DEFS) $(CPPFLAGS)

View file

@ -3,7 +3,7 @@
## Copyright (c) 1999-2000, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-hpux-acc,v 1.18 2000/10/17 02:01:33 srl Exp $
## $Id: mh-hpux-acc,v 1.19 2000/10/18 19:02:06 yves Exp $
## Commands to generate dependency files
GEN_DEPS.c= :
@ -31,9 +31,12 @@ LD_RPATH_PRE=
## Environment variable to set a runtime search path
LDLIBRARYPATH_ENVVAR = SHLIB_PATH
## Compiler switch to embed a library name
LD_SONAME = +h $(MIDDLE_SO_TARGET)
## Versioned target for a shared library.
FINAL_SO_TARGET = $(SO_TARGET)
MIDDLE_SO_TARGET =
FINAL_SO_TARGET = $(basename $(SO_TARGET)).$(SO_TARGET_VERSION)
MIDDLE_SO_TARGET = $(basename $(SO_TARGET)).$(SO_TARGET_VERSION_MAJOR)
### How ICU libraries are named... ex. $(LIBICU)uc$(SO)
## Prefix for the ICU library names
@ -80,4 +83,11 @@ LIBUSTDIO= -L$(top_builddir)/extra/ustdio -lustdio
@echo "Generating dependency information for $<"
@$(GEN_DEPS.cc) $< > $@
## Versioned libraries rules
%.$(SO_TARGET_VERSION_MAJOR): %.$(SO_TARGET_VERSION)
$(RM) $@ && ln -s $< $@
%.$(SO): %.$(SO_TARGET_VERSION_MAJOR)
$(RM) $@ && ln -s $*.$(SO).$(SO_TARGET_VERSION) $@
## End HP/UX-specific setup

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.22 2000/10/17 16:53:42 yves Exp $
## $Id: mh-hpux-cc,v 1.23 2000/10/18 19:02:06 yves Exp $
## This causes source/tools/pkgdata generated makefiles to create and link
@ -38,9 +38,12 @@ LD_RPATH_PRE=
## Environment variable to set a runtime search path
LDLIBRARYPATH_ENVVAR = SHLIB_PATH
## Compiler switch to embed a library name
LD_SONAME = +h $(MIDDLE_SO_TARGET)
## Versioned target for a shared library.
FINAL_SO_TARGET = $(SO_TARGET)
MIDDLE_SO_TARGET =
FINAL_SO_TARGET = $(basename $(SO_TARGET)).$(SO_TARGET_VERSION)
MIDDLE_SO_TARGET = $(basename $(SO_TARGET)).$(SO_TARGET_VERSION_MAJOR)
### How ICU libraries are named... ex. $(LIBICU)uc$(SO)
## Prefix for the ICU library names
@ -87,5 +90,12 @@ LIBUSTDIO= -L$(top_builddir)/extra/ustdio -lustdio
@echo "Generating dependency information for $<"
@$(GEN_DEPS.cc) $< > $@
## Versioned libraries rules
%.$(SO_TARGET_VERSION_MAJOR): %.$(SO_TARGET_VERSION)
$(RM) $@ && ln -s $< $@
%.$(SO): %.$(SO_TARGET_VERSION_MAJOR)
$(RM) $@ && ln -s $*.$(SO).$(SO_TARGET_VERSION) $@
## End HP/UX-specific setup