#
#  SQLServer makefile for GNUstep Database Library.
#  
#  Copyright (C) 1997 Free Software Foundation, Inc.
#
#  Written by:	Scott Christley <scottc@net-community.com>
#
#  This file is part of the GNUstep Database Library.
#
#  This library is free software; you can redistribute it and/or
#  modify it under the terms of the GNU Library General Public
#  License as published by the Free Software Foundation; either
#  version 2 of the License, or (at your option) any later version.
#
#  This library 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
#  Library General Public License for more details.
#
#  You should have received a copy of the GNU Library General Public
#  License along with this library; if not, write to the Free
#  Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#

GNUSTEP_MAKEFILES = $(GNUSTEP_SYSTEM_ROOT)/Makefiles

include $(GNUSTEP_MAKEFILES)/common.make

include ../../Version
include ../../config.mak

# The library to be compiled
LIBRARY_NAME=libgdl-sqlserver

# The C source files to be compiled
C_FILES = 

# The Objective-C source files to be compiled
OBJC_FILES = \
SQLServerAdaptor.m \
SQLServerContext.m \
SQLServerChannel.m \
SQLServerSQLExpression.m \
SQLServerValues.m \
SQLServerExceptions.m

HEADER_FILES_DIR = .
HEADER_FILES_INSTALL_DIR = /$(GNUSTEP_FND_DIR)/eoadaptors/SQLServer

HEADER_FILES = \
SQLServerAdaptor.h \
SQLServerContext.h \
SQLServerChannel.h \
SQLServerSQLExpression.h \
SQLServerValues.h \
SQLServerExceptions.h

-include Makefile.preamble

-include GNUmakefile.local

ifeq ($(SQLSERVER_DATABASE),yes)
include $(GNUSTEP_MAKEFILES)/library.make
else
include $(GNUSTEP_MAKEFILES)/rules.make
endif

-include Makefile.postamble
