# Generated automatically from Makefile.in by configure.
##########################################################################
##                  GNU SQL Compiler  (parser's phase)                  ##
##########################################################################
##
## $Id: Makefile.src.parse.in,v 1.246 1997/04/03 14:41:20 kml Exp $
##
## This file is a part of GNU SQL Server
##
## Copyright (c) 1996, 1997, Free Software Foundation, Inc
## Developed at Institute of System Programming of Russian Academy of Science
## This file is written by Michael Kimelman
##
## This program is free software; you can redistribute it and/or modify it under
## the terms of the GNU General Public License as published by the Free
## Software Foundation; either version 2 of the License, or (at your option)
## any later version.
##
## This program is distributed in the hope that it will be useful, but WITHOUT
## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
## more details.
##
## You should have received a copy of the GNU General Public License along with
## this program; if not, write to the Free Software Foundation, Inc.,
## 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
##
## Contacts: gss@ispras.ru
##

srcdir=/var/tmp/gnusql-0.7b5/src/parse
VPATH=/var/tmp/gnusql-0.7b5/src/parse
include ../Makefile_h
##======================================================================##
##          other setups                                                ##
##======================================================================##
TPH=$(INC)/type_lib.h
##########################################################################
all server: announce $(LIBSER)
client: announce $(LIBCLI)
install   : $(LIBCL_DEP) monitor
	$(CP)  monitor $(CLNT)
libgss_cli : scan_c.$(O)
	echo $? >$@
libgss_ser : parse.$(O)  scan_s.$(O)
	echo $? >$@
t : parseNEW.$(O)
parse.c parse.h : parse.y
#parse.c   : parse.y

scan_c.c  : scan_c.l
scan_s.c  : scan_s.l

monitor: monitor.$(O) 
	$(LD) monitor.$(O) $(CLLIBS) -o $@
monitor.o : monitor.c $(INC)/xmem.h $(INC)/dyn_funcs.h
monitor.c : monitor.l
scan_s.$(O)  : scan_s.c $(TRL)/trl.h $(INC)/xmem.h parse.h $(INC)/const.h
scan_c.$(O)  : scan_c.c $(LINC)/gsqltrn.h procname.h $(INC)/sql_decl.h $(INC)/xmem.h
parse.$(O)   : parse.c parse.h procname.h $(INC)/tree_gen.h $(INC)/cycler.h $(TPH)
clean::
	- $(RM) y.tab* *.out* lex.* 
	- $(RM) scan*.c monitor.c monitor
