| 1 |
## $Id: Makefile.am 57693 2021-02-09 23:08:35Z karl $ |
| 2 |
## Makefile.am for the TeX Live subdirectory utils/xml2pmx/ |
| 3 |
## |
| 4 |
## Copyright 2021 Bob Tennent <[email protected]> |
| 5 |
## You may freely use, modify and/or distribute this file. |
| 6 |
|
| 7 |
## We want to re-distribute the whole original ps2eps source tree. |
| 8 |
EXTRA_DIST = $(XML2PMX_TREE) |
| 9 |
|
| 10 |
# Files not to be distributed |
| 11 |
include $(srcdir)/../../am/dist_hook.am |
| 12 |
NEVER_NAMES += $(NEVER_NAMES_SUB) |
| 13 |
|
| 14 |
AM_CFLAGS = $(WARNING_CFLAGS) |
| 15 |
|
| 16 |
bin_PROGRAMS = xml2pmx |
| 17 |
|
| 18 |
# must use @... here or subdir $(... (literally) is created for .deps. |
| 19 |
xml2pmx_SOURCES = \ |
| 20 |
@XML2PMX_TREE@/Args.c \ |
| 21 |
@XML2PMX_TREE@/Builtin.c \ |
| 22 |
@XML2PMX_TREE@/Files.c \ |
| 23 |
@XML2PMX_TREE@/dynlink.c \ |
| 24 |
@XML2PMX_TREE@/exec.h \ |
| 25 |
@XML2PMX_TREE@/gc.c \ |
| 26 |
@XML2PMX_TREE@/image.c \ |
| 27 |
@XML2PMX_TREE@/interp.c \ |
| 28 |
@XML2PMX_TREE@/keiko.h \ |
| 29 |
@XML2PMX_TREE@/loader.c \ |
| 30 |
@XML2PMX_TREE@/obcommon.h \ |
| 31 |
@XML2PMX_TREE@/obx.h \ |
| 32 |
@XML2PMX_TREE@/primtab.h \ |
| 33 |
@XML2PMX_TREE@/primtab0.c \ |
| 34 |
@XML2PMX_TREE@/support.c \ |
| 35 |
@XML2PMX_TREE@/wrapper.c \ |
| 36 |
@XML2PMX_TREE@/xmain.c |
| 37 |
|
| 38 |
man1_MANS = \ |
| 39 |
$(XML2PMX_TREE)/xml2pmx.1 |
| 40 |
|
| 41 |
# Tests |
| 42 |
AM_TESTS_ENVIRONMENT = XML2PMX_TREE=$(XML2PMX_TREE); export XML2PMX_TREE; |
| 43 |
# |
| 44 |
TESTS = $(XML2PMX_TREE)/xml2pmx.test |
| 45 |
EXTRA_DIST += $(TESTS) |
| 46 |
EXTRA_DIST += tests/Telemann.xml tests/Telemann.pmx |
| 47 |
EXTRA_DIST += configure.ac Makefile.am |
| 48 |
xml2pmx.log: xml2pmx$(EXEEXT) |
| 49 |
# |
| 50 |
# xml2pmx.test files |
| 51 |
EXTRA_DIST += $(XML2PMX_TREE)/tests |
| 52 |
|
| 53 |
# Add action.c (included in interp.c), the test subdirectory, and |
| 54 |
# Oberon sources from the obsrc directory. |
| 55 |
EXTRA_DIST += action.c test \ |
| 56 |
obsrc/b.m obsrc/Complete.m obsrc/Fifo.m obsrc/Makefile \ |
| 57 |
obsrc/MyFiles.m obsrc/Strings1.m obsrc/Testbed.m |
| 58 |
|
| 59 |
DISTCLEANFILES = Telemann* .deps/* |