# GNUmakefile: makefile for the Astro bundle
#
# Copyright (C) 2003-2010 by vhf interservice GmbH
# Author:   Georg Fleischmann
#
# modified: 2009-06-20
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the vhf Public License as
# published by vhf interservice GmbH. Among other things, the
# License requires that the copyright notices and this notice
# be preserved on all copies.
#
# 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 vhf Public License for more details.
#
# You should have received a copy of the vhf Public License along
# with this program; see the file LICENSE. If not, write to vhf.
#
# vhf interservice GmbH, Im Marxle 3, 72119 Altingen, Germany
# eMail: info@vhf.de
# http://www.vhf.de

include $(GNUSTEP_MAKEFILES)/common.make

# packages (RPM)
PACKAGE_NAME = Astro
VERSION = 1.1.5

BUNDLE_NAME = Astro
BUNDLE_EXTENSION = .bundle

SUBPROJECTS = Astro.bproj

BUNDLE_INSTALL_DIR = $(GNUSTEP_LOCAL_ROOT)/Library/Bundles/Cenon
Astro_HAS_RESOURCE_BUNDLE = yes

Astro_LANGUAGES = English German

Astro_SUBPROJECTS = AstroPanel.subproj SwissEphemeris.subproj CIAMaps.subproj

Astro_RESOURCE_FILES = \
	Astro.bproj/Astro.prefs

Astro_LOCALIZED_RESOURCE_FILES = \
        Astro.strings \
        States.strings \
        EventPanel.nib \
        CityPanel.nib \
        TimeZonePanel.nib

Astro_OBJC_FILES = \
	AstroPrincipal.m astroCommon.m AstroDate.m \
	AstroChart.m DocViewAstro.m \
	AspectLines.m \
        EventManager.m AAFImport.m \
        CityManager.m \
        TimeZoneManager.m \
        EphemerisSearch.m \
        Map.m DocViewMap.m TopocentricCycle.m \
	VTextAstroAdditions.m

Astro_HEADERS = \
	AstroPrincipal.h astroCommon.h AstroDate.h \
	AstroChart.h DocViewAstro.h \
	AspectLines.h \
        EventManager.h AAFImport.h CityManager.h TimeZoneManager.h \
        EphemerisSearch.h \
        Map.h DocViewMap.h \
        cbdmap.h astroLocations.h TopocentricCycle.h \
	VTextAstroAdditions.h

Astro_PRINCIPAL_CLASS = AstroPrincipal

ADDITIONAL_OBJCFLAGS = -Wall
ADDITIONAL_INCLUDE_DIRS += -I../Cenon -I..

-include GNUmakefile.preamble
-include GNUmakefile.local
include $(GNUSTEP_MAKEFILES)/aggregate.make
include $(GNUSTEP_MAKEFILES)/bundle.make
-include GNUmakefile.postamble
