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