883N/A#
883N/A# CDDL HEADER START
883N/A#
883N/A# The contents of this file are subject to the terms of the
883N/A# Common Development and Distribution License (the "License").
883N/A# You may not use this file except in compliance with the License.
883N/A#
883N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
883N/A# or http://www.opensolaris.org/os/licensing.
883N/A# See the License for the specific language governing permissions
883N/A# and limitations under the License.
883N/A#
883N/A# When distributing Covered Code, include this CDDL HEADER in each
883N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
883N/A# If applicable, add the following below this CDDL HEADER, with the
883N/A# fields enclosed by brackets "[]" replaced with your own identifying
883N/A# information: Portions Copyright [yyyy] [name of copyright owner]
883N/A#
883N/A# CDDL HEADER END
883N/A#
883N/A
883N/A#
2110N/A# Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
883N/A#
883N/A
883N/A#
883N/A# Common targets
883N/A#
883N/A
883N/Abuild := TARGET = build
883N/Ainstall := TARGET = install
883N/Apublish := TARGET = publish
883N/Aclean := TARGET = clean
883N/Aclobber := TARGET = clobber
883N/Alint := TARGET = lint
883N/A
883N/A.NO_PARALLEL:
883N/A
883N/Abuild install publish lint: $(SUBDIRS)
883N/A
883N/A# Add to above dependency
883N/Ainstall: build
883N/A
883N/Apublish: install
883N/A
883N/A$(DEPENDENCY_JARS):
883N/A cd $(@D); $(MAKE) $(@F)
883N/A
883N/A$(SUBDIRS): FRC
883N/A @cd $@; pwd; $(MAKE) $(TARGET)
883N/A
883N/Aclean: $(SUBDIRS)
883N/A $(RM) -r - $(CLEAN_FILES)
883N/A
883N/Aclobber: $(SUBDIRS)
883N/A $(RM) -r - $(CLOBBER_FILES)
883N/A
883N/Ainstall_h: $(ROOTHDRS)
883N/A
883N/A$(PROTO_DOC)%:
883N/A $(INS.dir)
883N/A
883N/A# Proto files
883N/A$(PROTO_APPS)/% \
956N/A $(PROTO_APPS_PO)/% \
883N/A $(PROTO_AUTOSTART)/% \
883N/A $(PROTO_LIB)/% \
883N/A $(PROTO_MDB)/%: %
883N/A $(INS.file)
883N/A
883N/A# Proto files, remove CDDL
883N/A$(PROTO_BIN)/% $(PROTO_RAD)/% := FILEMODE = 0555
883N/A$(PROTO_BIN)/% \
883N/A $(PROTO_ETC_VPANELS)/% \
883N/A $(PROTO_ETC_UATTR.D)/% \
883N/A $(PROTO_HELP_AUTHS)/% \
883N/A $(PROTO_HELP_PROFS)/% \
883N/A $(PROTO_MFS_NETWORK)/% \
883N/A $(PROTO_MFS_SYSTEM)/% \
883N/A $(PROTO_MTD)/% \
883N/A $(PROTO_RAD)/% \
883N/A $(PROTO_SCHEMA)/% \
883N/A $(PROTO_VP_DIR)/%: %
883N/A $(INS.file);
883N/A $(RMCDDL)
883N/A
883N/A# Proto headers, remove CDDL
883N/A$(ROOTHDRDIR)/% := FILEMODE = 0644
883N/A$(ROOTHDRDIR)/%: $(HDRDIR)/%
883N/A $(INS.file);
883N/A $(RMCDDL)
883N/A
883N/A$(ROOTLIBDIR32) $(ROOTLIBDIR64):
883N/A $(INS.dir)
883N/A
883N/A$(LINTLIB): $(LINTSRCS)
883N/A $(LINT.c) -mnuvxy -o $(LIBNAME) $(LINTSRCS) > $(LINTOUT) 2>&1
883N/A
2110N/Aapi_%.h api_%_impl.c: $(APISDIR)/%.adr
2110N/A $(RADADRGEN) -s server -l c -d . $<
883N/A
2110N/Aapi_%.h api_%_impl.c: %.adr
2110N/A $(RADADRGEN) -s server -l c -d . $<
883N/A
883N/A.c.o:
1016N/A $(COMPILE.c) $(OUTPUT_OPTION) $<
883N/A
883N/AFRC: