xref: /onnv-gate/usr/src/lib/efcode/Makefile (revision 4437:6f42997a4fdb)
10Sstevel@tonic-gate#
20Sstevel@tonic-gate# CDDL HEADER START
30Sstevel@tonic-gate#
40Sstevel@tonic-gate# The contents of this file are subject to the terms of the
51772Sjl139090# Common Development and Distribution License (the "License").
61772Sjl139090# You may not use this file except in compliance with the License.
70Sstevel@tonic-gate#
80Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
90Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
100Sstevel@tonic-gate# See the License for the specific language governing permissions
110Sstevel@tonic-gate# and limitations under the License.
120Sstevel@tonic-gate#
130Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
140Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
150Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
160Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
170Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
180Sstevel@tonic-gate#
190Sstevel@tonic-gate# CDDL HEADER END
200Sstevel@tonic-gate#
210Sstevel@tonic-gate#
22*4437Sdhain# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
230Sstevel@tonic-gate# Use is subject to license terms.
240Sstevel@tonic-gate#
251772Sjl139090#ident	"%Z%%M%	%I%	%E% SMI"
260Sstevel@tonic-gate#
270Sstevel@tonic-gate
280Sstevel@tonic-gateinclude ../Makefile.lib
290Sstevel@tonic-gate
301772Sjl139090SUBDIRS = engine fcdriver extend packages pci gp2 upa interpreter efdaemon \
31*4437Sdhain	jupiter etc
320Sstevel@tonic-gateTESTDIRS = fcode_test
330Sstevel@tonic-gate
340Sstevel@tonic-gateEFCODEDIRS= $(ROOTLIBDIR)/efcode $(ROOTLIBDIR)/efcode/$(MACH64)
350Sstevel@tonic-gate
360Sstevel@tonic-gateall:= 		TARGET= all
370Sstevel@tonic-gateinstall:=	TARGET= install
380Sstevel@tonic-gateclean:=		TARGET= clean
390Sstevel@tonic-gateclobber:=	TARGET= clobber
400Sstevel@tonic-gatelint:=		TARGET= lint
410Sstevel@tonic-gate
420Sstevel@tonic-gate.PARALLEL: $(SUBDIRS)
430Sstevel@tonic-gate.KEEP_STATE:
440Sstevel@tonic-gate
450Sstevel@tonic-gateall clean clobber lint: $(SUBDIRS)
460Sstevel@tonic-gate
470Sstevel@tonic-gate$(EFCODEDIRS):
480Sstevel@tonic-gate	$(INS.dir)
490Sstevel@tonic-gate
500Sstevel@tonic-gateinstall: $(EFCODEDIRS) .WAIT $(SUBDIRS)
510Sstevel@tonic-gate
520Sstevel@tonic-gate$(SUBDIRS): FRC
530Sstevel@tonic-gate	@cd $@; pwd; $(MAKE) $(TARGET)
540Sstevel@tonic-gate
550Sstevel@tonic-gate$(TESTDIRS): FRC
560Sstevel@tonic-gate	@cd $@; pwd; $(MAKE) all
570Sstevel@tonic-gate
580Sstevel@tonic-gateFRC:
590Sstevel@tonic-gate
600Sstevel@tonic-gate#
610Sstevel@tonic-gate# Interdependencies between shared objects follow.
620Sstevel@tonic-gate#
630Sstevel@tonic-gate
641772Sjl139090extend fcdriver packages pci gp2 upa interpreter efdaemon jupiter: engine
650Sstevel@tonic-gate
660Sstevel@tonic-gatefcdriver: packages
670Sstevel@tonic-gate
681772Sjl139090gp2 pci interpreter jupiter: fcdriver
690Sstevel@tonic-gate
700Sstevel@tonic-gateinterpreter: packages extend
71