#
# 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.9
ViewPDF_PRINCIPAL_CLASS=NSApplication
ViewPDF_APPLICATION_ICON=ViewPDF.png

#
# Libraries
#
ViewPDF_LIB_DIRS =
ViewPDF_GUI_LIBS = -lPDFKit

#
# Compile Flags
#
ViewPDF_OBJCFLAGS = -g -Wall

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

#ViewPDF_LOCALIZED_RESOURCE_FILES= \
#	Localizable.strings

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

#
# Class files
#
ViewPDF_OBJC_FILES= \
	AppController.m \
	PDFContentView.m \
	DocumentPosition.m \
	Match.m \
	OutlinePanel.m \
	DocumentWindowController.m \
	DocumentWindowController+Find.m \
	DocumentWindow.m \
	ExtendedScrollView.m \
	ExtendedImageView.m \
	FindView.m \
	PrefsController.m \
	SearchService.m \
	ViewPDFDocument.m \
	ViewPDF.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
