Revision 14492,
885 bytes
checked in by ghudson, 25 years ago
(diff) |
Support new "dist" operation.
|
Rev | Line | |
---|
[14492] | 1 | # $Id: Makefile.athena,v 1.4 2000-03-29 19:55:35 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: |
---|
| 13 | case "$${HOSTTYPE}" in \ |
---|
| 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.