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

« back to all changes in this revision

Viewing changes to hw/dmx/config/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
noinst_LIBRARIES = libdmxconfig.a
 
2
 
 
3
LIBSRCS = parser.y \
 
4
          scanner.l \
 
5
          dmxparse.c \
 
6
          dmxparse.h \
 
7
          dmxprint.c \
 
8
          dmxprint.h \
 
9
          dmxcompat.c \
 
10
          dmxcompat.h \
 
11
          dmxconfig.c \
 
12
          dmxconfig.h
 
13
 
 
14
parser.h: parser.c
 
15
scanner.c: scanner.l parser.h
 
16
 
 
17
BUILT_SOURCES = parser.c parser.h scanner.c
 
18
 
 
19
MAINTAINERCLEANFILES = $(BUILT_SOURCES)
 
20
 
 
21
libdmxconfig_a_SOURCES = $(LIBSRCS)
 
22
 
 
23
AM_YFLAGS = -d
 
24
AM_CFLAGS = \
 
25
        @SERVER_DEFINES@ \
 
26
        -I$(top_srcdir)/hw/dmx \
 
27
        -DHAVE_DMX_CONFIG_H \
 
28
        -DDMX_LOG_STANDALONE \
 
29
        @DMXMODULES_CFLAGS@
 
30
 
 
31
bin_PROGRAMS = xdmxconfig vdltodmx dmxtodmx
 
32
 
 
33
xdmxconfig_DEPENDENCIES = libdmxconfig.a
 
34
xdmxconfig_SOURCES = \
 
35
        xdmxconfig.c \
 
36
        $(top_srcdir)/hw/dmx/dmxlog.c \
 
37
        Canvas.c \
 
38
        Canvas.h \
 
39
        CanvasP.h
 
40
xdmxconfig_LDADD = -L. -ldmxconfig @XDMXCONFIG_DEP_LIBS@
 
41
xdmxconfig_CFLAGS = $(AM_CFLAGS) @XDMXCONFIG_DEP_CFLAGS@
 
42
 
 
43
vdltodmx_DEPENDENCIES = libdmxconfig.a
 
44
vdltodmx_SOURCES = vdltodmx.c
 
45
vdltodmx_LDADD = -L. -ldmxconfig
 
46
 
 
47
dmxtodmx_DEPENDENCIES = libdmxconfig.a
 
48
dmxtodmx_SOURCES = dmxtodmx.c
 
49
dmxtodmx_LDADD = -L. -ldmxconfig
 
50
 
 
51
appmandir = $(APP_MAN_DIR)
 
52
 
 
53
appman_PRE = xdmxconfig.man vdltodmx.man dmxtodmx.man
 
54
appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
 
55
 
 
56
CLEANFILES = $(appman_DATA)
 
57
 
 
58
SUFFIXES = .$(APP_MAN_SUFFIX) .man
 
59
 
 
60
# Strings to replace in man pages
 
61
XORGRELSTRING = @PACKAGE_STRING@
 
62
  XORGMANNAME = X Version 11
 
63
 
 
64
MAN_SUBSTS = -e 's|__vendorversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' 
 
65
 
 
66
.man.$(APP_MAN_SUFFIX):
 
67
        sed $(MAN_SUBSTS) < $< > $@
 
68
 
 
69
EXTRA_DIST = \
 
70
        $(appman_PRE) \
 
71
        test-a.in test-a.out \
 
72
        test-b.in test-b.out \
 
73
        test-c.in test-c.out \
 
74
        test-d.in test-d.out \
 
75
        test-e.in test-e.out \
 
76
        test-f.in test-f.out \
 
77
        test-g.in test-g.out \
 
78
        test-h.in test-h.out \
 
79
        test-i.in test-i.out \
 
80
        test-j.in test-j.out \
 
81
        test-k.in test-k.out \
 
82
        test-l.in test-l.out