|
1 # |
|
2 # Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. |
|
3 # |
|
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. |
|
7 # |
|
8 # |
|
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. |
|
12 # |
|
13 # |
|
14 |
|
15 # |
|
16 # |
|
17 # Makefile for sun/agent directory in SMA |
|
18 # |
|
19 # $Log: Makefile,v $ |
|
20 # Revision 1.5 2003/09/18 11:39:08 rr144420 |
|
21 # 4922904 - include sea directory in makefile |
|
22 # |
|
23 # Revision 1.4 2003/08/21 14:42:00 rr144420 |
|
24 # 4908816 - further makefile changes to install into correct lib |
|
25 # |
|
26 # Revision 1.3 2003/08/12 21:14:36 rr144420 |
|
27 # 4895376 - correct Sun copyright statements. Cannot use (c), and must use Copyright Copyright in makefiles |
|
28 # |
|
29 # Revision 1.2 2003/08/01 16:32:16 rr144420 |
|
30 # more of Paul's changes for packaging |
|
31 # |
|
32 # Revision 1.1 2003/07/23 15:53:29 rr144420 |
|
33 # new makefiles for building sun directory |
|
34 # |
|
35 # |
|
36 |
|
37 SUBDIRS = modules mibs |
|
38 |
|
39 all: |
|
40 @if test "$(SUBDIRS)" != ""; then \ |
|
41 it="$(SUBDIRS)" ; \ |
|
42 for i in $$it ; do \ |
|
43 echo "making all in `pwd`/$$i"; \ |
|
44 echo "SUBDIRS2: $(MAKE) CC=$(CC) DEBUG=$(DEBUG) ARCH=$(ARCH)" ; \ |
|
45 ( cd $$i ; $(MAKE) CC=$(CC) DEBUG=$(DEBUG) ARCH=$(ARCH) ROOT=$(ROOT) ) ; \ |
|
46 if test $$? != 0 ; then \ |
|
47 exit 1 ; \ |
|
48 fi \ |
|
49 done \ |
|
50 fi |
|
51 |
|
52 install: |
|
53 @if test "$(SUBDIRS)" != ""; then \ |
|
54 it="$(SUBDIRS)" ; \ |
|
55 for i in $$it ; do \ |
|
56 echo "making install in `pwd`/$$i"; \ |
|
57 ( cd $$i ; $(MAKE) install ARCH=$(ARCH) ) ; \ |
|
58 if test $$? != 0 ; then \ |
|
59 exit 1 ; \ |
|
60 fi \ |
|
61 done \ |
|
62 fi |