Revision 10993,
819 bytes
checked in by ghudson, 27 years ago
(diff) |
From svalente: use the linux target instead of the POSIX target, so we
can use -lncurses.
|
Line | |
---|
1 | # $Id: Makefile.athena,v 1.2 1998-01-03 03:37:00 ghudson Exp $ |
---|
2 | |
---|
3 | SHELL=/bin/sh |
---|
4 | |
---|
5 | prepare: |
---|
6 | |
---|
7 | clean: |
---|
8 | ${MAKE} clean |
---|
9 | |
---|
10 | all: |
---|
11 | case "$${HOSTTYPE}" in \ |
---|
12 | linux) \ |
---|
13 | target=linux \ |
---|
14 | ;; \ |
---|
15 | inbsd) \ |
---|
16 | target=netbsd \ |
---|
17 | MAKEFLAGS="CC=$$COMPILER CC2=$$COMPILER"; export MAKEFLAGS; \ |
---|
18 | ;; \ |
---|
19 | sgi) \ |
---|
20 | case "`uname -r`" in \ |
---|
21 | 5.*) \ |
---|
22 | target=irix51 \ |
---|
23 | ;; \ |
---|
24 | *) \ |
---|
25 | target=irix60 \ |
---|
26 | ;; \ |
---|
27 | esac \ |
---|
28 | ;; \ |
---|
29 | sun4) \ |
---|
30 | target=solaris2x \ |
---|
31 | ;; \ |
---|
32 | *) \ |
---|
33 | target=posix \ |
---|
34 | ;; \ |
---|
35 | esac; ${MAKE} MAKE="${MAKE} CC=$$COMPILER CC2=$$COMPILER" $$target |
---|
36 | |
---|
37 | check: |
---|
38 | |
---|
39 | install: |
---|
40 | ${MAKE} install WERMIT=wermit DESTDIR="$$SRVD" \ |
---|
41 | MANDIR=/usr/athena/man/man1 MANEXT=1 BINDIR=/usr/athena/bin |
---|
Note: See
TracBrowser
for help on using the repository browser.