source:
trunk/athena/bin/machtype/Imakefile
@
11418
Revision 11418, 599 bytes checked in by danw, 27 years ago (diff) |
---|
Rev | Line | |
---|---|---|
[5024] | 1 | /* |
[11418] | 2 | * $Id: Imakefile,v 1.18 1998-04-18 16:58:43 danw Exp $ |
[5024] | 3 | */ |
4 | ||
[7982] | 5 | #ifdef SOLARIS |
[11306] | 6 | LIBS=-lkvm -ladm |
[5024] | 7 | #endif |
[7856] | 8 | |
[7982] | 9 | #ifdef sgi |
10 | LIBS=-lmld | |
[6603] | 11 | #endif |
[7982] | 12 | |
[8867] | 13 | NAME=${HOSTTYPE} |
[8765] | 14 | OSNAME=`uname -s` |
15 | OSVERS=`uname -r` | |
[7982] | 16 | |
[8867] | 17 | machtype_$(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] | 24 | build_program(machtype, machtype_${NAME}.o,,${LIBS}) |
[8867] | 25 | install_program(machtype,-m 4755 -o root,${ATHRBINDIR}) |
[7982] | 26 | |
[5024] | 27 | install_man(machtype.1,machtype.1) |
Note: See TracBrowser
for help on using the repository browser.