Changed Makefiles for Darwin

This commit is contained in:
Michiel Broek 2005-01-06 22:34:53 +00:00
parent f5b04a48ab
commit 7f6169618c

View File

@ -13,7 +13,7 @@ HDRS = callstat.h mbtask.h outstat.h signame.h taskdisk.h taskregs.h taskutil.
OBJS = callstat.o scanout.o taskcomm.o taskinfo.o taskstat.o \ OBJS = callstat.o scanout.o taskcomm.o taskinfo.o taskstat.o \
mbtask.o outstat.o signame.o taskdisk.o taskregs.o taskutil.o \ mbtask.o outstat.o signame.o taskdisk.o taskregs.o taskutil.o \
ports.o calllist.o ping.o taskchat.o crc.o ports.o calllist.o ping.o taskchat.o crc.o
LIBS += ../lib/libnodelist.a SLIBS = ../lib/libnodelist.a
OTHER = Makefile issue issue.netbsd OTHER = Makefile issue issue.netbsd
############################################################################# #############################################################################
@ -23,8 +23,8 @@ OTHER = Makefile issue issue.netbsd
all: mbtask all: mbtask
mbtask: ${OBJS} ${LIBS} mbtask: ${OBJS} ${SLIBS}
${CC} ${CFLAGS} -o mbtask ${OBJS} ${LDFLAGS} ${LIBS} ${CC} ${CFLAGS} -o mbtask ${OBJS} ${LDFLAGS} ${LIBS} ${LIBS}
clean: clean:
rm -f mbtask *.o *.h~ *.c~ version.* core filelist Makefile.bak rm -f mbtask *.o *.h~ *.c~ version.* core filelist Makefile.bak
@ -33,7 +33,7 @@ install: all
@if [ "`id -un`" != "root" ] ; then \ @if [ "`id -un`" != "root" ] ; then \
echo; echo " Must be root to install!"; echo; exit 3; \ echo; echo " Must be root to install!"; echo; exit 3; \
fi fi
${INSTALL} -c -s -o ${ROWNER} -g ${RGROUP} -m 6700 mbtask ${BINDIR} ${INSTALL} -c -s -o ${ROWNER} -g ${RGROUP} -m 6711 mbtask ${BINDIR}
@if [ ! -f ${ETCDIR}/issue ]; then \ @if [ ! -f ${ETCDIR}/issue ]; then \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 issue ${ETCDIR} ; \ ${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 issue ${ETCDIR} ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 issue ${ETCDIR}"; \ echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 issue ${ETCDIR}"; \