source: trunk/athena/bin/machtype/Imakefile @ 11926

Revision 11926, 608 bytes checked in by rbasch, 26 years ago (diff)
Install program setgid to sys, instead of setuid to root.
RevLine 
[5024]1/*
[11926]2 * $Id: Imakefile,v 1.19 1998-09-10 16:39:08 rbasch Exp $
[5024]3 */
4
[7982]5#ifdef SOLARIS
[11306]6LIBS=-lkvm -ladm
[5024]7#endif
[7856]8
[7982]9#ifdef sgi
10LIBS=-lmld
[6603]11#endif
[7982]12
[8867]13NAME=${HOSTTYPE}
[8765]14OSNAME=`uname -s`
15OSVERS=`uname -r`
[7982]16
[8867]17machtype_$(NAME).o:     ${ATHVERS} machtype_$(NAME).c
[7981]18        $(RM) $@
19        . $(ATHVERS); \
[10172]20        $(CC) -c $(CFLAGS) -DATHMAJV=\"$$major\" -DATHMINV=\"$$minor\" \
[11418]21        -DATHSYS=\"${ATHENA_SYS}\" -DATHSYSCOMPAT=\"${ATHENA_SYS_COMPAT}\" \
22        -DOSNAME=\"${OSNAME}\" -DOSVERS=\"${OSVERS}\" $*.c
[5024]23
[7982]24build_program(machtype, machtype_${NAME}.o,,${LIBS})
[11926]25install_program(machtype,-m 2755 -o root -g sys,${ATHRBINDIR})
[7982]26
[5024]27install_man(machtype.1,machtype.1)
Note: See TracBrowser for help on using the repository browser.