version 1.1.1.1.2.2, 2014/07/30 08:40:43
|
version 1.1.1.1.2.4, 2014/07/30 08:55:18
|
Line 132 linux*-*|gnu*-*|k*bsd*-gnu-*|freebsd*-gentoo)
|
Line 132 linux*-*|gnu*-*|k*bsd*-gnu-*|freebsd*-gentoo)
|
SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)$(SHLIB_MINOR)' |
SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)$(SHLIB_MINOR)' |
;; |
;; |
|
|
freebsd2*) | freebsd2.*) |
SHOBJ_CFLAGS=-fpic |
SHOBJ_CFLAGS=-fpic |
SHOBJ_LD=ld |
SHOBJ_LD=ld |
SHOBJ_LDFLAGS='-x -Bshareable' |
SHOBJ_LDFLAGS='-x -Bshareable' |
Line 142 freebsd2*)
|
Line 142 freebsd2*)
|
;; |
;; |
|
|
# FreeBSD-3.x ELF |
# FreeBSD-3.x ELF |
freebsd3*|freebsdaout*) | freebsd3.*|freebsdaout*) |
SHOBJ_CFLAGS=-fPIC |
SHOBJ_CFLAGS=-fPIC |
SHOBJ_LD='${CC}' |
SHOBJ_LD='${CC}' |
|
|
if [ -x /usr/bin/objformat ] && [ "`/usr/bin/objformat`" = "elf" ]; then |
|
SHOBJ_LDFLAGS='-shared -Wl,-soname,$@' |
SHOBJ_LDFLAGS='-shared -Wl,-soname,$@' |
|
|
SHLIB_XLDFLAGS='-Wl,-rpath,$(libdir)' |
SHLIB_XLDFLAGS='-Wl,-rpath,$(libdir)' |
SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)' |
SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)' |
else |
|
SHOBJ_LDFLAGS='-shared' |
|
|
|
SHLIB_XLDFLAGS='-R$(libdir)' |
|
SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)$(SHLIB_MINOR)' |
|
fi |
|
;; |
;; |
|
|
# FreeBSD-4.x and later have only ELF |
# FreeBSD-4.x and later have only ELF |
freebsd[4-9]*|freebsd1[0-9]*|freebsdelf*|dragonfly*) | freebsd[4-9]*|freebsd1[0-9]*|freebsd*|dragonfly*) |
SHOBJ_CFLAGS=-fPIC |
SHOBJ_CFLAGS=-fPIC |
SHOBJ_LD='${CC}' |
SHOBJ_LD='${CC}' |
|
|