4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster#
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# CDDL HEADER START
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster#
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# The contents of this file are subject to the terms of the
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# Common Development and Distribution License, Version 1.0 only
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# (the "License"). You may not use this file except in compliance
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# with the License.
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster#
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# or http://www.opensolaris.org/os/licensing.
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# See the License for the specific language governing permissions
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# and limitations under the License.
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster#
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# When distributing Covered Code, include this CDDL HEADER in each
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# If applicable, add the following below this CDDL HEADER, with the
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# fields enclosed by brackets "[]" replaced with your own identifying
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# information: Portions Copyright [yyyy] [name of copyright owner]
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster#
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# CDDL HEADER END
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster#
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster#
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# Use is subject to license terms.
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster#
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Fosterinclude $(SRC)/cmd/Makefile.cmd
fbb37289e2100511fbb9c5a5667903af04c3e434Mark de Reeperinclude $(SRC)/cmd/Makefile.cmd.64
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster
79943d71bcf8d4933e74f29a1b0e87f8898508cbPeter MajorPROG = interpreter
505445259010027ce6eb685ea93b8a09aa67fd5dMark de Reeper
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan FosterEFCODEDIR64 = $(ROOT)/usr/lib/efcode/$(MACH64)
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan FosterROOTCMDDIR = $(EFCODEDIR64)
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster
79943d71bcf8d4933e74f29a1b0e87f8898508cbPeter MajorCPPFLAGS += -DDEBUG -DFCODE_INTERNAL
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCPPFLAGS += -I ../include -I $(ROOT)/usr/platform/sun4u/include
91809f12dede993bae2653ba508592c5488b7494David LunaCERRWARN += -_gcc=-Wno-unused-variable
91809f12dede993bae2653ba508592c5488b7494David LunaCERRWARN += -_gcc=-Wno-uninitialized
91809f12dede993bae2653ba508592c5488b7494David LunaLDFLAGS += -R/usr/lib/efcode/$(MACH64) -M mapfile64
91809f12dede993bae2653ba508592c5488b7494David Luna
91809f12dede993bae2653ba508592c5488b7494David LunaLIBS = fcode.so fcdriver.so
baaed411ab408955d7c976883c7ab76392b85acejeff.schenk$(PROG) := LDLIBS += -L$(ADJUNCT_PROTO)/usr/lib/efcode/$(MACH64) \
91809f12dede993bae2653ba508592c5488b7494David Luna $(LIBS:%=$(EFCODEDIR64)/%)
79943d71bcf8d4933e74f29a1b0e87f8898508cbPeter Major
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Fosterall: $(PROG)
79943d71bcf8d4933e74f29a1b0e87f8898508cbPeter Major
91809f12dede993bae2653ba508592c5488b7494David Lunaclean:
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster -$(RM) $(PROG)
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster
79943d71bcf8d4933e74f29a1b0e87f8898508cbPeter Majorinstall: all .WAIT $(ROOTCMD)
baaed411ab408955d7c976883c7ab76392b85acejeff.schenk
baaed411ab408955d7c976883c7ab76392b85acejeff.schenklint: lint_PROG
baaed411ab408955d7c976883c7ab76392b85acejeff.schenk
baaed411ab408955d7c976883c7ab76392b85acejeff.schenk.KEEP_STATE:
baaed411ab408955d7c976883c7ab76392b85acejeff.schenk
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkinclude $(SRC)/cmd/Makefile.targ
baaed411ab408955d7c976883c7ab76392b85acejeff.schenk