Makefile.com revision cee0fb94c0d4227de0a00efc162fb2739844b641
29949e866e40b95795203f3ee46f44a197c946e4stevel#
29949e866e40b95795203f3ee46f44a197c946e4stevel# CDDL HEADER START
29949e866e40b95795203f3ee46f44a197c946e4stevel#
29949e866e40b95795203f3ee46f44a197c946e4stevel# The contents of this file are subject to the terms of the
29949e866e40b95795203f3ee46f44a197c946e4stevel# Common Development and Distribution License (the "License").
29949e866e40b95795203f3ee46f44a197c946e4stevel# You may not use this file except in compliance with the License.
29949e866e40b95795203f3ee46f44a197c946e4stevel#
29949e866e40b95795203f3ee46f44a197c946e4stevel# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
29949e866e40b95795203f3ee46f44a197c946e4stevel# or http://www.opensolaris.org/os/licensing.
29949e866e40b95795203f3ee46f44a197c946e4stevel# See the License for the specific language governing permissions
29949e866e40b95795203f3ee46f44a197c946e4stevel# and limitations under the License.
29949e866e40b95795203f3ee46f44a197c946e4stevel#
29949e866e40b95795203f3ee46f44a197c946e4stevel# When distributing Covered Code, include this CDDL HEADER in each
29949e866e40b95795203f3ee46f44a197c946e4stevel# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
29949e866e40b95795203f3ee46f44a197c946e4stevel# If applicable, add the following below this CDDL HEADER, with the
29949e866e40b95795203f3ee46f44a197c946e4stevel# fields enclosed by brackets "[]" replaced with your own identifying
29949e866e40b95795203f3ee46f44a197c946e4stevel# information: Portions Copyright [yyyy] [name of copyright owner]
29949e866e40b95795203f3ee46f44a197c946e4stevel#
29949e866e40b95795203f3ee46f44a197c946e4stevel# CDDL HEADER END
29949e866e40b95795203f3ee46f44a197c946e4stevel#
29949e866e40b95795203f3ee46f44a197c946e4stevel#
29949e866e40b95795203f3ee46f44a197c946e4stevel# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
29949e866e40b95795203f3ee46f44a197c946e4stevel# Use is subject to license terms.
29949e866e40b95795203f3ee46f44a197c946e4stevel#
89b43686db1fe9681d80a7cf5662730cb9378caeBayard Bell#
29949e866e40b95795203f3ee46f44a197c946e4stevel
29949e866e40b95795203f3ee46f44a197c946e4stevelLIBRARY = libmmsadm.a
29949e866e40b95795203f3ee46f44a197c946e4stevelVERS = .1
29949e866e40b95795203f3ee46f44a197c946e4stevel
29949e866e40b95795203f3ee46f44a197c946e4stevelOBJECTS = mgmt_lib.o mgmt_media.o mgmt_dsk.o \
29949e866e40b95795203f3ee46f44a197c946e4stevel mgmt_mmp.o mgmt_mmsdb.o mgmt_probe.o \
29949e866e40b95795203f3ee46f44a197c946e4stevel mgmt_util.o mgmt_acsls.o mgmt_mm.o
29949e866e40b95795203f3ee46f44a197c946e4stevel
29949e866e40b95795203f3ee46f44a197c946e4stevelinclude $(SRC)/lib/Makefile.lib
29949e866e40b95795203f3ee46f44a197c946e4stevelinclude ../Makefile.defs
29949e866e40b95795203f3ee46f44a197c946e4stevel
29949e866e40b95795203f3ee46f44a197c946e4stevelLIBS = $(DYNLIB) $(LINTLIB)
29949e866e40b95795203f3ee46f44a197c946e4stevel
29949e866e40b95795203f3ee46f44a197c946e4stevelSRCDIR = ../common
29949e866e40b95795203f3ee46f44a197c946e4stevel
29949e866e40b95795203f3ee46f44a197c946e4stevelSRCS = $(OBJECTS:%.o=$(SRCDIR)/%.c)
29949e866e40b95795203f3ee46f44a197c946e4stevel
29949e866e40b95795203f3ee46f44a197c946e4stevelMAPFILES =
29949e866e40b95795203f3ee46f44a197c946e4stevel
29949e866e40b95795203f3ee46f44a197c946e4stevelROOTLIBDIR = $(ROOTMMSLIBDIR)
29949e866e40b95795203f3ee46f44a197c946e4stevel
29949e866e40b95795203f3ee46f44a197c946e4stevelLDLIBS += -lsocket -lc
29949e866e40b95795203f3ee46f44a197c946e4stevelLDLIBS += -lscf -lgen -lnvpair -lsecdb
29949e866e40b95795203f3ee46f44a197c946e4stevelLDLIBS += -L$(SRC)/lib/mms/mms/$(MACH) -lmms
29949e866e40b95795203f3ee46f44a197c946e4stevel
29949e866e40b95795203f3ee46f44a197c946e4stevelCFLAGS += $(CTF_FLAGS) $(CCVERBOSE)
29949e866e40b95795203f3ee46f44a197c946e4stevelCFLAGS += $(C_BIGPICFLAGS)
29949e866e40b95795203f3ee46f44a197c946e4stevel
29949e866e40b95795203f3ee46f44a197c946e4stevelDEBUGFORMAT =
29949e866e40b95795203f3ee46f44a197c946e4stevel
29949e866e40b95795203f3ee46f44a197c946e4stevelCPPFLAGS += -DMMS_OPENSSL
29949e866e40b95795203f3ee46f44a197c946e4stevelCPPFLAGS += -I$(SRCDIR) -I$(SRC)/common/mms/mms
29949e866e40b95795203f3ee46f44a197c946e4stevelCPPFLAGS += -I$(SRC)/lib/mms/mms/common
29949e866e40b95795203f3ee46f44a197c946e4stevelCPPFLAGS += -I$(SRC)/uts/common/io/mms/dda
29949e866e40b95795203f3ee46f44a197c946e4stevelCPPFLAGS += -I$(ACSLSH)
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCPPFLAGS += -D_POSIX_PTHREAD_SEMANTICS
29949e866e40b95795203f3ee46f44a197c946e4stevel
29949e866e40b95795203f3ee46f44a197c946e4stevelC99MODE = $(C99_ENABLE)
29949e866e40b95795203f3ee46f44a197c946e4stevel
29949e866e40b95795203f3ee46f44a197c946e4stevel.KEEP_STATE:
29949e866e40b95795203f3ee46f44a197c946e4stevel
29949e866e40b95795203f3ee46f44a197c946e4stevelall: $(LIBS) $(LIBLINKS)
89b43686db1fe9681d80a7cf5662730cb9378caeBayard Bell
89b43686db1fe9681d80a7cf5662730cb9378caeBayard Belllint: $(LINTLIB) lintcheck
89b43686db1fe9681d80a7cf5662730cb9378caeBayard Bell
89b43686db1fe9681d80a7cf5662730cb9378caeBayard Bell$(LIBLINKS): FRC
89b43686db1fe9681d80a7cf5662730cb9378caeBayard Bell $(RM) $@; $(SYMLINK) $(DYNLIB) $@
29949e866e40b95795203f3ee46f44a197c946e4stevel
29949e866e40b95795203f3ee46f44a197c946e4stevelFRC:
29949e866e40b95795203f3ee46f44a197c946e4stevel
29949e866e40b95795203f3ee46f44a197c946e4stevelinclude $(SRC)/lib/Makefile.targ
29949e866e40b95795203f3ee46f44a197c946e4stevelinclude ../Makefile.rootdirs
29949e866e40b95795203f3ee46f44a197c946e4stevel
29949e866e40b95795203f3ee46f44a197c946e4stevel