xref: /titanic_41/usr/src/lib/libeti/menu/Makefile.com (revision 7535ae1914017b0e648abd7a139aca709fa82be3)
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# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25
26LIBRARY=	libmenu.a
27VERS=		.1
28
29OBJECTS=  \
30	affect.o \
31	chk.o \
32	connect.o \
33	curitem.o \
34	driver.o \
35	global.o \
36	itemcount.o \
37	itemopts.o \
38	itemusrptr.o \
39	itemvalue.o \
40	link.o \
41	menuback.o \
42	menucursor.o \
43	menufore.o \
44	menuformat.o \
45	menugrey.o \
46	menuitems.o \
47	menumark.o \
48	menuopts.o \
49	menupad.o \
50	menuserptr.o \
51	menusub.o \
52	menuwin.o \
53	newitem.o \
54	newmenu.o \
55	pattern.o \
56	post.o \
57	scale.o \
58	show.o \
59	terminit.o \
60	topitem.o \
61	visible.o
62
63# include library definitions
64include ../../../Makefile.lib
65
66LIBS =          $(DYNLIB) $(LINTLIB)
67
68SRCDIR=		../common
69
70$(LINTLIB) :=	SRCS=$(SRCDIR)/$(LINTSRC)
71
72CPPFLAGS +=	-I../inc
73CFLAGS +=       $(CCVERBOSE)
74LDLIBS +=       -lcurses -lc
75
76CERRWARN +=	-_gcc=-Wno-parentheses
77
78.KEEP_STATE:
79
80all: $(LIBS)
81
82lint: lintcheck
83
84# include library targets
85include ../../../Makefile.targ
86
87pics/%.o:	../common/%.c
88	$(COMPILE.c) -o $@ $<
89	$(POST_PROCESS_O)
90