1
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
3
# Permission is hereby granted, free of charge, to any person obtaining a
4
# copy of this software and associated documentation files (the
5
# "Software"), to deal in the Software without restriction, including
6
# without limitation the rights to use, copy, modify, merge, publish,
7
# distribute, and/or sell copies of the Software, and to permit persons
8
# to whom the Software is furnished to do so, provided that the above
9
# copyright notice(s) and this permission notice appear in all copies of
10
# the Software and that both the above copyright notice(s) and this
11
# permission notice appear in supporting documentation.
13
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
14
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
15
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
16
# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
17
# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
18
# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
19
# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
20
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
21
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
23
# Except as contained in this notice, the name of a copyright holder
24
# shall not be used in advertising or otherwise to promote the sale, use
25
# or other dealings in this Software without prior written authorization
26
# of the copyright holder.
29
dist_bin_SCRIPTS = getconfig getconfig.pl
31
getconfigdir = $(libdir)/X11/getconfig
32
dist_getconfig_DATA = xorg.cfg cfg.sample
34
include $(top_srcdir)/cpprules.in
36
appmandir = $(APP_MAN_DIR)
37
appman_PRE = getconfig.man
38
appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
40
filemandir = $(FILE_MAN_DIR)
41
fileman_DATA = getconfig.$(FILE_MAN_SUFFIX)
43
getconfig.$(FILE_MAN_SUFFIX): cfg.man
44
-rm -f getconfig.$(FILE_MAN_SUFFIX)
45
$(LN_S) cfg.man getconfig.$(FILE_MAN_SUFFIX)
47
SUFFIXES += .$(APP_MAN_SUFFIX) .man
49
.man.$(APP_MAN_SUFFIX):
53
BUILT_SOURCES = $(appman_PRE)
54
CLEANFILES = $(appman_PRE) $(appman_DATA) $(fileman_DATA) cfg.man
56
EXTRA_DIST = cfg.man.pre getconfig.man.pre