Makefile revision fcf3ce441efd61da9bb2884968af01cb7c1452cc
0N/A#
0N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
0N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
0N/A# CDDL HEADER END
0N/A#
0N/A#
0N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
0N/A# Use is subject to license terms.
0N/A#
0N/A
0N/APROG = isns
0N/A
0N/ADSRC = isns_provider.d
0N/ADTRACE_HEADER = $(DSRC:%.d=%.h)
0N/A
0N/ACOBJS = main.o qry.o admintf.o dsapi.o log.o sched.o dseng.o scn.o cache.o
0N/ACOBJS += dump.o msgq.o server.o config.o esi.o obj.o utils.o dd.o func.o
0N/ACOBJS += pdu.o door.o htable.o
0N/AOBJS = $(COBJS) $(DSRC:%.d=%.o)
0N/ASRCS = $(COBJS:%.o=%.c)
0N/APOFILE= isns.po
0N/APOFILES = $(COBJS:%.o=%.po)
0N/A
0N/Ainclude ../../Makefile.cmd
0N/A
0N/ADATA_STORE = xml
0N/AXML_DIR = xml_def
0N/AISNS_SVC = $(XML_DIR)/isns_server.xml
0N/A
0N/AMANIFEST = isns_server.xml
0N/AROOTMANIFESTDIR = $(ROOTSVCNETWORK)
0N/A$(ROOTSVCNETWORK)/isns_server.xml := OWNER = root
0N/A$(ROOTSVCNETWORK)/isns_server.xml := GROUP = bin
0N/A$(ROOTSVCNETWORK)/isns_server.xml := FILEMODE = 0444
0N/A
0N/ACFLAGS += $(CCVERBOSE)
0N/ACPPFLAGS += -I./ -I/usr/include/libxml2
0N/ACPPFLAGS += -DTARGET_DATA_STORE=$(DATA_STORE)
0N/ACPPFLAGS += -D_POSIX_PTHREAD_SEMANTICS
0N/ALINTFLAGS += -xerroff=E_BAD_PTR_CAST_ALIGN
0N/ALINTFLAGS += -xerroff=E_NAME_USED_NOT_DEF2
0N/ALINTFLAGS += -xerroff=E_CASE_FALLTHRU
0N/A
0N/Aobj.o := CERRWARN += -erroff=E_CONST_OBJ_SHOULD_HAVE_INITIZR
0N/Aobj.o := CERRWARN += -erroff=E_IMPLICIT_DECL_FUNC_RETURN_INT
0N/A
0N/ALDLIBS += -lsecdb -lsocket -lnsl -lscf -lxml2 -ldoor
0N/A
0N/A.KEEP_STATE:
0N/A
0N/Aall: $(PROG)
0N/A
0N/A$(PROG): $(OBJS)
0N/A $(LINK.c) -o $@ $(COBJS) $(LDLIBS)
0N/A $(POST_PROCESS)
0N/A
0N/A%.h: %.d
0N/A $(DTRACE) -xnolibs -h -s $< -o $@
0N/A
0N/A%.o: %.c $(DTRACE_HEADER)
0N/A $(COMPILE.c) $<
0N/A $(POST_PROCESS_O)
0N/A
0N/A%.o: %.d $(COBJS)
0N/A $(COMPILE.d) -xnolibs -s $< $(COBJS)
0N/A $(POST_PROCESS_O)
0N/A
0N/Aclean:
0N/A $(RM) $(OBJS)
0N/A
0N/Alint: lint_SRCS
0N/A
0N/A$(POFILE): $(POFILES)
0N/A $(RM) $@
0N/A $(CAT) $(POFILES) > $@
0N/A
0N/Acheck: $(CHKMANIFEST)
0N/A
0N/Ainclude ../../Makefile.targ
0N/A
0N/Ainstall: all .WAIT $(ROOTUSRSBINPROG) $(ROOTMANIFEST)
0N/A