7712 mandoc -Tlint does always exit with error code 0
[unleashed.git] / usr / src / cmd / lvm / metassist / controller / Makefile
blob137b867eaf4a6c6e8664346a086b29eaa6b8c926
2 # CDDL HEADER START
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.
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.
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]
19 # CDDL HEADER END
22 # Copyright 2006 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
26 METASSIST_TOPLEVEL = ..
28 SRCS = getopt_ext.c metassist.c
29 OBJS = $(SRCS:%.c=%.o)
30 HDRS = $(SRCS:%.c=%.h)
31 MSGFILES = $(SRCS:%.c=%.i)
33 include $(METASSIST_TOPLEVEL)/../../Makefile.cmd
34 include $(METASSIST_TOPLEVEL)/Makefile.env
36 INCLUDES += -I.. -I../common -I../xml -I../layout \
37 -I$(ADJUNCT_PROTO)/usr/include/libxml2
38 CFLAGS += $(INCLUDES)
40 POFILE = controllerp.po
42 include $(METASSIST_TOPLEVEL)/Makefile.targ
44 # Build .po file from message files
45 $(POFILE): $(MSGFILES)
46 $(BUILDPO.msgfiles)
48 cstyle:
49 $(CSTYLE) $(CSTYLE_FLAGS) $(SRCS) $(HDRS)
51 hdrchk:
52 $(HDRCHK) $(HDRCHK_FLAGS) $(HDRS)