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