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

Revision 11418, 599 bytes checked in by danw, 26 years ago (diff)
add -C option to print ATHENA_SYS_COMPAT value
Line 
1/*
2 * $Id: Imakefile,v 1.18 1998-04-18 16:58:43 danw Exp $
3 */
4
5#ifdef SOLARIS
6LIBS=-lkvm -ladm
7#endif
8
9#ifdef sgi
10LIBS=-lmld
11#endif
12
13NAME=${HOSTTYPE}
14OSNAME=`uname -s`
15OSVERS=`uname -r`
16
17machtype_$(NAME).o:     ${ATHVERS} machtype_$(NAME).c
18        $(RM) $@
19        . $(ATHVERS); \
20        $(CC) -c $(CFLAGS) -DATHMAJV=\"$$major\" -DATHMINV=\"$$minor\" \
21        -DATHSYS=\"${ATHENA_SYS}\" -DATHSYSCOMPAT=\"${ATHENA_SYS_COMPAT}\" \
22        -DOSNAME=\"${OSNAME}\" -DOSVERS=\"${OSVERS}\" $*.c
23
24build_program(machtype, machtype_${NAME}.o,,${LIBS})
25install_program(machtype,-m 4755 -o root,${ATHRBINDIR})
26
27install_man(machtype.1,machtype.1)
Note: See TracBrowser for help on using the repository browser.