1## Process this file with automake to produce Makefile.in
2#
3#    Copyright (C) 1987-2015 by Jeffery P. Hansen
4#
5#    This program is free software; you can redistribute it and/or modify
6#    it under the terms of the GNU General Public License as published by
7#    the Free Software Foundation; either version 2 of the License, or
8#    (at your option) any later version.
9#
10#    This program is distributed in the hope that it will be useful,
11#    but WITHOUT ANY WARRANTY; without even the implied warranty of
12#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13#    GNU General Public License for more details.
14#
15#    You should have received a copy of the GNU General Public License along
16#    with this program; if not, write to the Free Software Foundation, Inc.,
17#    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18#
19DISTCLEANFILES=vgrammar.h vgrammar.c luthor.c
20
21BUILT_SOURCES=vgrammar.h
22AM_CFLAGS=-D_GNU_SOURCE -DUSE_INTERP_RESULT -DTKGATE_HOMEDIR=\"$(pkgdatadir)\" @TOP_IPATH@ @COMMON_IPATH@ @TKGATE_IPATH@ $(PANGO_XFT_CFLAGS)
23AM_YFLAGS=-d
24
25BASE_OBJS=adder.c and.c arshift.c ascii.c block.c breakpoint.c buffer.c \
26	circuit.c clock.c comment.c concat.c cpath.c cursors.c decoder.c \
27	delay.c demux.c dip.c divide.c edit.c editstate.c error.c expr.c \
28	flipflop.c fonts.c frame.c functions.c gate_painter.c gates.c generic.c \
29	ground.c hdl.c html.c hyperlink.c icon.c igenerate.c in.c jkff.c join.c \
30	joint.c led.c locale.c lshift.c metrics.c modint.c modsym.c module.c \
31	mult.c mux.c net.c nmos.c object.c or.c out.c paux.c pmos.c primitives.c \
32	print.c pulldown.c pullup.c ram.c register.c release.c roll.c rom.c \
33	rshift.c scope.c scopewin.c script.c search.c selection.c simulate.c \
34	switch.c symblock.c tap.c tclfuncs.c text.c tkgate.c tkgatewin.c \
35	traceprint.c tri.c tribuffer.c vdd.c verify.c verilog_in.c verilog_out.c \
36	wiresadd.c wiresdraw.c wiresedit.c wiresmove.c wiresnap.c wmstuff.c xor.c \
37	zoom.c vgrammar.y luthor.l \
38	breakpoint.h circuit.h comment.h cpath.h delay.h editstate.h elements.h \
39	error.h expr.h fonts.h functions.h gate_painter.h gates.h generic.h \
40	html.h icon.h igenerate.h message.h modsym.h module.h net.h object.h \
41	primitives.h print.h psprolog.h scope.h script.h simulate.h switch.h \
42	text.h tkgate.h tkgate_config.h tkgate_misc.h verilog.h vparser.h \
43	wires.h yybasic.h zoom.h
44
45#lib_LTLIBRARIES=libtkgate.la
46#libtkgate_la_SOURCES=$(BASE_OBJS)
47#libtkgate_la_LDFLAGS=@TKGATE_LPATH@ @X_LIBS@ @COMMON_LPATH@
48#libtkgate_la_LIBADD=@TKGATE_LIB@ -lcommon
49
50bin_PROGRAMS=tkgate
51tkgate_LDFLAGS=@TKGATE_LPATH@ @X_LIBS@ @COMMON_LPATH@ $(PANGO_XFT_LIBS)
52tkgate_SOURCES=$(BASE_OBJS) main.c
53#tkgate_LDADD=libtkgate.la
54tkgate_LDADD=@TKGATE_LIB@ -lcommon -lm -lpthread
55