components/visual-panels/core/src/cmd/rad/mod/panels/Makefile
changeset 827 0944d8c0158b
child 1410 ca9946e5736c
equal deleted inserted replaced
826:c6aad84d2493 827:0944d8c0158b
       
     1 #
       
     2 # CDDL HEADER START
       
     3 #
       
     4 # The contents of this file are subject to the terms of the
       
     5 # Common Development and Distribution License (the "License").
       
     6 # You may not use this file except in compliance with the License.
       
     7 #
       
     8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
       
     9 # or http://www.opensolaris.org/os/licensing.
       
    10 # See the License for the specific language governing permissions
       
    11 # and limitations under the License.
       
    12 #
       
    13 # When distributing Covered Code, include this CDDL HEADER in each
       
    14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
       
    15 # If applicable, add the following below this CDDL HEADER, with the
       
    16 # fields enclosed by brackets "[]" replaced with your own identifying
       
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
       
    18 #
       
    19 # CDDL HEADER END
       
    20 #
       
    21 
       
    22 #
       
    23 # Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
       
    24 #
       
    25 
       
    26 include $(SRC)/make-rules/Makefile.env
       
    27 
       
    28 CPPFLAGS += -I/usr/include/libxml2
       
    29 LDLIBS += -lxml2 -lcrypto
       
    30 
       
    31 # Compensate for libxml's lint library
       
    32 LINTFLAGS += -erroff=E_INCONS_ARG_DECL2
       
    33 
       
    34 MOD_APIS=panels
       
    35 MOD_OBJS=mod_panels.o
       
    36 MOD_LIBNAME=mod_panels.so
       
    37 MOD_INSTALLDIR=$(RADDIR_MODULE)
       
    38 
       
    39 DTDDIR=$(ROOT)/usr/share/lib/xml/dtd
       
    40 APISDIR=../../../../apis
       
    41 
       
    42 include $(SRC)/make-rules/Makefile.com
       
    43 
       
    44 install: $(DTDDIR)/vpanel.dtd.1
       
    45 
       
    46 FILEMODE=444
       
    47 $(DTDDIR)/%: %
       
    48 	$(INS.file);
       
    49 	$(RMCDDL)