dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / lib / efcode / Makefile
blobeffa44c0b4db95a35784a00bbf54a379b159f72d
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
22 # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
25 #ident "%Z%%M% %I% %E% SMI"
28 include ../Makefile.lib
30 SUBDIRS = engine fcdriver extend packages pci gp2 upa interpreter efdaemon \
31 jupiter etc
32 TESTDIRS = fcode_test
34 EFCODEDIRS= $(ROOTLIBDIR)/efcode $(ROOTLIBDIR)/efcode/$(MACH64)
36 all:= TARGET= all
37 install:= TARGET= install
38 clean:= TARGET= clean
39 clobber:= TARGET= clobber
41 .PARALLEL: $(SUBDIRS)
42 .KEEP_STATE:
44 all clean clobber: $(SUBDIRS)
46 $(EFCODEDIRS):
47 $(INS.dir)
49 install: $(EFCODEDIRS) .WAIT $(SUBDIRS)
51 $(SUBDIRS): FRC
52 @cd $@; pwd; $(MAKE) $(TARGET)
54 $(TESTDIRS): FRC
55 @cd $@; pwd; $(MAKE) all
57 FRC:
60 # Interdependencies between shared objects follow.
63 extend fcdriver packages pci gp2 upa interpreter efdaemon jupiter: engine
65 fcdriver: packages
67 gp2 pci interpreter jupiter: fcdriver
69 interpreter: packages extend