components/net-snmp/sun/agent/modules/Makefile
changeset 252 ee0fb1eabcbf
equal deleted inserted replaced
251:f527656d334f 252:ee0fb1eabcbf
       
     1 
       
     2 #
       
     3 # Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
       
     4 #
       
     5 # U.S. Government Rights - Commercial software. Government users are subject
       
     6 # to the Sun Microsystems, Inc. standard license agreement and applicable
       
     7 # provisions of the FAR and its supplements.
       
     8 #
       
     9 #
       
    10 # This distribution may include materials developed by third parties. Sun,
       
    11 # Sun Microsystems, the Sun logo and Solaris are trademarks or registered
       
    12 # trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
       
    13 #
       
    14 #
       
    15 
       
    16 #
       
    17 #
       
    18 # Makefile for sun/agent/modules directory in SMA
       
    19 #
       
    20 # $Log: Makefile,v $
       
    21 # Revision 1.7  2003/09/04 17:53:26  rr144420
       
    22 # 4917378 - remove healthMonitor from makefiles
       
    23 #
       
    24 # Revision 1.6  2003/08/21 14:42:01  rr144420
       
    25 # 4908816 - further makefile changes to install into correct lib
       
    26 #
       
    27 # Revision 1.5  2003/08/12 21:14:38  rr144420
       
    28 # 4895376 - correct Sun copyright statements. Cannot use (c), and must use Copyright Copyright in makefiles
       
    29 #
       
    30 # Revision 1.4  2003/08/04 17:10:57  dporter
       
    31 # 4890836 - build new seaProxy module
       
    32 #
       
    33 # Revision 1.3  2003/07/31 21:34:44  pcarroll
       
    34 # Add seaExtensions to Makefile
       
    35 #
       
    36 # Revision 1.2  2003/07/28 19:27:15  augustus
       
    37 # This is the complete Entity MIB Implementation.
       
    38 #
       
    39 # Revision 1.1  2003/07/23 15:53:32  rr144420
       
    40 # new makefiles for building sun directory
       
    41 # 
       
    42 #
       
    43 
       
    44 # removed healthMonitor
       
    45 
       
    46 SUBDIRS		= entityMib seaExtensions
       
    47 
       
    48 all:
       
    49 	@if test "$(SUBDIRS)" != ""; then \
       
    50 		it="$(SUBDIRS)" ; \
       
    51 		for i in $$it ; do       \
       
    52 			echo "making all in `pwd`/$$i"; \
       
    53 			echo "SUBDIRS3:  $(MAKE) CC=$(CC) DEBUG=$(DEBUG) ARCH=$(ARCH)" ; \
       
    54 	                ( cd $$i ; $(MAKE) CC=$(CC) DEBUG=$(DEBUG) ARCH=$(ARCH) ROOT=$(ROOT) ) ; \
       
    55 			echo "====> Makeing in dir $$i"; \
       
    56                         if test $$? != 0 ; then \
       
    57 				exit 1 ; \
       
    58 			fi  \
       
    59 	        done \
       
    60 	fi
       
    61 
       
    62 install:
       
    63 	@if test "$(SUBDIRS)" != ""; then \
       
    64 		it="$(SUBDIRS)" ; \
       
    65 		for i in $$it ; do       \
       
    66 			echo "making install in `pwd`/$$i"; \
       
    67 	                ( cd $$i ; $(MAKE) install ARCH=$(ARCH) ) ; \
       
    68                         if test $$? != 0 ; then \
       
    69 				exit 1 ; \
       
    70 			fi  \
       
    71 	        done \
       
    72 	fi