2 # Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved.
4 # U.S. Government Rights - Commercial software. Government users are subject
5 # to the Sun Microsystems, Inc. standard license agreement and applicable
6 # provisions of the FAR and its supplements.
9 # This distribution may include materials developed by third parties. Sun,
10 # Sun Microsystems, the Sun logo and Solaris are trademarks or registered
11 # trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
17 # Makefile for sun directory in SMA
20 # Revision 1.10 2004/01/09 14:04:14 rr144420
21 # 4974843 - directory change per LSARC
23 # Revision 1.9 2003/12/11 16:20:17 rr144420
24 # 4964336 - eliminate sdk_buildrev
26 # Revision 1.8 2003/12/05 15:04:26 rr144420
27 # 4964325 - Sun: pass ARCH=isa to make install
29 # Revision 1.7 2003/11/17 17:52:11 pcarroll
30 # 4953668 - Sun: updated masfcnv migration script needs to be added to pkg
32 # Revision 1.6 2003/11/11 22:49:24 pcarroll
33 # 4952508 - Sun: need to add a script to SMA pkgs for Enchilada migration
35 # Revision 1.5 2003/10/24 11:45:48 rr144420
36 # 4943260 - add sdk_buildrev
38 # Revision 1.4 2003/08/21 14:41:58 rr144420
39 # 4908816 - further makefile changes to install into correct lib
41 # Revision 1.3 2003/08/12 21:14:34 rr144420
42 # 4895376 - correct Sun copyright statements. Cannot use (c), and must use Copyright Copyright in makefiles
44 # Revision 1.2 2003/08/01 16:32:12 rr144420
45 # more of Paul's changes for packaging
47 # Revision 1.1 2003/07/23 15:53:28 rr144420
48 # new makefiles for building sun directory
52 BUILDREV_SRCS
= sma_buildrev.c
53 BUILDREV_PROGS
= $(BUILDREV_SRCS
:.c
=)
54 SCRIPT_PROG
= masfcnv \
58 all: subdirs buildrevs
60 buildrevs
:$(BUILDREV_PROGS
)
65 echo
"SUBDIRS: $(MAKE) CFGPREFIX=$(CFGPREFIX) CFGLIB64=$(CFGLIB64) CFGLIB=$(CFGLIB) CC=$(CC) DEBUG=$(DEBUG) ARCH=$(ARCH)" ;
66 @if
test "$(SUBDIRS)" != ""; then \
69 echo
"making all in `pwd`/$$i"; \
70 ( cd
$$i ; $(MAKE
) CFGPREFIX
=$(CFGPREFIX
) CFGLIB64
=$(CFGLIB64
) CFGLIB
=$(CFGLIB
) CC
=$(CC
) DEBUG
=$(DEBUG
) ARCH
=$(ARCH
) ) ; \
71 if
test $$?
!= 0 ; then \
78 @if
test "$(SUBDIRS)" != ""; then \
81 echo
"making install in `pwd`/$$i"; \
82 ( cd
$$i ; $(MAKE
) CFGPREFIX
=$(CFGPREFIX
) CFGLIB64
=$(CFGLIB64
) CFGLIB
=$(CFGLIB
) install ARCH
=$(ARCH
) ) ; \
83 if
test $$?
!= 0 ; then \
89 install: subdirs_install
92 # dummy target to force rebuilding