libs-gdl2/EOAdaptors/PostgreSQLAdaptor/GNUmakefile.in
David Ayers 524499d170 Rename PostgreSQL Adpator directory.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23523 72102866-910b-0410-8b05-ffd578937521
2006-09-15 12:44:19 +00:00

93 lines
2.8 KiB
Text

#
# PostgreSQL makefile for GNUstep Database Library.
#
# Copyright (C) 2000-2002,2003,2004,2005 Free Software Foundation, Inc.
#
# Author: Mirko Viviani <mirko.viviani@gmail.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; see the file COPYING.LIB.
# If not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
# Install into the System root by default
GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_SYSTEM_ROOT)
include $(GNUSTEP_MAKEFILES)/common.make
include ../../Version
POSTGRES_DATABASE=@POSTGRES_DATABASE@
# The framework to be compiled
FRAMEWORK_NAME=PostgresEOAdaptor
SUBPROJECTS = LoginPanel
# The framework principal class
PostgresEOAdaptor_PRINCIPAL_CLASS = PostgresAdaptor
# The framework Objective-C source files to be compiled
PostgresEOAdaptor_OBJC_FILES = \
PostgresAdaptor.m \
PostgresContext.m \
PostgresChannel.m \
PostgresSQLExpression.m \
PostgresValues.m \
PostgresPrivate.m
PostgresEOAdaptor_HEADER_FILES = \
PostgresAdaptor.h \
PostgresContext.h \
PostgresChannel.h \
PostgresSQLExpression.h \
PostgresValues.h
PostgresEOAdaptor_AUTOGSDOC_HEADERS = $(PostgresEOAdaptor_HEADER_FILES)
PostgresEOAdaptor_AUTOGSDOC_SOURCE = $(PostgresEOAdaptor_OBJC_FILES)
DOCUMENT_NAME = PostgresEOAdaptor
PostgresEOAdaptor_AGSDOC_FILES = PostgresEOAdaptor.gsdoc $(PostgresEOAdaptor_AUTOGSDOC_HEADERS)
#$(PostgresEOAdaptor_AUTOGSDOC_SOURCE)
PostgresEOAdaptor_AGSDOC_FLAGS = \
-Declared Foundation \
-Standards YES \
-SystemProjects System \
-Project PostgresEOAdaptor \
-WordMap '{\
FOUNDATION_EXPORT=extern;FOUNDATION_STATIC_INLINE="";\
GS_GEOM_SCOPE=extern;GS_GEOM_ATTR="";\
GS_EXPORT=extern;GS_DECLARE="";\
GS_RANGE_SCOPE=extern;GS_RANGE_ATTR="";\
GS_ZONE_SCOPE=extern;GS_ZONE_ATTR="";\
}' -Up PostgresEOAdaptor
-include Makefile.preamble
-include GNUmakefile.local
ifeq ($(POSTGRES_DATABASE),yes)
include $(GNUSTEP_MAKEFILES)/framework.make
include $(GNUSTEP_MAKEFILES)/aggregate.make
else
include $(GNUSTEP_MAKEFILES)/rules.make
endif
# Only build the doc if doc=yes was passed on the command line
ifeq ($(doc),yes)
include $(GNUSTEP_MAKEFILES)/documentation.make
endif
-include Makefile.postamble