Revision 20371,
397 bytes
checked in by rbasch, 20 years ago
(diff) |
Fix the install rule by prepending $$SRVD to ld's destination path.
Also use "gcc -print-libgcc-file-name" instead of "gcc -v" to determine
the gcc library directory.
|
Line | |
---|
1 | # $Id: Makefile.athena,v 1.5 2004-04-08 18:05:18 rbasch Exp $ |
---|
2 | |
---|
3 | dist: |
---|
4 | cp "$$CONFIG_SITE" config.site.athena |
---|
5 | |
---|
6 | prepare: |
---|
7 | rm -f config.cache |
---|
8 | CONFIG_SITE=`pwd`/config.site.athena ./configure |
---|
9 | |
---|
10 | clean: |
---|
11 | ${MAKE} clean |
---|
12 | |
---|
13 | all: |
---|
14 | ${MAKE} all |
---|
15 | |
---|
16 | check: |
---|
17 | |
---|
18 | install: |
---|
19 | libgcc=`$$COMPILER -print-libgcc-file-name` ; \ |
---|
20 | libdir=`dirname $$libgcc` ; \ |
---|
21 | mkdir -p $$SRVD$$libdir ; \ |
---|
22 | install -c ld/ld-new $$SRVD$$libdir/ld |
---|
Note: See
TracBrowser
for help on using the repository browser.