#
#	GNUmakefile
#
#	Main makefile for ViewPDF.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


#
# Main application
#
APP_NAME=ViewPDF
VERSION=0.8.5
ViewPDF_PRINCIPAL_CLASS=NSApplication
ViewPDF_APPLICATION_ICON=ViewPDF.png

#
# Libraries
#
ViewPDF_LIB_DIRS =
ViewPDF_GUI_LIBS = -lPDFKit

#
# Compile Flags
#
ViewPDF_OBJCFLAGS = -g

#
# Resource files
#
ViewPDF_RESOURCE_FILES= \
	ViewPDF.png \
	ViewPDFInfo.plist \
	Icons/*.tiff \
	Icons/*.png \
	Papersizes.plist \
	pagelayout.gorm \
	find.gorm \
	outline.gorm

#ViewPDF_LOCALIZED_RESOURCE_FILES= \
#	Localizable.strings

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

#
# Header files
#
ViewPDF_HEADERS= \
	AppController.h \
	PDFContentView.h \
	DocumentPosition.h \
	DocumentWindowController.h \
	DocumentWindow.h \
	ExtendedScrollView.h \
	ExtendedImageView.h \
	PrefsController.h \
	ViewPDFDocument.h

#
# Class files
#
ViewPDF_OBJC_FILES= \
	AppController.m \
	PDFContentView.m \
	DocumentPosition.m \
	Match.m \
	DocumentWindowController.m \
	DocumentWindowController+Find.m \
	DocumentWindowController+PageLayout.m \
	DocumentWindowController+Outline.m \
	DocumentWindow.m \
	ExtendedScrollView.m \
	ExtendedImageView.m \
	PrefsController.m \
	ViewPDFDocument.m \
	main.m

#
# C files
#
ViewPDF_C_FILES=


-include GNUmakefile.preamble
-include GNUmakefile.local

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

-include GNUmakefile.postamble
