1SUBDIRS = man
2
3noinst_LIBRARIES = libdmxconfig.a
4
5LIBSRCS = parser.y \
6          scanner.l \
7          dmxparse.c \
8          dmxparse.h \
9          dmxprint.c \
10          dmxprint.h \
11          dmxcompat.c \
12          dmxcompat.h \
13          dmxconfig.c \
14          dmxconfig.h
15
16parser.h: parser.c
17scanner.c: scanner.l parser.h
18
19BUILT_SOURCES = parser.c parser.h scanner.c
20
21MAINTAINERCLEANFILES = $(BUILT_SOURCES)
22
23libdmxconfig_a_SOURCES = $(LIBSRCS)
24
25if GLX
26GLX_DEFS = @GL_CFLAGS@
27endif	    
28
29AM_YFLAGS = -d
30AM_CFLAGS = \
31	$(DIX_CFLAGS) \
32	-I$(top_srcdir)/hw/dmx \
33	-DHAVE_DMX_CONFIG_H \
34	-DDMX_LOG_STANDALONE \
35	$(GLX_DEFS) \
36	@DMXMODULES_CFLAGS@
37
38bin_PROGRAMS = xdmxconfig vdltodmx dmxtodmx
39
40xdmxconfig_DEPENDENCIES = libdmxconfig.a
41xdmxconfig_SOURCES = \
42	xdmxconfig.c \
43	$(top_srcdir)/hw/dmx/dmxlog.c \
44	Canvas.c \
45	Canvas.h \
46	CanvasP.h
47xdmxconfig_LDADD = -L. -ldmxconfig @XDMXCONFIG_DEP_LIBS@
48xdmxconfig_CFLAGS = $(AM_CFLAGS) @XDMXCONFIG_DEP_CFLAGS@
49
50vdltodmx_DEPENDENCIES = libdmxconfig.a
51vdltodmx_SOURCES = vdltodmx.c
52vdltodmx_LDADD = -L. -ldmxconfig
53
54dmxtodmx_DEPENDENCIES = libdmxconfig.a
55dmxtodmx_SOURCES = dmxtodmx.c
56dmxtodmx_LDADD = -L. -ldmxconfig
57
58EXTRA_DIST = \
59	test-a.in test-a.out \
60	test-b.in test-b.out \
61	test-c.in test-c.out \
62	test-d.in test-d.out \
63	test-e.in test-e.out \
64	test-f.in test-f.out \
65	test-g.in test-g.out \
66	test-h.in test-h.out \
67	test-i.in test-i.out \
68	test-j.in test-j.out \
69	test-k.in test-k.out \
70	test-l.in test-l.out
71