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.
RevLine 
[5024]1/*
[12292]2 * $Id: Imakefile,v 1.21 1998-12-27 21:36:03 rbasch Exp $
[5024]3 */
4
[7982]5#ifdef SOLARIS
[11306]6LIBS=-lkvm -ladm
[5024]7#endif
[7856]8
[7982]9#ifdef sgi
[12292]10LIBS=-lelf
[6603]11#endif
[7982]12
[12029]13#if defined(SOLARIS) || defined(sgi)
14INSTALLFLAGS = -m 2755 -o root -g sys
15#endif
16
[8867]17NAME=${HOSTTYPE}
[8765]18OSNAME=`uname -s`
19OSVERS=`uname -r`
[7982]20
[12029]21machtype.o:     ${ATHVERS} machtype.c
[7981]22        $(RM) $@
23        . $(ATHVERS); \
[10172]24        $(CC) -c $(CFLAGS) -DATHMAJV=\"$$major\" -DATHMINV=\"$$minor\" \
[11418]25        -DATHSYS=\"${ATHENA_SYS}\" -DATHSYSCOMPAT=\"${ATHENA_SYS_COMPAT}\" \
26        -DOSNAME=\"${OSNAME}\" -DOSVERS=\"${OSVERS}\" $*.c
[5024]27
[12029]28build_program(machtype, machtype.o machtype_${NAME}.o,,${LIBS})
29install_program(machtype,${INSTALLFLAGS},${ATHRBINDIR})
[7982]30
[5024]31install_man(machtype.1,machtype.1)
Note: See TracBrowser for help on using the repository browser.