mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 00:55:37 +00:00
7c67a9652b
shared libraries are built with mapfiles that specify versioned export symbols. We use the $ORIGIN and $ISALIST linker keywords to specify the location of the ultrasparc filtee.
61 lines
1.0 KiB
Makefile
61 lines
1.0 KiB
Makefile
#
|
|
# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
|
|
# Use is subject to license terms.
|
|
#
|
|
#ident "$Id: Makefile.in,v 1.1 2003/01/04 02:13:58 wtc%netscape.com Exp $"
|
|
#
|
|
|
|
MOD_DEPTH = ../..
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
include $(MOD_DEPTH)/config/autoconf.mk
|
|
|
|
%: %.ksh
|
|
$(RM) $@
|
|
cp $< $@
|
|
chmod +x $@
|
|
|
|
ifeq ($(USE_64), 1)
|
|
DIRS = \
|
|
SUNWprx
|
|
else
|
|
DIRS = \
|
|
SUNWpr
|
|
endif
|
|
|
|
PROTO = \
|
|
$(ROOT) \
|
|
$(ROOT)/usr \
|
|
$(ROOT)/usr/lib \
|
|
$(ROOT)/usr/lib/mps
|
|
|
|
ifdef USE_64
|
|
PROTO += $(ROOT)/usr/lib/mps/sparcv9
|
|
endif
|
|
|
|
include $(srcdir)/Makefile.com
|
|
|
|
awk_pkginfo: bld_awk_pkginfo
|
|
./bld_awk_pkginfo -m $(MACH) -p "$(PRODUCT_VERSION)" -o $@ -v $(PRODUCT_VERSION)
|
|
|
|
all:: awk_pkginfo $(PROTO)
|
|
publish: awk_pkginfo $(PROTO)
|
|
+$(LOOP_OVER_DIRS)
|
|
|
|
clean clobber::
|
|
$(RM) awk_pkginfo bld_awk_pkginfo
|
|
$(RM) -r $(ROOT)
|
|
|
|
$(ROOT) $(ROOT)/%:
|
|
mkdir -p $@
|
|
|
|
ifdef USE_64
|
|
$(ROOT)/usr/lib/mps/sparcv9:
|
|
$(LN) -sf ../../../../$(dist_libdir) $@
|
|
else
|
|
$(ROOT)/usr/lib/mps:
|
|
$(LN) -sf ../../../$(dist_libdir) $@
|
|
endif
|