WASHTOOL=${SRCDIR}bin/washtool
#WASHTOOLRCSUPDATE=${WASHTOOL} rcsupdate
-WASHTOOLCMD=make
+WASHTOOLCMD=$(MAKE)
WASHTOOLFLAGS=-argument install
COMPILE_PART1=${WASHTOOL} ${WASHTOOLCMD}
# 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}
LIBAFS = libafs.o
LIBAFSNONFS = libafs.nonfs.o
-<all -sun4x_57 sun4x_58>
+<all -sun4x_57 -sun4x_58>
DEST_LIBAFS = ${DESTDIR}/root.client/usr/vice/etc/modload/${LIBAFS}
DEST_LIBAFSNONFS = ${DESTDIR}/root.client/usr/vice/etc/modload/${LIBAFSNONFS}
system install:
if [ -f "../des/Makefile" ] ; then \
- make install.lib ; \
+ $(MAKE) install.lib ; \
else \
- make libstub ; \
+ $(MAKE) libstub ; \
fi
install.lib: ${DESTDIR}lib/libafsrpc.a
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
$(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)
# make ${MFLAGS} DESTDIR=${DESTDIR} install-link
install-man:
- cd man; make ${MFLAGS} DESTDIR=${DESTDIR} install
+ cd man; $(MAKE) ${MFLAGS} DESTDIR=${DESTDIR} install
install-link:
rm -f ${BINDIR}/${LINKDIR}/ntpd
esac
../rsh/rcmd.o: ../rsh/rcmd.c
- (cd ../rsh ; make rcmd.o SRCDIR=${SRCDIR} DESTDIR=${DESTDIR})
+ (cd ../rsh ; $(MAKE) rcmd.o SRCDIR=${SRCDIR} DESTDIR=${DESTDIR})
../rsh/herror.o: ../rsh/herror.c
- (cd ../rsh ; make herror.o SRCDIR=${SRCDIR} DESTDIR=${DESTDIR})
+ (cd ../rsh ; $(MAKE) herror.o SRCDIR=${SRCDIR} DESTDIR=${DESTDIR})
../inetd/ta-rauth.o: ../inetd/ta-rauth.c
- (cd ../inetd ; make ta-rauth.o SRCDIR=${SRCDIR} DESTDIR=${DESTDIR})
+ (cd ../inetd ; $(MAKE) ta-rauth.o SRCDIR=${SRCDIR} DESTDIR=${DESTDIR})
clean:
clean:
../login/libutil.a : ../login/util_login.c ../login/util_logout.c ../login/util_logwtmp.c
- ( cd ../login ; make libutil.a )
+ ( cd ../login ; $(MAKE) libutil.a )
../rsh/rcmd.o : ../rsh/rcmd.c
- (cp AFS_component_version_number.c ../rsh/AFS_component_version_number.c ; cd ../rsh ; make rsh.o )
+ (cp AFS_component_version_number.c ../rsh/AFS_component_version_number.c ; cd ../rsh ; $(MAKE) rsh.o )
../rsh/herror.o : ../rsh/herror.c
- ( cd ../rsh ; make herror.o )
+ ( cd ../rsh ; $(MAKE) herror.o )
clean:
rm -f ${OBJS} core rlogind AFS_component_version_number.c
rsh.o: rsh.c AFS_component_version_number.c
../rlogind/herror.o: ../rlogind/herror.c
- (cd ../rlogind ; make herror.o )
+ (cd ../rlogind ; $(MAKE) herror.o )
../inetd/ta-rauth.o : ../inetd/ta-rauth.c
- (cd ../inetd ; make ta-rauth.o DESTDIR=${DESTDIR})
+ (cd ../inetd ; $(MAKE) ta-rauth.o DESTDIR=${DESTDIR})
clean:
rm -f ${OBJS} core rsh *.BAK AFS_component_version_number.c
$(LD) ${LDFLAGS} -shared -all -o afskauthlib.so sgi_auth.o $(KAFSLIBS) ${AUTHFILES}
../rsh/rcmd.o: ../rsh/rcmd.c
- (cd ../rsh ; make rcmd.o )
+ (cd ../rsh ; $(MAKE) rcmd.o )
../rsh/herror.o: ../rsh/herror.c
- (cd ../rsh ; make herror.o )
+ (cd ../rsh ; $(MAKE) herror.o )
sgi_auth.o: sgi_auth.c
${CC} ${CFLAGS} -c sgi_auth.c