xref: /onnv-gate/usr/src/ucblib/libcurses/Makefile.com (revision 10754:bc532f9d3ee0)
10Sstevel@tonic-gate#
22522Sraf# CDDL HEADER START
32522Sraf#
42522Sraf# The contents of this file are subject to the terms of the
52522Sraf# Common Development and Distribution License (the "License").
62522Sraf# You may not use this file except in compliance with the License.
72522Sraf#
82522Sraf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
92522Sraf# or http://www.opensolaris.org/os/licensing.
102522Sraf# See the License for the specific language governing permissions
112522Sraf# and limitations under the License.
122522Sraf#
132522Sraf# When distributing Covered Code, include this CDDL HEADER in each
142522Sraf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
152522Sraf# If applicable, add the following below this CDDL HEADER, with the
162522Sraf# fields enclosed by brackets "[]" replaced with your own identifying
172522Sraf# information: Portions Copyright [yyyy] [name of copyright owner]
182522Sraf#
192522Sraf# CDDL HEADER END
202522Sraf#
212522Sraf#
22*10754SGarrett.Damore@Sun.COM# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
230Sstevel@tonic-gate# Use is subject to license terms.
240Sstevel@tonic-gate#
250Sstevel@tonic-gate
260Sstevel@tonic-gateLIBRARY=	libcurses.a
270Sstevel@tonic-gateVERS=		.1
280Sstevel@tonic-gate
290Sstevel@tonic-gateOBJECTS= 		\
300Sstevel@tonic-gate	addch.o		\
310Sstevel@tonic-gate	addstr.o	\
320Sstevel@tonic-gate	box.o		\
330Sstevel@tonic-gate	clear.o		\
340Sstevel@tonic-gate	clrtobot.o	\
350Sstevel@tonic-gate	clrtoeol.o	\
360Sstevel@tonic-gate	cr_put.o	\
370Sstevel@tonic-gate	cr_tty.o	\
380Sstevel@tonic-gate	curses.o	\
390Sstevel@tonic-gate	delch.o		\
400Sstevel@tonic-gate	deleteln.o	\
410Sstevel@tonic-gate	delwin.o	\
420Sstevel@tonic-gate	endwin.o	\
430Sstevel@tonic-gate	erase.o		\
440Sstevel@tonic-gate	fullname.o	\
450Sstevel@tonic-gate	getch.o		\
460Sstevel@tonic-gate	getstr.o	\
470Sstevel@tonic-gate	id_subwins.o	\
480Sstevel@tonic-gate	idlok.o		\
490Sstevel@tonic-gate	initscr.o	\
500Sstevel@tonic-gate	insch.o		\
510Sstevel@tonic-gate	insertln.o	\
520Sstevel@tonic-gate	longname.o	\
530Sstevel@tonic-gate	move.o		\
540Sstevel@tonic-gate	mvprintw.o	\
550Sstevel@tonic-gate	mvscanw.o	\
560Sstevel@tonic-gate	mvwin.o		\
570Sstevel@tonic-gate	newwin.o	\
580Sstevel@tonic-gate	overlay.o	\
590Sstevel@tonic-gate	overwrite.o	\
600Sstevel@tonic-gate	printw.o	\
610Sstevel@tonic-gate	putchar.o	\
620Sstevel@tonic-gate	refresh.o	\
630Sstevel@tonic-gate	scanw.o		\
640Sstevel@tonic-gate	scroll.o	\
650Sstevel@tonic-gate	standout.o	\
660Sstevel@tonic-gate	toucholap.o	\
670Sstevel@tonic-gate	touchwin.o	\
680Sstevel@tonic-gate	tstp.o		\
690Sstevel@tonic-gate	unctrl.o
700Sstevel@tonic-gate
710Sstevel@tonic-gate# include library definitions
720Sstevel@tonic-gateinclude $(SRC)/lib/Makefile.lib
730Sstevel@tonic-gate
740Sstevel@tonic-gateROOTLIBDIR=	$(ROOT)/usr/ucblib
750Sstevel@tonic-gateROOTLIBDIR64=	$(ROOT)/usr/ucblib/$(MACH64)
760Sstevel@tonic-gate
77*10754SGarrett.Damore@Sun.COMLIBS = $(DYNLIB)
780Sstevel@tonic-gate
790Sstevel@tonic-gateCFLAGS	+=	$(CCVERBOSE)
800Sstevel@tonic-gateCFLAGS64 +=	$(CCVERBOSE)
814271SrieDYNFLAGS +=	$(ZINTERPOSE)
822522SrafDYNFLAGS32 =	-R/usr/ucblib
832522SrafDYNFLAGS64 =	-R/usr/ucblib/$(MACH64)
840Sstevel@tonic-gateLDLIBS +=	-ltermcap -lucb -lc
850Sstevel@tonic-gate
86*10754SGarrett.Damore@Sun.COMCPPFLAGS = -I$(SRC)/ucbhead -I../../../lib/libc/inc $(CPPFLAGS.master)
870Sstevel@tonic-gate
880Sstevel@tonic-gate.KEEP_STATE:
890Sstevel@tonic-gate
900Sstevel@tonic-gateall: $(LIBS)
910Sstevel@tonic-gate
920Sstevel@tonic-gatelint: lintcheck
930Sstevel@tonic-gate
940Sstevel@tonic-gate#
950Sstevel@tonic-gate# Include library targets
960Sstevel@tonic-gate#
970Sstevel@tonic-gateinclude $(SRC)/lib/Makefile.targ
980Sstevel@tonic-gate
990Sstevel@tonic-gateobjs/%.o pics/%.o: ../%.c
1000Sstevel@tonic-gate	$(COMPILE.c) -o $@ $<
1010Sstevel@tonic-gate	$(POST_PROCESS_O)
102