source: trunk/third/mozilla/Makefile.athena @ 19325

Revision 19325, 1012 bytes checked in by rbasch, 22 years ago (diff)
Replace configure.athena with Makefile.athena so we can prepend the Sun Forte bin directory to the PATH on Solaris. (The security sub- directory does not honor the CC/CXX settings, instead running cc/CC from the PATH).
Line 
1# $Id: Makefile.athena,v 1.1 2003-05-08 05:34:00 rbasch Exp $
2
3SHELL=/bin/sh
4common_options=--enable-crypto --disable-debug --disable-tests
5forte_bindir=/afs/athena.mit.edu/software/sunsoft_v7/SUNWspro/bin
6
7dist:
8        cp "$$CONFIG_SITE" config.site.athena
9
10prepare:
11        rm -f config.cache
12        case $$ATHENA_HOSTTYPE in \
13        linux) \
14            CONFIG_SITE=`pwd`/config.site.athena \
15            ./configure --enable-optimize=-O2 ${common_options} \
16            ;; \
17        sun4) \
18            CONFIG_SITE=`pwd`/config.site.athena \
19            PATH=${forte_bindir}:${PATH} \
20            CC=cc \
21            CXX=CC \
22            CFLAGS="-xlibmil" \
23            CXXFLAGS="-xlibmil -xlibmopt" \
24            CPPFLAGS=-D_REENTRANT \
25            LDFLAGS= \
26            ./configure --with-gtk-prefix=/usr/sfw \
27              --with-glib-prefix=/usr/sfw \
28              --enable-optimize=-xO2 ${common_options} \
29            ;; \
30        esac
31
32clean:
33        ${MAKE} clean
34
35all:
36        case $$ATHENA_HOSTTYPE in \
37        linux) \
38            ${MAKE} \
39            ;; \
40        sun4) \
41            ${MAKE} PATH=${forte_bindir}:${PATH} \
42            ;; \
43        esac
44
45install:
46        ${MAKE} install DESTDIR="$$SRVD"
Note: See TracBrowser for help on using the repository browser.