Makefile revision ead1f93ee620d7580f7e53350fe5a884fc4f158a
9eb499828dd875d229531b50d05f016b8a1f1dd9vboxsync# CDDL HEADER START
9eb499828dd875d229531b50d05f016b8a1f1dd9vboxsync# The contents of this file are subject to the terms of the
9eb499828dd875d229531b50d05f016b8a1f1dd9vboxsync# Common Development and Distribution License (the "License").
9eb499828dd875d229531b50d05f016b8a1f1dd9vboxsync# You may not use this file except in compliance with the License.
cc4463d266cc5b433b63b2231570a9f77c126ab6vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
cc4463d266cc5b433b63b2231570a9f77c126ab6vboxsync# See the License for the specific language governing permissions
cc4463d266cc5b433b63b2231570a9f77c126ab6vboxsync# and limitations under the License.
9eb499828dd875d229531b50d05f016b8a1f1dd9vboxsync# When distributing Covered Code, include this CDDL HEADER in each
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync# If applicable, add the following below this CDDL HEADER, with the
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
7529922bd11d7d1c38fbdc7bad6aec83eb2ec0advboxsync# CDDL HEADER END
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync# Use is subject to license terms.
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsyncEXOBJS= bcopy.o ex.o ex_addr.o ex_cmds.o ex_cmds2.o \
c7f55daa53d5798572d767a5f9075eead91ad490vboxsyncOBJS= $(EXOBJS) $(XPG4EXOBJS) $(XPG6EXOBJS) expreserve.o exrecover.o
bffb24521128f5183aafbef6542e7dacf20b5132vboxsyncTXTS = READ_ME makeoptions asfix.c70 ex.news port.mk.370 port.mk.70 \
1deb4de12fed2ad1932401517862e6b5dc5466a3vboxsync port.mk.c70 port.mk.usg ovdoprnt.s ovprintf.c rofix
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync# For message catalogue files
1deb4de12fed2ad1932401517862e6b5dc5466a3vboxsyncPOFILES= $(EXOBJS:%.o=%.po) expreserve.po exrecover.po
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync# Include all XPG4 and XPG4ONLY changes in the XPG4 version
7529922bd11d7d1c38fbdc7bad6aec83eb2ec0advboxsync# Include all XPG4 changes, but don't include XPG4ONLY in the XPG6 version
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync$(XPG6) := CFLAGS += -DXPG4 -DXPG6 -I$(SRC)/lib/libc/inc
003bed4b86e46315aaef143a73c95eb8eee7fe78vboxsyncCPPFLAGS += -DUSG -DSTDIO -DVMUNIX -DTABS=8 -DSINGLE -DTAG_STACK
939ffd583b0105c9cfab3570932faa41e0ccd563vboxsync# vi maintains its own versions of various routines from libc and libcurses,
3baadeafd9922582dad9b32431362e6296417dd8vboxsync# so localize all symbols to avoid name space collisions.
1deb4de12fed2ad1932401517862e6b5dc5466a3vboxsyncex := LDLIBS += -lmapmalloc -lcurses -lgen -lcrypt_i
2e79d47d2d6374acf3e3c06f2bb803b149c960acvboxsync$(XPG4) := LDLIBS += -lmapmalloc -lcurses -lgen -lcrypt_i
62f795a8cb052ea10678f54272612bb087bab1a1vboxsync$(XPG6) := LDLIBS += -lmapmalloc -lcurses -lgen -lcrypt_i
2e79d47d2d6374acf3e3c06f2bb803b149c960acvboxsynclint := LDLIBS += -lmapmalloc -lcurses -lgen -lcrypt
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync# hard links to ex
0bd6dc6980372bcbc72756dfd401df65640b13a7vboxsyncROOTLINKS= $(ROOTBIN)/edit $(ROOTHASBIN)/edit $(ROOTBIN)/vedit \
2e79d47d2d6374acf3e3c06f2bb803b149c960acvboxsync $(ROOTHASBIN)/vedit $(ROOTHASBIN)/vi $(ROOTHASBIN)/view \
2e79d47d2d6374acf3e3c06f2bb803b149c960acvboxsyncROOTXPG4LINKS= $(ROOTXPG4BIN)/vi $(ROOTXPG4BIN)/view $(ROOTXPG4BIN)/edit \
c215a948010614887014a258c1751602d8bf7781vboxsyncROOTXPG6LINKS= $(ROOTXPG6BIN)/vi $(ROOTXPG6BIN)/view $(ROOTXPG6BIN)/edit \
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync$(XD4)/compile.o $(XD6)/compile.o: ../../expr/compile.c
9448344dffd6329c43c735ae1ed5f45995e445e6vboxsync%values-xpg4.o: ../../../lib/common/common/values-xpg4.c
1deb4de12fed2ad1932401517862e6b5dc5466a3vboxsync $(COMPILE.c) -o $@ ../../../lib/common/common/values-xpg4.c
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync%values-xpg6.o: ../../../lib/common/common/values-xpg6.c
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync $(COMPILE.c) -o $@ ../../../lib/common/common/values-xpg6.c
2b66a097b19f31e00af3abc508a3ff8c74ca1f8avboxsyncinstall: all $(ROOTHASBINPROG) $(ROOTLIBPROGS) $(ROOTLINKS) \