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

Revision 22336, 1.5 KB checked in by rbasch, 19 years ago (diff)
Remove Mozilla's patch for bug 307259; a permanent fix for the bug is in mozilla 1.7.12.
RevLine 
[22336]1# $Id: Makefile.athena,v 1.13 2005-09-23 16:15:00 rbasch Exp $
[19325]2
3SHELL=/bin/sh
[22262]4MOZLIB=/usr/athena/lib/mozilla
[21614]5ATHINCDIR=/usr/athena/include
6NSSINCDIR=${ATHINCDIR}/mozilla/nss
[21803]7ATHSHAREDIR=/usr/athena/share
8ACLOCALDIR=${ATHSHAREDIR}/aclocal
[20584]9common_options=--enable-crypto --disable-debug --disable-tests --enable-xft \
[21727]10               --enable-default-toolkit=gtk2 --with-gssapi=/usr/athena
[19325]11
12dist:
13        cp "$$CONFIG_SITE" config.site.athena
14
15prepare:
16        rm -f config.cache
17        case $$ATHENA_HOSTTYPE in \
18        linux) \
19            CONFIG_SITE=`pwd`/config.site.athena \
[20415]20            CPPFLAGS=-D_REENTRANT \
[19325]21            ./configure --enable-optimize=-O2 ${common_options} \
22            ;; \
23        sun4) \
24            CONFIG_SITE=`pwd`/config.site.athena \
[21160]25            PATH=${sprobin}:${PATH} \
[19325]26            CC=cc \
27            CXX=CC \
28            CFLAGS="-xlibmil" \
29            CXXFLAGS="-xlibmil -xlibmopt" \
30            CPPFLAGS=-D_REENTRANT \
[21787]31            LDFLAGS="-L/usr/athena/lib -R/usr/athena/lib" \
[21727]32            ./configure --enable-optimize=-xO2 ${common_options} \
[19325]33            ;; \
34        esac
35
36clean:
37        ${MAKE} clean
38
39all:
40        case $$ATHENA_HOSTTYPE in \
41        linux) \
42            ${MAKE} \
43            ;; \
44        sun4) \
[22013]45            LD_RUN_PATH=/usr/athena/lib ${MAKE} PATH=${sprobin}:${PATH} \
[19325]46            ;; \
47        esac
48
49install:
[21727]50        case $$ATHENA_HOSTTYPE in \
51        linux) \
52            ${MAKE} install DESTDIR="$$SRVD" \
53            ;; \
54        sun4) \
[22013]55            LD_RUN_PATH=/usr/athena/lib \
56              ${MAKE} install DESTDIR="$$SRVD" PATH=${sprobin}:${PATH} \
[21727]57            ;; \
58        esac
[21614]59        mkdir -p "$$SRVD${NSSINCDIR}"
60        find security/nss/lib/ -name '*.h' -type f -exec install -m 644 {} \
61          "$$SRVD${NSSINCDIR}" \;
[21803]62        rm -f "$$SRVD${ACLOCALDIR}/nspr.m4"
63        -rmdir "$$SRVD${ACLOCALDIR}" 2>/dev/null
Note: See TracBrowser for help on using the repository browser.