xref: /titanic_50/usr/src/lib/libeti/form/Makefile.com (revision 356f72340a69936724c69f2f87fffa6f5887f885)
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
26LIBRARY=	libform.a
27VERS=		.1
28
29OBJECTS=  \
30	chg_char.o \
31	chg_data.o \
32	chg_field.o \
33	chg_page.o \
34	driver.o \
35	field.o \
36	field_back.o \
37	field_buf.o \
38	field_fore.o \
39	field_init.o \
40	field_just.o \
41	field_opts.o \
42	field_pad.o \
43	field_stat.o \
44	field_term.o \
45	field_user.o \
46	fieldtype.o \
47	form.o \
48	form_init.o \
49	form_opts.o \
50	form_sub.o \
51	form_term.o \
52	form_user.o \
53	form_win.o \
54	post.o \
55	regcmp.o \
56	regex.o \
57	ty_alnum.o \
58	ty_alpha.o \
59	ty_enum.o \
60	ty_int.o \
61	ty_num.o \
62	ty_regexp.o \
63	utility.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
78CERRWARN +=	-_gcc=-Wno-parentheses
79CERRWARN +=	-_gcc=-Wno-uninitialized
80CERRWARN +=	-_gcc=-Wno-char-subscripts
81
82.KEEP_STATE:
83
84all: $(LIBS)
85
86lint: lintcheck
87
88# include library targets
89include ../../../Makefile.targ
90
91pics/%.o:	../common/%.c
92	$(COMPILE.c) -o $@ $<
93	$(POST_PROCESS_O)
94