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
bin_PROGRAMS = xorgconfig
31
X11dir = $(libdir)/X11
34
xorgconfig_CFLAGS = @SERVER_DEFINES@ @XORGCONFIG_DEP_CFLAGS@ \
35
-DCARD_DATABASE_FILE='"$(X11dir)/Cards"' \
36
-DPROJECTROOT='"$(PROJECTROOT)"' \
37
-DFILEMANSUFFIX='"$(FILE_MAN_SUFFIX)"' \
38
-DXVERSIONSTRING='"$(PACKAGE_STRING)"'
40
xorgconfig_LDADD = @XORGCONFIG_DEP_LIBS@
42
xorgconfig_SOURCES = \
48
include $(top_srcdir)/cpprules.in
50
appmandir = $(APP_MAN_DIR)
52
appman_PRE = xorgconfig.man
53
appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
56
-D__XCONFIGFILE__=$(__XCONFIGFILE__) \
57
-D__XSERVERNAME__=$(XSERVERNAME)
59
BUILT_SOURCES = $(appman_PRE)
60
CLEANFILES = $(appman_PRE) $(appman_DATA)
62
SUFFIXES += .$(APP_MAN_SUFFIX) .man
64
.man.$(APP_MAN_SUFFIX):