Makefile revision 519
10139N/A# The contents of this file are subject to the terms of the 10139N/A# Common Development and Distribution License (the "License"). 10139N/A# You may not use this file except in compliance with the License. 10139N/A# See the License for the specific language governing permissions 10139N/A# and limitations under the License. 10139N/A# When distributing Covered Code, include this CDDL HEADER in each 10139N/A# If applicable, add the following below this CDDL HEADER, with the 10139N/A# fields enclosed by brackets "[]" replaced with your own identifying 10139N/A# information: Portions Copyright [yyyy] [name of copyright owner] 10139N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. 10139N/A# we build three different variants of emacs for our users. As Solaris 10139N/A# always has a 64-bit kernel, and 64-bit emacs can handle larger files, 10139N/A# we only build and deliver 64-bit binaries. 10139N/A# contains the platform name. Although the name is platform dependent, 10139N/A# the files inside it are the same on all platforms. By adding this 10139N/A# to the pkgmogrify macros, we can write our manifests in a portable way. 10139N/A# LD_OPTIONS is defined to apply desirable link-editor options to Userland 10139N/A# components. Non-executable stack and data break sparc emacs. 10139N/A# This code is built with gcc. The primary reason for this is that the 10139N/A# configure script has problems using a non-GNU cpp. I am not aware of 13931N/A# any reason Sun Studio could not be made to work, but simply made a 10139N/A# Uncomment this for debugging only. It configures emacs to run from the 10139N/A# local proto instead of from its final installed location. 10139N/A#CONFIGURE_PREFIX = $(PROTO_DIR)/usr 10139N/A# configure options common to all variants of emacs that we want to build. 13678N/A# variant specific configure options 10139N/A# we need to build all variants, but only have to install one in order 11933N/A# to get the common files shared by all. We use COMPONENT_POST_INSTALL_ACTION 10139N/A# to remove unwanted files, copy the emacs binaries from the other tookit 10139N/A# builds into place, and install the additional files we provide. 10139N/A# Note that this tweaking is not required, as the proto need not match 10139N/A# the packaging. However, doing it this way allows us to examine the proto 13760N/A# as a finished and complete product, simplifies debugging emacs, and 10139N/A# facilitates the use of 'gmake sample-manifest'. 13732N/A# Emacs shell script that picks the right variant at runtime 10139N/A# this is that we do not install update-game-score as setuid, and 10139N/A# therefore the game files are not usable. This the same decision made 10139N/A# DOC-23.1.1. Remove and replace. 13685N/A# hierarchy. Emacs builds it, as presumably do all GNU packages, but on