shobj-conf (157184) | shobj-conf (165670) |
---|---|
1#! /bin/sh 2# 3# shobj-conf -- output a series of variable assignments to be substituted 4# into a Makefile by configure which specify system-dependent 5# information for creating shared objects that may be loaded 6# into bash with `enable -f' 7# 8# usage: shobj-conf [-C compiler] -c host_cpu -o host_os -v host_vendor --- 128 unchanged lines hidden (view full) --- 137 SHOBJ_LDFLAGS='-shared' 138 139 SHLIB_XLDFLAGS='-R$(libdir)' 140 SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)$(SHLIB_MINOR)' 141 fi 142 ;; 143 144# Darwin/MacOS X | 1#! /bin/sh 2# 3# shobj-conf -- output a series of variable assignments to be substituted 4# into a Makefile by configure which specify system-dependent 5# information for creating shared objects that may be loaded 6# into bash with `enable -f' 7# 8# usage: shobj-conf [-C compiler] -c host_cpu -o host_os -v host_vendor --- 128 unchanged lines hidden (view full) --- 137 SHOBJ_LDFLAGS='-shared' 138 139 SHLIB_XLDFLAGS='-R$(libdir)' 140 SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)$(SHLIB_MINOR)' 141 fi 142 ;; 143 144# Darwin/MacOS X |
145darwin8*) 146 SHOBJ_STATUS=supported 147 SHLIB_STATUS=supported 148 149 SHOBJ_CFLAGS='-fno-common' 150 151 SHOBJ_LD='MACOSX_DEPLOYMENT_TARGET=10.3 ${CC}' 152 153 SHLIB_LIBVERSION='$(SHLIB_MAJOR)$(SHLIB_MINOR).$(SHLIB_LIBSUFF)' 154 SHLIB_LIBSUFF='dylib' 155 156 SHOBJ_LDFLAGS='-undefined dynamic_lookup' 157 SHLIB_XLDFLAGS='-dynamiclib -arch_only `/usr/bin/arch` -install_name $(libdir)/$@ -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR) -v' 158 159 SHLIB_LIBS='-lncurses' # see if -lcurses works on MacOS X 10.1 160 ;; 161 |
|
145darwin*|macosx*) 146 SHOBJ_STATUS=unsupported 147 SHLIB_STATUS=supported 148 149 SHOBJ_CFLAGS='-fno-common' 150 151 SHOBJ_LD='${CC}' 152 --- 378 unchanged lines hidden --- | 162darwin*|macosx*) 163 SHOBJ_STATUS=unsupported 164 SHLIB_STATUS=supported 165 166 SHOBJ_CFLAGS='-fno-common' 167 168 SHOBJ_LD='${CC}' 169 --- 378 unchanged lines hidden --- |