xref: /titanic_44/usr/src/lib/libeti/form/Makefile.com (revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95)
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=	libform.a
29VERS=		.1
30
31OBJECTS=  \
32	chg_char.o \
33	chg_data.o \
34	chg_field.o \
35	chg_page.o \
36	driver.o \
37	field.o \
38	field_back.o \
39	field_buf.o \
40	field_fore.o \
41	field_init.o \
42	field_just.o \
43	field_opts.o \
44	field_pad.o \
45	field_stat.o \
46	field_term.o \
47	field_user.o \
48	fieldtype.o \
49	form.o \
50	form_init.o \
51	form_opts.o \
52	form_sub.o \
53	form_term.o \
54	form_user.o \
55	form_win.o \
56	post.o \
57	regcmp.o \
58	regex.o \
59	ty_alnum.o \
60	ty_alpha.o \
61	ty_enum.o \
62	ty_int.o \
63	ty_num.o \
64	ty_regexp.o \
65	utility.o
66
67# include library definitions
68include ../../../Makefile.lib
69
70LIBS =          $(DYNLIB) $(LINTLIB)
71
72SRCDIR=		../common
73
74$(LINTLIB) :=	SRCS=$(SRCDIR)/$(LINTSRC)
75
76CPPFLAGS +=	-I../inc
77CFLAGS +=       $(CCVERBOSE)
78LDLIBS +=       -lcurses -lc
79
80.KEEP_STATE:
81
82all: $(LIBS)
83
84lint: lintcheck
85
86# include library targets
87include ../../../Makefile.targ
88
89pics/%.o:	../common/%.c
90	$(COMPILE.c) -o $@ $<
91	$(POST_PROCESS_O)
92