Print this page
7192 Remove SPARC-only ONLY64 option
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/cmd/ps/Makefile
+++ new/usr/src/cmd/ps/Makefile
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
↓ open down ↓ |
13 lines elided |
↑ open up ↑ |
14 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 15 # If applicable, add the following below this CDDL HEADER, with the
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
22 22 # Use is subject to license terms.
23 23 #
24 +# Copyright 2016 RackTop Systems.
25 +#
24 26 # cmd/ps/Makefile
25 27 #
26 28
27 29 PROG= ps
28 30 OBJS=ps.o ucbps.o
29 31 SRCS=$(OBJS:%.o=%.c)
30 32
31 33 include ../Makefile.cmd
32 34
33 35 XGETFLAGS += -a -x ps.xcl
34 36
35 37 DCFILE= $(PROG).dc
36 38
37 39 ROOTUCBPROG = $(ROOT)/usr/ucb/$(PROG)
38 40 ROOTUCBPROG32 = $(ROOT)/usr/ucb/$(MACH32)/$(PROG)
39 41 ROOTUCBPROG64 = $(ROOT)/usr/ucb/$(MACH64)/$(PROG)
40 42
41 -$(64ONLY)SUBDIRS= $(MACH)
43 +SUBDIRS=
44 +$(INTEL_BLD)SUBDIRS += $(MACH)
42 45 $(BUILD64)SUBDIRS += $(MACH64)
43 46
44 47 all := TARGET = all
45 48 install := TARGET = install
46 49 clean := TARGET = clean
47 50 clobber := TARGET = clobber
48 51 lint := TARGET = lint
49 52
50 53 .KEEP_STATE:
51 54
52 55 all: $(SUBDIRS)
53 56
54 57 clean clobber lint: $(SUBDIRS)
55 58
56 59 install: $(SUBDIRS)
57 60 -$(RM) $(ROOTPROG)
58 61 -$(LN) $(ISAEXEC) $(ROOTPROG)
59 62 -$(RM) $(ROOTUCBPROG)
60 63 -$(LN) $(ISAEXEC) $(ROOTUCBPROG)
61 - $(64ONLY)-$(RM) $(ROOTUCBPROG32)
62 - $(64ONLY)-$(LN) $(ROOTPROG32) $(ROOTUCBPROG32)
64 + $(INTEL_BLD)-$(RM) $(ROOTUCBPROG32)
65 + $(INTEL_BLD)-$(LN) $(ROOTPROG32) $(ROOTUCBPROG32)
63 66 $(BUILD64)-$(RM) $(ROOTUCBPROG64)
64 67 $(BUILD64)-$(LN) $(ROOTPROG64) $(ROOTUCBPROG64)
65 68
66 69 $(SUBDIRS): FRC
67 70 @cd $@; pwd; $(MAKE) $(TARGET)
68 71
69 72 FRC:
70 73
71 74 $(DCFILE): $(PROG).c
72 75 $(RM) $(DCFILE)
73 76 $(COMPILE.cpp) $(PROG).c | \
74 77 $(XGETTEXT) -c TRANSLATION_NOTE -t -
75 78 $(SED) -e '/^domain/d' messages.po > $@
76 79 $(RM) messages.po
77 80
78 81 include ../Makefile.targ
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX