1281N/A#
144N/A# Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved.
144N/A#
144N/A# U.S. Government Rights - Commercial software. Government users are subject
1281N/A# to the Sun Microsystems, Inc. standard license agreement and applicable
144N/A# provisions of the FAR and its supplements.
144N/A#
144N/A#
144N/A# This distribution may include materials developed by third parties. Sun,
144N/A# Sun Microsystems, the Sun logo and Solaris are trademarks or registered
144N/A# trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
144N/A#
144N/A#
144N/A
144N/A#
144N/A#
144N/A# Makefile for sun directory in SMA
144N/A#
144N/A# $Log: Makefile,v $
144N/A# Revision 1.10 2004/01/09 14:04:14 rr144420
144N/A# 4974843 - directory change per LSARC
1186N/A#
1186N/A# Revision 1.9 2003/12/11 16:20:17 rr144420
1186N/A# 4964336 - eliminate sdk_buildrev
1478N/A#
1478N/A# Revision 1.8 2003/12/05 15:04:26 rr144420
1478N/A# 4964325 - Sun: pass ARCH=isa to make install
1478N/A#
1478N/A# Revision 1.7 2003/11/17 17:52:11 pcarroll
1478N/A# 4953668 - Sun: updated masfcnv migration script needs to be added to pkg
1478N/A#
1478N/A# Revision 1.6 2003/11/11 22:49:24 pcarroll
1478N/A# 4952508 - Sun: need to add a script to SMA pkgs for Enchilada migration
1478N/A#
1478N/A# Revision 1.5 2003/10/24 11:45:48 rr144420
1478N/A# 4943260 - add sdk_buildrev
1478N/A#
1478N/A# Revision 1.4 2003/08/21 14:41:58 rr144420
1186N/A# 4908816 - further makefile changes to install into correct lib
1186N/A#
1186N/A# Revision 1.3 2003/08/12 21:14:34 rr144420
1281N/A# 4895376 - correct Sun copyright statements. Cannot use (c), and must use Copyright Copyright in makefiles
1281N/A#
1470N/A# Revision 1.2 2003/08/01 16:32:12 rr144420
1330N/A# more of Paul's changes for packaging
1330N/A#
1330N/A# Revision 1.1 2003/07/23 15:53:28 rr144420
1330N/A# new makefiles for building sun directory
1330N/A#
1419N/A#
1186N/ASUBDIRS = agent
1186N/ABUILDREV_SRCS = sma_buildrev.c
1186N/ABUILDREV_PROGS = $(BUILDREV_SRCS:.c=)
1186N/ASCRIPT_PROG = masfcnv \
1186N/A masfd \
1364N/A snmpd.conf
1281N/A
1281N/Aall: subdirs buildrevs
1281N/A
1186N/Abuildrevs:$(BUILDREV_PROGS)
1186N/A.c:
1186N/A $(CC) $< -o $@
1281N/A
1281N/Asubdirs:
1281N/A echo "SUBDIRS: $(MAKE) CFGPREFIX=$(CFGPREFIX) CFGLIB64=$(CFGLIB64) CFGLIB=$(CFGLIB) CC=$(CC) DEBUG=$(DEBUG) ARCH=$(ARCH)" ;
1281N/A @if test "$(SUBDIRS)" != ""; then \
1281N/A it="$(SUBDIRS)" ; \
1281N/A for i in $$it ; do \
1186N/A echo "making all in `pwd`/$$i"; \
1186N/A ( cd $$i ; $(MAKE) CFGPREFIX=$(CFGPREFIX) CFGLIB64=$(CFGLIB64) CFGLIB=$(CFGLIB) CC=$(CC) DEBUG=$(DEBUG) ARCH=$(ARCH) ) ; \
1186N/A if test $$? != 0 ; then \
1281N/A exit 1 ; \
1281N/A fi \
1281N/A done \
1186N/A fi
1186N/A
1186N/Asubdirs_install:
1281N/A @if test "$(SUBDIRS)" != ""; then \
1281N/A it="$(SUBDIRS)" ; \
1281N/A for i in $$it ; do \
1281N/A echo "making install in `pwd`/$$i"; \
1281N/A ( cd $$i ; $(MAKE) CFGPREFIX=$(CFGPREFIX) CFGLIB64=$(CFGLIB64) CFGLIB=$(CFGLIB) install ARCH=$(ARCH) ) ; \
1186N/A if test $$? != 0 ; then \
1186N/A exit 1 ; \
1186N/A fi \
1281N/A done \
1281N/A fi
1281N/A
1281N/Ainstall: subdirs_install
1281N/A
1281N/Aforce:
1281N/A# dummy target to force rebuilding
1281N/A