| 1 | noinst_PROGRAMS = sgfgen |
| 2 | |
| 3 | sgfgen_SOURCES = sgfgen.c |
| 4 | |
| 5 | EXTRA_DIST = sgf_extras.def sgf_properties.def sgfgen.dsp sgf.dsp CMakeLists.txt |
| 6 | |
| 7 | noinst_HEADERS = \ |
| 8 | sgftree.h\ |
| 9 | sgf_properties.h |
| 10 | |
| 11 | # Remove these files here... they are created locally |
| 12 | DISTCLEANFILES = *~ |
| 13 | |
| 14 | AM_CPPFLAGS = $(GNU_GO_WARNINGS) -I$(top_srcdir)/utils |
| 15 | |
| 16 | noinst_LIBRARIES = libsgf.a |
| 17 | |
| 18 | libsgf_a_SOURCES = \ |
| 19 | sgf_utils.c \ |
| 20 | sgfnode.c \ |
| 21 | sgftree.c |
| 22 | |
| 23 | # To rebuild sgf_properties.h in case sgf_properties.def or sgf_extras.def |
| 24 | # is changed, 'make sgf_properties'. Normally this is not needed. |
| 25 | sgf_properties: |
| 26 | cat $(srcdir)/sgf_properties.def $(srcdir)/sgf_extras.def |\ |
| 27 | ./sgfgen > sgf_properties.h |