xref: /titanic_41/usr/src/lib/libeti/form/Makefile.com (revision 70025d765b044c6d8594bb965a2247a61e991a99)
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, Version 1.0 only
6# (the "License").  You may not use this file except in compliance
7# with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22#
23# Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26# ident	"%Z%%M%	%I%	%E% SMI"
27#
28# lib/libeti/form/Makefile.com
29#
30
31LIBRARY=	libform.a
32VERS=		.1
33
34OBJECTS=  \
35	chg_char.o \
36	chg_data.o \
37	chg_field.o \
38	chg_page.o \
39	driver.o \
40	field.o \
41	field_back.o \
42	field_buf.o \
43	field_fore.o \
44	field_init.o \
45	field_just.o \
46	field_opts.o \
47	field_pad.o \
48	field_stat.o \
49	field_term.o \
50	field_user.o \
51	fieldtype.o \
52	form.o \
53	form_init.o \
54	form_opts.o \
55	form_sub.o \
56	form_term.o \
57	form_user.o \
58	form_win.o \
59	post.o \
60	regcmp.o \
61	regex.o \
62	ty_alnum.o \
63	ty_alpha.o \
64	ty_enum.o \
65	ty_int.o \
66	ty_num.o \
67	ty_regexp.o \
68	utility.o
69
70# include library definitions
71include ../../../Makefile.lib
72
73MAPFILE=        $(MAPDIR)/mapfile
74
75LIBS =          $(DYNLIB) $(LINTLIB)
76
77SRCDIR=		../common
78
79$(LINTLIB) :=	SRCS=$(SRCDIR)/$(LINTSRC)
80
81CPPFLAGS +=	-I../inc
82CFLAGS +=       $(CCVERBOSE)
83DYNFLAGS +=     -M $(MAPFILE)
84LDLIBS +=       -lcurses -lc
85
86.KEEP_STATE:
87
88all: $(LIBS)
89
90lint: lintcheck
91
92$(DYNLIB):      $(MAPFILE)
93
94$(MAPFILE):
95	@cd $(MAPDIR); $(MAKE) mapfile
96
97# include library targets
98include ../../../Makefile.targ
99
100pics/%.o:	../common/%.c
101	$(COMPILE.c) -o $@ $<
102	$(POST_PROCESS_O)
103