Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
59602f2a7c4e4809941583bed3e94cd26e628f1aTinderbox User# CDDL HEADER START
5affecff6e148a8e124d03f5dbac0da11e30dcc5Tinderbox User# The contents of this file are subject to the terms of the
19558a04decde0e7261d489d92d04ad88104217bTinderbox User# Common Development and Distribution License (the "License").
827f8cccb5280f4da66c46186e792d1cb9d73503Mark Andrews# You may not use this file except in compliance with the License.
969eaf7df8ac651946f76b6631ff5db568c11ef6Tinderbox User# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f4ee48be3994797a8332b86c101db4d7b54799ceTinderbox User# See the License for the specific language governing permissions
a2c370ca12bb0360ff7e969474ead3f788c65fffTinderbox User# and limitations under the License.
e5a6871cd0635ecdb2bf792316a2d8c53206f4b2Tinderbox User# When distributing Covered Code, include this CDDL HEADER in each
950d203b64f512b85fcc093ee1e9e3e531a1aea3Tinderbox User# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User# If applicable, add the following below this CDDL HEADER, with the
03ebc228ee3725738b067b6bd7082a9a731822a1Tinderbox User# fields enclosed by brackets "[]" replaced with your own identifying
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont# information: Portions Copyright [yyyy] [name of copyright owner]
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# CDDL HEADER END
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont# Use is subject to license terms.
e813f036c8251b6d9d2a72fa84f80c2c9d2795afMark Andrews# the 'stty' objects have to be made in a separate directory
30370d905e9be3be7d9b947fd432bacecbb13bb9Evan Hunt# since only they are built with the -DEUC flag (see below).
0eb371ca0dab50ae3462e98794a6126198c52f4bMark AndrewsSTTYOBJ= sttyobjs/stty.o sttyobjs/sttytable.o sttyobjs/sttyparse.o
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark AndrewsXPG4STTYOBJ= sttyobjs.xpg4/stty.o sttyobjs.xpg4/sttytable.o \
0eb371ca0dab50ae3462e98794a6126198c52f4bMark AndrewsTTYMONOBJ= ttymon.o tmglobal.o tmhandler.o tmpmtab.o tmttydefs.o \
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User tmparse.o tmsig.o tmsac.o tmchild.o tmautobaud.o tmterm.o \
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews tmutmp.o tmpeek.o tmlog.o tmlock.o tmutil.o tmexpress.o \
015055b6e23f5c08f6a5b34726f90b62597e9e45Tinderbox UserSTTYDEFSOBJ= sttydefs.o admutil.o tmttydefs.o tmparse.o sttytable.o \
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox UserOBJS= $(STTYOBJ) $(XPG4STTYOBJ) $(TTYMONOBJ) $(TTYADMOBJ) $(STTYDEFSOBJ)
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterSRCS= $(STTYSRC) $(TTYMONSRC) $(TTYADMSRC) $(STTYDEFSSRC)
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# If machine name and /etc/issue file need to be printed
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont# before the service prompt is printed, then: CPPFLAGS += -DSYS_NAME
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# If debug is needed, then: CPPFLAGS += -DDEBUG
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# fix for 1111333 - turn on SYS_NAME so /etc/issue will be read if it exists
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Only stty can be built with -DEUC. ttymon will dump core unless further
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# changes are made to it.
b91d11bfcc30b96f2c80f3a76d12e3dcc8597a68Mark Andrews# Message catalog
b91d11bfcc30b96f2c80f3a76d12e3dcc8597a68Mark Andrews# /usr/xpg6/bin/stty is a symlink to /usr/bin/stty
827f8cccb5280f4da66c46186e792d1cb9d73503Mark Andrewsinstall: all $(DIRS) $(ROOTLIBF) $(ROOTUSRSBINF) $(ROOTBINF) \