xref: /illumos-gate/usr/src/cmd/tic/Makefile.common (revision 2587b3a0)
1503609a9SYuri Pankov#
2503609a9SYuri Pankov# CDDL HEADER START
3503609a9SYuri Pankov#
4503609a9SYuri Pankov# The contents of this file are subject to the terms of the
5503609a9SYuri Pankov# Common Development and Distribution License (the "License").
6503609a9SYuri Pankov# You may not use this file except in compliance with the License.
7503609a9SYuri Pankov#
8503609a9SYuri Pankov# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9503609a9SYuri Pankov# or http://www.opensolaris.org/os/licensing.
10503609a9SYuri Pankov# See the License for the specific language governing permissions
11503609a9SYuri Pankov# and limitations under the License.
12503609a9SYuri Pankov#
13503609a9SYuri Pankov# When distributing Covered Code, include this CDDL HEADER in each
14503609a9SYuri Pankov# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15503609a9SYuri Pankov# If applicable, add the following below this CDDL HEADER, with the
16503609a9SYuri Pankov# fields enclosed by brackets "[]" replaced with your own identifying
17503609a9SYuri Pankov# information: Portions Copyright [yyyy] [name of copyright owner]
18503609a9SYuri Pankov#
19503609a9SYuri Pankov# CDDL HEADER END
20503609a9SYuri Pankov#
21503609a9SYuri Pankov
22503609a9SYuri Pankov#
23503609a9SYuri Pankov# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
24503609a9SYuri Pankov# Use is subject to license terms.
25503609a9SYuri Pankov# Copyright 2017 Nexenta Systems, Inc.
26503609a9SYuri Pankov#
2793b88728SJohn Levon# Copyright (c) 2018, Joyent, Inc.
28503609a9SYuri Pankov
29503609a9SYuri PankovPROG=		tic
30503609a9SYuri PankovOBJS=		tic_captab.o \
31503609a9SYuri Pankov		tic_error.o \
32503609a9SYuri Pankov		tic_hash.o \
33503609a9SYuri Pankov		tic_main.o \
34503609a9SYuri Pankov		tic_parse.o \
35503609a9SYuri Pankov		tic_read.o \
36503609a9SYuri Pankov		tic_scan.o
37503609a9SYuri PankovSRCS=		$(OBJS:%.o=%.c)
38503609a9SYuri Pankov
39503609a9SYuri PankovCPPFLAGS +=	-I$(SRC)/lib/libcurses/screen
40503609a9SYuri Pankov
41503609a9SYuri PankovLDLIBS +=	-lcurses
42503609a9SYuri PankovMAPFILES=	$(MAPFILE.INT) $(MAPFILE.NGB)
43*85f4cb87SRichard LoweLDFLAGS +=	$(MAPFILES:%=-Wl,-M%)
44503609a9SYuri Pankov
45503609a9SYuri PankovCERRWARN +=	-_gcc=-Wno-char-subscripts
4693b88728SJohn Levon
4793b88728SJohn Levon# not linted
4893b88728SJohn LevonSMATCH=off
49