~ubuntu-branches/ubuntu/intrepid/xserver-xgl/intrepid

« back to all changes in this revision

Viewing changes to hw/xfree86/utils/xorgconfig/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Matthew Garrett
  • Date: 2006-02-13 14:21:43 UTC
  • Revision ID: james.westby@ubuntu.com-20060213142143-mad6z9xzem7hzxz9
Tags: upstream-7.0.0
ImportĀ upstreamĀ versionĀ 7.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
 
2
 
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.
 
12
 
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.
 
22
 
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.
 
27
 
28
 
 
29
bin_PROGRAMS = xorgconfig
 
30
 
 
31
X11dir = $(libdir)/X11
 
32
dist_X11_DATA = Cards
 
33
 
 
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)"'
 
39
 
 
40
xorgconfig_LDADD = @XORGCONFIG_DEP_LIBS@
 
41
 
 
42
xorgconfig_SOURCES =    \
 
43
        cards.c         \
 
44
        cards.h         \
 
45
        xorgconfig.c
 
46
 
 
47
# Man page
 
48
include $(top_srcdir)/cpprules.in
 
49
 
 
50
appmandir = $(APP_MAN_DIR)
 
51
 
 
52
appman_PRE = xorgconfig.man
 
53
appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
 
54
 
 
55
EXTRAMANDEFS = \
 
56
        -D__XCONFIGFILE__=$(__XCONFIGFILE__) \
 
57
        -D__XSERVERNAME__=$(XSERVERNAME)
 
58
 
 
59
BUILT_SOURCES = $(appman_PRE)
 
60
CLEANFILES = $(appman_PRE) $(appman_DATA)
 
61
 
 
62
SUFFIXES += .$(APP_MAN_SUFFIX) .man
 
63
 
 
64
.man.$(APP_MAN_SUFFIX):
 
65
        -rm -f $@
 
66
        $(LN_S) $< $@
 
67
 
 
68
EXTRA_DIST = \
 
69
        Cards98 \
 
70
        xorgconfig.man.pre