Revision 17460,
672 bytes
checked in by ghudson, 23 years ago
(diff) |
Supercedes Garry's change (I submitted this in October 2000, but
failed to check it in). On platforms with /os, we want to h2ph
/os/usr/include, not /usr/include. Garry's approach would work fine,
except on IRIX our symlink farm has some dangling links, which causes
errors.
|
Line | |
---|
1 | # $Id: Makefile.athena,v 1.16 2002-04-07 15:42:30 ghudson Exp $ |
---|
2 | |
---|
3 | SHELL=/bin/sh |
---|
4 | |
---|
5 | dist: |
---|
6 | |
---|
7 | prepare: |
---|
8 | rm -f config.sh |
---|
9 | ./Configure -d -s -e -Dprefix=/usr/athena -Dcc="$$COMPILER" \ |
---|
10 | -Dperladmin=bugs@mit.edu |
---|
11 | |
---|
12 | clean: |
---|
13 | ${MAKE} clean |
---|
14 | |
---|
15 | all: |
---|
16 | ${MAKE} depend |
---|
17 | ${MAKE} all |
---|
18 | |
---|
19 | check: |
---|
20 | |
---|
21 | install: |
---|
22 | ${MAKE} install "DESTDIR=$$SRVD" |
---|
23 | sed -e '/^chdir/d' -e "s:/usr:$$SRVD/usr:" \ |
---|
24 | -e "s:\$$Config{install:\"$$SRVD\"\.\$$Config{install:" \ |
---|
25 | utils/h2ph > h2phsrvd |
---|
26 | chmod 755 h2phsrvd |
---|
27 | dir=`pwd`; \ |
---|
28 | if [ -d /os/usr/include ]; then \ |
---|
29 | cd /os/usr/include; \ |
---|
30 | else \ |
---|
31 | cd /usr/include; \ |
---|
32 | fi; \ |
---|
33 | find . -type f -print | \ |
---|
34 | xargs "$$dir/perl" "-I$$SRVD/usr/athena/lib/perl5" "$$dir/h2phsrvd"; |
---|
Note: See
TracBrowser
for help on using the repository browser.