Revision 15942,
892 bytes
checked in by ghudson, 24 years ago
(diff) |
Rename HOSTTYPE to ATHENA_HOSTTYPE in the build system, because bash 2.04
(/bin/sh on Red Hat 7) stomps on HOSTTYPE.
|
Rev | Line | |
---|
[15942] | 1 | # $Id: Makefile.athena,v 1.5 2001-04-03 16:06:48 ghudson Exp $ |
---|
[10790] | 2 | |
---|
| 3 | SHELL=/bin/sh |
---|
| 4 | |
---|
[14492] | 5 | dist: |
---|
| 6 | |
---|
[10790] | 7 | prepare: |
---|
| 8 | |
---|
| 9 | clean: |
---|
| 10 | ${MAKE} clean |
---|
| 11 | |
---|
| 12 | all: |
---|
[15942] | 13 | case "$${ATHENA_HOSTTYPE}" in \ |
---|
[10790] | 14 | linux) \ |
---|
[10993] | 15 | target=linux \ |
---|
[10790] | 16 | ;; \ |
---|
| 17 | inbsd) \ |
---|
| 18 | target=netbsd \ |
---|
| 19 | MAKEFLAGS="CC=$$COMPILER CC2=$$COMPILER"; export MAKEFLAGS; \ |
---|
| 20 | ;; \ |
---|
| 21 | sgi) \ |
---|
| 22 | case "`uname -r`" in \ |
---|
| 23 | 5.*) \ |
---|
| 24 | target=irix51 \ |
---|
| 25 | ;; \ |
---|
| 26 | *) \ |
---|
| 27 | target=irix60 \ |
---|
| 28 | ;; \ |
---|
| 29 | esac \ |
---|
| 30 | ;; \ |
---|
| 31 | sun4) \ |
---|
| 32 | target=solaris2x \ |
---|
| 33 | ;; \ |
---|
| 34 | *) \ |
---|
| 35 | target=posix \ |
---|
| 36 | ;; \ |
---|
| 37 | esac; ${MAKE} MAKE="${MAKE} CC=$$COMPILER CC2=$$COMPILER" $$target |
---|
| 38 | |
---|
| 39 | check: |
---|
| 40 | |
---|
| 41 | install: |
---|
[13855] | 42 | mkdir -p $$SRVD/usr/athena/bin $$SRVD/usr/athena/man/man1 |
---|
[10790] | 43 | ${MAKE} install WERMIT=wermit DESTDIR="$$SRVD" \ |
---|
| 44 | MANDIR=/usr/athena/man/man1 MANEXT=1 BINDIR=/usr/athena/bin |
---|
Note: See
TracBrowser
for help on using the repository browser.