#
#	GNUmakefile
#
#	Main makefile for ViewIt.app
#
#	Copyright (C) 2003 Stefan Kleine Stegemann <stefan@wms-network.de>
#
#	This Makefile 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.
#

include $(GNUSTEP_MAKEFILES)/common.make


#
# Subprojects
#
SUBPROJECTS=pdfps

#
# Distribution information
#
#CVS_MODULE_NAME=	ViewIt
#CVS_FLAGS=			-d:pserver:anonymous@cvs.quakeforge.net:/cvsroot/prefsapp

#
# Main application
#
APP_NAME=ViewIt
VERSION=0.5
ViewIt_PRINCIPAL_CLASS=NSApplication
ViewIt_APPLICATION_ICON=ViewIt.tiff

#
# Libraries
#
ViewIt_LIB_DIRS = -L./pdfps/obj
ViewIt_GUI_LIBS = -lpdfps

#
# Compile Flags
#
ViewIt_OBJCFLAGS=-I./pdfps/objc -g

#
# Resource files
#
ViewIt_RESOURCE_FILES= \
	ViewIt.tiff \
	ViewItInfo.plist \
	Icons/*.tiff \
	Papersizes.plist \
	preferences.gorm

#ViewIt_LOCALIZED_RESOURCE_FILES= \
#	Localizable.strings

# Languages we're localized for
#ViewIt_LANGUAGES= \
#	English

#
# Header files
#
ViewIt_HEADERS= \
	AppController.h \
	ImageWindowController.h \
	ImageWindow.h \
	ViewableDocument.h \
	ViewablePage.h \
	ViewablePDFDocument.h \
	ViewablePDFPage.h \
	ImageDocument.h \
	ImageView.h \
	ImageScrollView.h \
	TransformableImageView.h \
	PrefsController.h

#
# Class files
#
ViewIt_OBJC_FILES= \
	AppController.m \
	ImageWindowController.m \
	ImageWindow.m \
	ViewableDocument.m \
	ViewablePage.m \
	ViewablePDFDocument.m \
	ViewablePDFPage.m \
	ImageDocument.m \
	ImageView.m \
	ImageScrollView.m \
	TransformableImageView.m \
	PrefsController.m \
	main.m

#
# C files
#
ViewIt_C_FILES=


-include GNUmakefile.preamble
-include GNUmakefile.local

include $(GNUSTEP_MAKEFILES)/aggregate.make
include $(GNUSTEP_MAKEFILES)/application.make

-include GNUmakefile.postamble
