XCOMM    Copyright (C) 1987-2000 by Jeffery P. Hansen
XCOMM
XCOMM    This program is free software; you can redistribute it and/or modify
XCOMM    it under the terms of the GNU General Public License as published by
XCOMM    the Free Software Foundation; either version 2 of the License, or
XCOMM    (at your option) any later version.
XCOMM
XCOMM    This program is distributed in the hope that it will be useful,
XCOMM    but WITHOUT ANY WARRANTY; without even the implied warranty of
XCOMM    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
XCOMM    GNU General Public License for more details.
XCOMM
XCOMM    You should have received a copy of the GNU General Public License
XCOMM    along with this program; if not, write to the Free Software
XCOMM    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

#include "../../config.h"

XCOMM
XCOMM Object and source files for gate types.
XCOMM
GOBJS=joint.o block.o in.o out.o tri.o ground.o vdd.o tap.o \
	clock.o dip.o switch.o and.o or.o xor.o buffer.o adder.o mux.o demux.o \
	register.o flipflop.o lshift.o rshift.o arshift.o roll.o concat.o tribuffer.o \
	ram.o rom.o mult.o divide.o tty.o nmos.o pmos.o comment.o frame.o led.o
GSRCS=joint.c block.c in.c out.c tri.c ground.c vdd.c tap.c \
	clock.c dip.c switch.c and.c or.c xor.c buffer.c adder.c mux.c demux.c \
	register.c flipflop.c lshift.c rshift.c arshift.c roll.c concat.c tribuffer.c \
	ram.c rom.c mult.c divide.c tty.c nmos.c pmos.c comment.c frame.c led.c

XCOMM
XCOMM Object and source files for everything else.
XCOMM
OBJS=tkgate.o tkgatewin.o ascii.o defaults.o edit.o error.o \
	functions.o gates.o cursors.o simulate.o print.o editstate.o \
	module.o selection.o join.o net.o verilog.o icon.o modint.o \
	misc.o scopewin.o scope.o  tclfuncs.o wiresadd.o \
	wiresedit.o wiresize.o wiresmove.o wiresnap.o wmstuff.o \
	generic.o cpath.o zoom.o verify.o $(GOBJS)
SRCS=tkgate.c tkgatewin.c ascii.c defaults.c edit.c error.c \
	functions.c gates.c cursors.c simulate.c print.c editstate.c \
	module.c selection.c join.c net.c verilog.c icon.c modint.c \
	misc.c scopewin.c scope.c  tclfuncs.c wiresadd.c \
	wiresedit.c wiresize.c wiresmove.c wiresnap.c wmstuff.c \
	generic.c cpath.c zoom.c verify.c $(GSRCS)

LOCAL_LIBRARIES=TKGATE_LPATH ../common/libvparser.a ../common/libcommon.a TKGATE_LIBS
DEPLIB= ../common/libvparser.a ../common/libcommon.a
INCLUDES=TKGATE_IPATH
PROGRAM=tkgate

LinkSourceFile(config.h,../..)
LinkSourceFile(delay.h,../common)
LinkSourceFile(expr.h,../common)
LinkSourceFile(hash.h,../common)
LinkSourceFile(list.h,../common)
LinkSourceFile(misc.h,../common)
LinkSourceFile(vparser.h,../common)
LinkSourceFile(ycmalloc.h,../common)

AllTarget($(PROGRAM))
NormalProgramTarget($(PROGRAM),$(OBJS),$(DEPLIB),$(LOCAL_LIBRARIES),)
InstallProgram($(PROGRAM),TKGATE_BINDIR)
DependTarget()
LintTarget()
