# Generated automatically from Makefile.in by configure.
###########################################################
##       GNU SQL Compiler  (optimizer pass)              ##
###########################################################
##
## $Id: Makefile.src.opt.in,v 1.245 1997/03/31 03:46:38 kml Exp $(O)pt.in,v 1.209 1997/03/17 23:41:34 kml Exp kml $
##
## 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/opt
VPATH=/var/tmp/gnusql-0.7b5/src/opt
include ../Makefile_h
##=======================================================##
##          other setups                                 ##
##=======================================================##

H=$(INC)/kitty.h
TPH=$(INC)/type_lib.h
DEP=$(H) opt.h $(KITTY)
K_SRC=groupby.k insert.k optimize.k optutil.k update.k sorter.k get_up.k cnf.k
###########################################################
#                make program                             #
###########################################################
all:  $(LIBSER) 
libgss_ser : $(KT_SRC:.kt=.$(O)) $(K_SRC:.k=.$(O))
	echo $? >$@

cnf.$(O)     : cnf.c      $(DEP)
cnf.h     : cnf.c  # we need to enforce creating cnf before other files
cnf.c     : cnf.k      $(KITTY)
groupby.$(O) : groupby.c  $(DEP) cnf.h 
groupby.c : groupby.k  $(KITTY)
insert.$(O)  : insert.c   $(DEP)
insert.c  : insert.k   $(KITTY)
optimize.$(O): optimize.c $(DEP) cnf.h
optimize.c: optimize.k $(KITTY)
optutil.$(O) : optutil.c  $(DEP)
optutil.c : optutil.k  $(KITTY)
get_up.$(O)  : get_up.c   $(DEP) cnf.h
get_up.c  : get_up.k   $(KITTY)
sorter.$(O)  : sorter.c   $(DEP)
sorter.c  : sorter.k   $(KITTY)
update.$(O)  : update.c   $(DEP)
update.c  : update.k   $(KITTY)
