File: Makefile.am

package info (click to toggle)
gnugo 3.8-13
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 17,656 kB
  • sloc: ansic: 56,447; perl: 3,771; lisp: 2,804; sh: 722; python: 682; makefile: 653; awk: 113; sed: 22
file content (27 lines) | stat: -rw-r--r-- 656 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
noinst_PROGRAMS = sgfgen

sgfgen_SOURCES = sgfgen.c

EXTRA_DIST = sgf_extras.def sgf_properties.def sgfgen.dsp sgf.dsp CMakeLists.txt

noinst_HEADERS = \
	sgftree.h\
	sgf_properties.h

# Remove these files here... they are created locally
DISTCLEANFILES = *~

AM_CPPFLAGS = $(GNU_GO_WARNINGS) -I$(top_srcdir)/utils

noinst_LIBRARIES = libsgf.a

libsgf_a_SOURCES = \
	sgf_utils.c \
	sgfnode.c \
	sgftree.c

# To rebuild sgf_properties.h in case sgf_properties.def or sgf_extras.def 
# is changed, 'make sgf_properties'. Normally this is not needed.
sgf_properties:
	cat $(srcdir)/sgf_properties.def $(srcdir)/sgf_extras.def |\
		./sgfgen > sgf_properties.h