File: Makefile.am

package info (click to toggle)
grap 1.49-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 904 kB
  • sloc: cpp: 3,260; yacc: 1,115; lex: 1,056; sh: 941; makefile: 42
file content (46 lines) | stat: -rw-r--r-- 1,382 bytes parent folder | download | duplicates (4)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46

# Grap's source files.  The dance in nodist_grap_SOURCES and EXTRA_DIST is to
# include only the .yy and .ll files without the y.tab.h and generated .cc
# files.
bin_PROGRAMS = grap
grap_SOURCES = grap_draw.cc grap_pic.cc grap_parse.cc grap_tokenizer.cc 
nodist_grap_SOURCES= grap.yy grap_lex.ll y.tab.h
EXTRA_DIST = grap.h grap_data.h grap_draw.h grap_pic.h grap_string.h snprintf.h\
	     grap.yy grap_lex.ll grap.spec
BUILT_SOURCES=y.tab.h

# Support for compiling our own strdup and strerror if needed.  We don't use
# LIBOBJS directly because automake thinks the sources for LIBOBJS are C files.
GRAPLIBOBJS=@GRAPLIBOBJS@
grap_LDADD = $(GRAPLIBOBJS)
grap_DEPENDENCIES = $(GRAPLIBOBJS)
EXTRA_grap_SOURCES= strdup.cc strerror.cc

# Delete generated files on clean
CLEANFILES = grap.cc grap_lex.cc grap.man y.tab.h

# Man page
dist_man1_MANS = grap.doc

# Where to put grap.defines
definesdir = @DEFINES_DIR@
dist_defines_DATA = grap*.defines

# Examples
exampledir = @EXAMPLE_DIR@
dist_example_DATA = examples/*.d examples/*.result examples/Makefile \
		    examples/example.ms

# Other docs
docdir = @DOC_DIR@
dist_doc_DATA = README CHANGES COPYRIGHT grap.man

# Configure supplied C++ flags
AM_CXXFLAGS = @GXXFLAGS@ @CX0FLAGS@

# Rules for y.tab.h and grap.man
y.tab.h:	grap.yy
	${YACC} -d grap.yy && rm -f y.tab.c

grap.man:	grap.doc
	groff -mdoc -Tascii grap.doc > grap.man