#
#  Main makefile for GNUstep X/GPS GUI Backend
#
#  Copyright (C) 1997 Free Software Foundation, Inc.
#
#  Author: Adam Fedor <fedor@gnu.org>
#
#  This file is part of the GNUstep X/GPS GUI Backend.
#
#  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.
#
#  If you are interested in a warranty or support for this source code,
#  contact Scott Christley at scottc@net-community.com
#
#  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,
#  59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_SYSTEM_ROOT)

GNUSTEP_MAKEFILES = $(GNUSTEP_SYSTEM_ROOT)/Makefiles

include $(GNUSTEP_MAKEFILES)/common.make

include ../Version

# The library to be compiled
LIBRARY_NAME=libgnustep-xgps

# The C source files to be compiled
libgnustep-xgps_C_FILES = \
SharedX/convert.c \
SharedX/gradient.c \
SharedX/raster.c \
SharedX/xdnd.c \
SharedX/xutil.c \
SharedX/xrtools.c \
SharedX/context.c \
SharedX/misc.c \
SharedX/draw.c

# The Objective-C source files to be compiled
libgnustep-xgps_OBJC_FILES = \
SharedX/XGContextEvent.m \
SharedX/XGContextWindow.m \
XGBitmap.m \
XGBitmapImageRep.m \
XGFont.m \
XGFontManager.m \
XGContext.m \
XGDrawingEngine.m \
XGDrawObject.m \
XGGState.m \
XGStreamContext.m \
externs.m 

libgnustep-xgps_HEADER_FILES_DIR = ../Headers
libgnustep-xgps_HEADER_FILES_INSTALL_DIR = 

libgnustep-xgps_HEADER_FILES = \
gnustep/xgps/XGContext.h \
gnustep/xgps/XGContextPrivate.h \
gnustep/xgps/XGContextWindow.h \
gnustep/xgps/XGDrawObject.h \
gnustep/xgps/XGGState.h \
gnustep/xgps/XGGStateOps.h

xfontinfodir = $(GNUSTEP_RESOURCES)

-include GNUmakefile.preamble

-include GNUmakefile.local

include $(GNUSTEP_MAKEFILES)/library.make

-include GNUmakefile.postamble

