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

Revision 12292, 679 bytes checked in by rbasch, 25 years ago (diff)
Port to IRIX 6.5: Update recognized processor boards; nlist() moved from mld to elf library.
Line 
1/*
2 * $Id: Imakefile,v 1.21 1998-12-27 21:36:03 rbasch Exp $
3 */
4
5#ifdef SOLARIS
6LIBS=-lkvm -ladm
7#endif
8
9#ifdef sgi
10LIBS=-lelf
11#endif
12
13#if defined(SOLARIS) || defined(sgi)
14INSTALLFLAGS = -m 2755 -o root -g sys
15#endif
16
17NAME=${HOSTTYPE}
18OSNAME=`uname -s`
19OSVERS=`uname -r`
20
21machtype.o:     ${ATHVERS} machtype.c
22        $(RM) $@
23        . $(ATHVERS); \
24        $(CC) -c $(CFLAGS) -DATHMAJV=\"$$major\" -DATHMINV=\"$$minor\" \
25        -DATHSYS=\"${ATHENA_SYS}\" -DATHSYSCOMPAT=\"${ATHENA_SYS_COMPAT}\" \
26        -DOSNAME=\"${OSNAME}\" -DOSVERS=\"${OSVERS}\" $*.c
27
28build_program(machtype, machtype.o machtype_${NAME}.o,,${LIBS})
29install_program(machtype,${INSTALLFLAGS},${ATHRBINDIR})
30
31install_man(machtype.1,machtype.1)
Note: See TracBrowser for help on using the repository browser.