]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
make-make-dollar-make-20001223
authorNathan Neulinger <nneul@umr.edu>
Sun, 24 Dec 2000 00:11:41 +0000 (00:11 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sun, 24 Dec 2000 00:11:41 +0000 (00:11 +0000)
Make Makefiles be gmake-friendly

src/Makefile
src/libafsrpc/Makefile
src/ntp/Makefile
src/rcp/Makefile
src/rlogind/Makefile
src/rsh/Makefile
src/sgistuff/Makefile

index ac5937b2c83af1b5b8914525852eff15b67de19b..71293bd615dba90cc14f9928d16cf5a977475d23 100644 (file)
@@ -12,7 +12,7 @@ INSTALL=${SRCDIR}bin/install
 WASHTOOL=${SRCDIR}bin/washtool
 
 #WASHTOOLRCSUPDATE=${WASHTOOL} rcsupdate
-WASHTOOLCMD=make
+WASHTOOLCMD=$(MAKE)
 WASHTOOLFLAGS=-argument install
 
 COMPILE_PART1=${WASHTOOL} ${WASHTOOLCMD}
index aeaa7479756e1ef8d09656574b14fe911d7fca6c..eec9a2a4e56df6efe043bd7d8db020cedb7abb3b 100644 (file)
@@ -109,9 +109,9 @@ LIBOBJS = \
 
 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
index 5e9fb9542b61fcb020a979c97836655ee31bb9b9..ff773628f1fdd863d6a05f1cc16fd16d1c65c483 100644 (file)
@@ -149,7 +149,7 @@ install: AFS_component_version_number.c ntest ntpd ntp ntpdc runntp
 #      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
index b3903599cf970419d81fbbc9bf315e706c8215fa..9525c2024180c5093c3d289c527d47b28f09d0a5 100644 (file)
@@ -54,13 +54,13 @@ rcp: ${OBJS} ${LIBS}
         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:
index 4ac2d35786ca0a487ca3c0cf698c1107f04b7f95..1b399bf2883f584abb852200f51e157af53a9ef4 100644 (file)
@@ -66,13 +66,13 @@ rexecd: rexecd.o ${ALIBS}
 
 
 ../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
index 6717c5bc8e86314bbd7e55c4bd73a308b293e461..a76f1083161f3078e1f5a0f785a88a862e5ea2a5 100644 (file)
@@ -52,9 +52,9 @@ rlogin.o: rlogin.c 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
index 51618f7631635229d635f0a592bceb42bd20e6f1..8ec1c4c98046561563b2f74cc9f2672dc2972794 100644 (file)
@@ -48,10 +48,10 @@ afskauthlib.so: sgi_auth.o ${KAFSLIBS} ${AUTHFILES}
        $(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