summaryrefslogtreecommitdiff
path: root/hyp2mat/lib/Makefile.am
blob: 5e1000d209d3f5df526e7013116a314b81873b1e (plain)
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# used by automake

#
# hyp2mat library
#

# if you wish to install libraries, headers, and package information
if INSTALL_LIBRARY
include_HEADERS=hyp2mat.h
lib_LTLIBRARIES=libhyp2mat.la
pkgconfig_DATA=hyp2mat.pc
else
# if you do not wish to install libraries, headers, and package information
noinst_HEADERS=hyp2mat.h
noinst_LTLIBRARIES=libhyp2mat.la
noinst_DATA=hyp2mat.pc
endif

pkgconfigdir=$(datarootdir)/pkgconfig

libhyp2mat_la_SOURCES=\
  clipper.cpp \
  clipper.hpp \
  copper.cc \
  crop.h \
  crop.cc \
  csxcad.cc \
  csxcad.h \
  draw.cc \
  exec_board.cc \
  exec_devices.cc \
  exec_end.cc \
  exec_net.cc \
  exec_netclass.cc \
  exec_padstack.cc \
  exec_polygon.cc \
  exec_stackup.cc \
  exec_supplies.cc \
  hyp2mat.h \
  hyperlynx.cc \
  hyperlynx.h \
  hypfile.cc \
  hypfile.h \
  misc.cc \
  palette.cc \
  palette.h \
  parse_param.h \
  parser.h \
  parse.yy \
  polygon.h \
  polygon.cc \
  pcb.cc \
  pdf.cc \
  pdf.h \
  scan.ll

EXTRA_DIST=clipper.txt parse.h

BUILT_SOURCES=parse.cc parse.h scan.cc

scan.cc: scan.ll parse.h
	${LEX} -o $*.cc $<

parse.h parse.cc: parse.yy
	${YACC} --output=$*.cc --defines=$*.h $<

CLEANFILES=parse.cc parse.h scan.cc

#not truncated