solaris-make-cleanup-20001219

Remove redundancy in Solaris Makefile Protos
This commit is contained in:
Nathan Neulinger 2000-12-19 07:34:34 +00:00 committed by Derrick Brashear
parent 0de9b367b9
commit 36f72fa114
2 changed files with 8 additions and 6 deletions

View File

@ -28,9 +28,10 @@ AFS_OS_NONFSOBJS = \
# System specific build commands and flags
DEFINES= -DAFSDEBUG -DKERNEL -DAFS -DVICE -DNFS -DUFS -DINET -DQUOTA -DGETMOUNT
LD = /usr/ccs/bin/ld
LORDER = /usr/ccs/bin/lorder
CC = /opt/SUNWspro/bin/cc
#These are redundant
#LD = /usr/ccs/bin/ld
#LORDER = /usr/ccs/bin/lorder
#CC = /opt/SUNWspro/bin/cc
KDEFS= -Dsun4c -DSUN4C_60 -DNFSCLIENT -DSYSACCT -DOLDSCSI -DVDDRV -D_KERNEL \
-DSYSV -dn ${ARCH_DEFS}

View File

@ -13,7 +13,8 @@ include $(DESTDIR)../obj/config/Makefile.${SYS_NAME}
MKDIR_IF_NEEDED=[ -d $$1 ] || mkdir -p $$1
# System specific build commands and flags
CC = /opt/SUNWspro/bin/cc
# Redundant
# CC = /opt/SUNWspro/bin/cc
DEFINES= -D_REENTRANT -DAFSDEBUG -DKERNEL -DUKERNEL -DAFS -DVICE
CFLAGS=-I. -I.. ${FSINCLUDES} $(DEFINES) $(KOPTS) ${DBUG}
OPTF=-O
@ -73,9 +74,9 @@ $(LIBUAFS): $(UAFSOBJ)
$(LIBAFSWEB): $(AFSWEBOBJ) ${DES}/libdes.a
-rm -f $(LIBAFSWEB)
ld -G -M../mapfile -o $(LIBAFSWEB) $(AFSWEBOBJ) ${DES}/libdes.a $(WEBLIBS)
${LD} -G -M../mapfile -o $(LIBAFSWEB) $(AFSWEBOBJ) ${DES}/libdes.a $(WEBLIBS)
$(LIBAFSWEBKRB): $(AFSWEBOBJKRB) $(DES)/libdes.a
-rm -f $(LIBAFSWEBKRB)
ld -G -M../mapfile -o $(LIBAFSWEBKRB) $(AFSWEBOBJKRB) ${DES}/libdes.a $(WEBLIBS)
${LD} -G -M../mapfile -o $(LIBAFSWEBKRB) $(AFSWEBOBJKRB) ${DES}/libdes.a $(WEBLIBS)