osconf-cleanup-20020826
authorDerrick Brashear <shadow@dementia.org>
Mon, 26 Aug 2002 15:09:35 +0000 (15:09 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 26 Aug 2002 15:09:35 +0000 (15:09 +0000)
don't set shlib stuff in makefile fragments. do include sun4_413 in
osconf

src/cf/osconf.m4
src/config/Makefile.ppc_darwin_60.in
src/config/Makefile.sparc_linux24.in
src/config/Makefile.sun4_413.in
src/config/Makefile.sunx86_57.in

index 20bcb7e..2690ab0 100644 (file)
@@ -395,6 +395,20 @@ case $AFS_SYSNAME in
                YACC="bison -y"
                ;;
 
+       sun4_413)
+               CC="gcc"
+               LEX="lex"
+               LWP_OPTMZ="-O"
+               OPTMZ="-O"
+               SHLIB_CFLAGS="-PIC"
+               TXLIBS="-lcurses -ltermcap"
+               XCFLAGS=""
+               XLIBELFA="-lelf"
+               XLIBKVM="-lkvm"
+               XLIBS="${LIB_AFSDB}"
+               LD="ld"
+               ;;
+
        sun4x_55)
                CC="/opt/SUNWspro/bin/cc"
                LEX="lex"
@@ -495,6 +509,28 @@ case $AFS_SYSNAME in
                XLIBS="${LIB_AFSDB} -lsocket -lnsl -lintl -ldl"
                ;;
 
+       sunx86_57)
+               CC="/opt/SUNWspro/bin/cc"
+               LEX="lex"
+               LWP_OPTMZ="-g"
+               LD="/usr/ccs/bin/ld"
+               MT_CC="/opt/SUNWspro/bin/cc"
+               MT_CFLAGS='-mt -DAFS_PTHREAD_ENV ${XCFLAGS}'
+               MT_LIBS="-lpthread -lsocket"
+               OPTMZ="-O"
+               PAM_CFLAGS="-KPIC"
+               PAM_LIBS="-lc -lpam -lsocket -lnsl -lm"
+               SHLIB_CFLAGS="-KPIC"
+               SHLIB_LDFLAGS="-G -Bsymbolic"
+               TXLIBS="-lcurses"
+               XCFLAGS64='${XCFLAGS} -xarch=v9'
+               XCFLAGS="-dy -Bdynamic"
+               XLIBELFA="-lelf"
+               XLIBKVM="-lkvm"
+               XLIBS="${LIB_AFSDB} -lsocket -lnsl -lintl -ldl"
+               ;;
+
+
        sunx86_58)
                CC="/opt/SUNWspro/bin/cc"
                LEX="lex"
index d032a36..610b327 100644 (file)
@@ -25,9 +25,6 @@ TXLIBS=-lncurses
 #XLIBELFA=
 #XLIBKVM=
 #
-SHLIB_SUFFIX=
-SHLIB_CFLAGS=
-#
 # programs
 AR=ar
 AS=as
index b550bd7..ece14bd 100644 (file)
@@ -22,8 +22,6 @@ XCFLAGS= -O2
 MT_CFLAGS=-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}
 XLDFLAGS=
 SHARE_LDFLAGS = -shared -Xlinker -x
-SHLIB_SUFFIX=so
-SHLIB_CFLAGS=
 #
 # libraries
 MTLIBS=-lpthread
index f4d7f66..93f1f73 100644 (file)
@@ -21,8 +21,6 @@ XLIBS=@LIB_AFSDB@
 TXLIBS=-lcurses -ltermcap\r
 XLIBELFA=-lelf\r
 XLIBKVM=-lkvm\r
-SHLIB_SUFFIX=so\r
-SHLIB_CFLAGS=-PIC\r
 #\r
 # programs\r
 AR=ar\r
index e1fb130..44293de 100644 (file)
@@ -24,9 +24,6 @@ MTLIBS=-lpthread -lsocket
 XLIBELFA=-lelf
 XLIBKVM=-lkvm
 #
-SHLIB_SUFFIX=so
-SHLIB_CFLAGS=-KPIC
-#
 # programs
 AR=/usr/ccs/bin/ar
 AS=as