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