author | Niveditha Rau <Niveditha.Rau@Sun.COM> |
Fri, 15 Feb 2008 14:12:50 -0800 | |
changeset 319 | 898867197820 |
parent 316 | a47e6b8e701b |
child 320 | 77f732d3caaa |
permissions | -rw-r--r-- |
70
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
1 |
# Makefile for X Consolidation Open Source Application modules |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
2 |
# |
286
d9eacaa3a109
6652612 Replace xmodmap with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
280
diff
changeset
|
3 |
# Copyright 2008 Sun Microsystems, Inc. All rights reserved. |
70
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
4 |
# Use subject to license terms. |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
5 |
# |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
6 |
# Permission is hereby granted, free of charge, to any person obtaining a |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
7 |
# copy of this software and associated documentation files (the |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
8 |
# "Software"), to deal in the Software without restriction, including |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
9 |
# without limitation the rights to use, copy, modify, merge, publish, |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
10 |
# distribute, and/or sell copies of the Software, and to permit persons |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
11 |
# to whom the Software is furnished to do so, provided that the above |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
12 |
# copyright notice(s) and this permission notice appear in all copies of |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
13 |
# the Software and that both the above copyright notice(s) and this |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
14 |
# permission notice appear in supporting documentation. |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
15 |
# |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
16 |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
17 |
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
18 |
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
19 |
# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
20 |
# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
21 |
# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
22 |
# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
23 |
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
24 |
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
25 |
# |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
26 |
# Except as contained in this notice, the name of a copyright holder |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
27 |
# shall not be used in advertising or otherwise to promote the sale, use |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
28 |
# or other dealings in this Software without prior written authorization |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
29 |
# of the copyright holder. |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
30 |
# |
319
898867197820
6663965 Replace xwd and xwud with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
316
diff
changeset
|
31 |
# @(#)Makefile 1.25 08/02/15 |
70
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
32 |
# |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
33 |
############################################################################### |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
34 |
|
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
90
diff
changeset
|
35 |
OS_SUBDIRS_common = \ |
213
18892ba1c27b
6598244 Xorg modularization: constype
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
210
diff
changeset
|
36 |
constype \ |
304
663147d1e4cc
6657867 Replace xclipboard and editres with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
299
diff
changeset
|
37 |
editres \ |
231
fac2564585d9
6614335 sparc X build fails due to missing glxinfo/glxgears man pages
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
213
diff
changeset
|
38 |
mesa-demos \ |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
90
diff
changeset
|
39 |
mkfontscale \ |
310
1732b3c1b136
6661603 Deliver x11perf as part of the X11 consolidation
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
309
diff
changeset
|
40 |
x11perf \ |
316
a47e6b8e701b
6663468 update xauth to open source version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
310
diff
changeset
|
41 |
xauth \ |
290
016d87bea02c
6653913 Replace xmag, xcalc with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
289
diff
changeset
|
42 |
xcalc \ |
304
663147d1e4cc
6657867 Replace xclipboard and editres with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
299
diff
changeset
|
43 |
xclipboard \ |
309
cdb665e70efa
6661101 Replace xconsole and xstdcmap with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
304
diff
changeset
|
44 |
xconsole \ |
210
5bac47f9c993
6351300 libXcursor & xcursorgen [LSARC 2007/491]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
156
diff
changeset
|
45 |
xcursorgen \ |
128
7e825376e18c
6533086 Xorg modularization: xdpyinfo 1.0.1
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
98
diff
changeset
|
46 |
xdpyinfo \ |
70
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
47 |
xgamma \ |
294
2c88146a951a
6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
290
diff
changeset
|
48 |
xhost \ |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
90
diff
changeset
|
49 |
xkbcomp \ |
277
a985ad3680af
6648881 Update xkill to Xorg version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
262
diff
changeset
|
50 |
xkill \ |
289
bd2a2d0c9622
6653810 Use OpenSource version of xlsatoms
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
286
diff
changeset
|
51 |
xlsatoms \ |
290
016d87bea02c
6653913 Replace xmag, xcalc with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
289
diff
changeset
|
52 |
xmag \ |
286
d9eacaa3a109
6652612 Replace xmodmap with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
280
diff
changeset
|
53 |
xmodmap \ |
90
aa93b75745de
6509458 Xorg modularization: libXpm & xpm apps
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
70
diff
changeset
|
54 |
xpm \ |
295
ae94314169f7
6654827 Replace xprop with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
294
diff
changeset
|
55 |
xprop \ |
70
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
56 |
xrandr \ |
299
ba59bb56fed5
6656679 Update xrdb to use the opensource version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
295
diff
changeset
|
57 |
xrdb \ |
262
dce04ad1270e
6642085 Replace xrefresh with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
253
diff
changeset
|
58 |
xrefresh \ |
277
a985ad3680af
6648881 Update xkill to Xorg version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
262
diff
changeset
|
59 |
xset \ |
280
b7cafbbed804
6651429 Replace xwininfo with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
277
diff
changeset
|
60 |
xsetroot \ |
309
cdb665e70efa
6661101 Replace xconsole and xstdcmap with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
304
diff
changeset
|
61 |
xstdcmap \ |
70
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
62 |
xvidtune \ |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
63 |
xvinfo \ |
319
898867197820
6663965 Replace xwd and xwud with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
316
diff
changeset
|
64 |
xwd \ |
280
b7cafbbed804
6651429 Replace xwininfo with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
277
diff
changeset
|
65 |
xwininfo \ |
319
898867197820
6663965 Replace xwd and xwud with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
316
diff
changeset
|
66 |
xwud \ |
70
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
67 |
xscreensaver |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
68 |
|
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
90
diff
changeset
|
69 |
OS_SUBDIRS_sparc = $(OS_SUBDIRS_common) |
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
90
diff
changeset
|
70 |
|
231
fac2564585d9
6614335 sparc X build fails due to missing glxinfo/glxgears man pages
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
213
diff
changeset
|
71 |
OS_SUBDIRS_i386 = $(OS_SUBDIRS_common) |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
90
diff
changeset
|
72 |
|
156
1dec9ce4addc
6551329 X open-src makefiles spawn too many shell commands
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
128
diff
changeset
|
73 |
MACH:sh=uname -p |
1dec9ce4addc
6551329 X open-src makefiles spawn too many shell commands
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
128
diff
changeset
|
74 |
OS_SUBDIRS=$(OS_SUBDIRS_$(MACH)) |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
90
diff
changeset
|
75 |
|
70
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
76 |
all: |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
77 |
$(MAKE) $(MFLAGS) subdirs OS_TARGET=all |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
78 |
|
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
79 |
World: clean all |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
80 |
|
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
81 |
clean: |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
82 |
$(MAKE) $(MFLAGS) subdirs OS_TARGET=clean |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
83 |
|
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
84 |
install: |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
85 |
$(MAKE) $(MFLAGS) subdirs OS_TARGET=install |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
86 |
|
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
87 |
download: |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
88 |
$(MAKE) $(MFLAGS) subdirs OS_TARGET=download |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
89 |
|
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
90 |
subdirs: |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
91 |
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \ |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
92 |
for i in $(OS_SUBDIRS) ;\ |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
93 |
do \ |
253
88e5aa1fb5f9
6632519 X proto source dirs should be renamed
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
231
diff
changeset
|
94 |
(cd $$i ; echo "## making" $(OS_TARGET) "in open-src/app/$$i..."; \ |
70
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
95 |
$(MAKE) $(MFLAGS) CDEBUGFLAGS="$(CDEBUGFLAGS)" $(OS_TARGET)); \ |
af1bea13b32b
6477401 Xorg modularization: SUNWxorg-client*
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
96 |
done |