# GNUmakefile - this file is part of Cynthiune
#
# Copyright (C) 2003, 2004  Wolfgang Sourdeau
#
# Author: Wolfgang Sourdeau <wolfgang@contre.com>
#
# This file 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, or (at your option)
# any later version.
#
# This file 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.
#
# You should have received a copy of the GNU General Public License
# along with this program; see the file COPYING.  If not, write to
# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
#

include $(GNUSTEP_MAKEFILES)/common.make

GNUSTEP_INSTALLATION_DIR=$(GNUSTEP_LOCAL_ROOT)/

#
# Subprojects
#

SUBPROJECTS = \
Bundles/AudioFile \
Bundles/Esound \
Bundles/FLAC \
Bundles/Mod \
Bundles/MP3 \
Bundles/Ogg \
Bundles/OSS

#
# Main application
#

PACKAGE_NAME=Cynthiune
APP_NAME=Cynthiune
VERSION=0.9.4

Cynthiune_APPLICATION_ICON=Cynthiune.tiff
Cynthiune_MAIN_MODEL_FILE=Cynthiune.gorm
Cynthiune_LANGUAGES=English French Italian
Cynthiune_LOCALIZED_RESOURCE_FILES=Localizable.strings

#
# Additional libraries
#

ADDITIONAL_GUI_LIBS += 

#
# Resource files
#

NIB_FILES = \
Cynthiune.gorm \
GeneralPreference.gorm \
Preferences.gorm

buttons_IMAGE_FILES = \
Images/eject.tiff \
Images/eject-pushed.tiff \
Images/mute.tiff \
Images/mute-pushed.tiff \
Images/next.tiff \
Images/next-pushed.tiff \
Images/pause.tiff \
Images/pause-pushed.tiff \
Images/play.tiff \
Images/play-pushed.tiff \
Images/playlist.tiff \
Images/playlist-pushed.tiff \
Images/previous.tiff \
Images/previous-pushed.tiff \
Images/repeat.tiff \
Images/repeat-pushed.tiff \
Images/shuffle.tiff \
Images/shuffle-pushed.tiff \
Images/stop.tiff \
Images/stop-pushed.tiff

Cynthiune_RESOURCE_FILES= \
Images/Cynthiune.tiff \
Images/cynthiune-splash.tiff \
Images/cynthiune-splash-faded.tiff \
Images/FileIcon_GenericSound.tiff \
Images/FileIcon_.ogg.tiff \
Images/FileIcon_.mp3.tiff \
Images/note.tiff \
Images/notes.tiff \
$(buttons_IMAGE_FILES) \
$(NIB_FILES)

#
# Header files
#

Cynthiune_HEADERS= \
CynthiuneBundle.h \
CynthiunePopUpButton.h \
Format.h \
FormatTester.h \
GeneralPreference.h \
InfoDisplayController.h \
CynthiuneController.h \
MailService.h \
NSNumberExtensions.h \
Output.h \
Player.h \
PlayerController.h \
PlayerPreference.h \
Playlist.h \
PlaylistFile.h \
PlaylistController.h \
PlaylistTableView.h \
Preference.h \
PreferencesController.h \
Song.h \
TableViewController.h \
utils.h

#
# Class files
#

Cynthiune_OBJC_FILES= \
main.m \
CynthiunePopUpButton.m \
FormatTester.m \
GeneralPreference.m \
InfoDisplayController.m \
CynthiuneController.m \
MailService.m \
NSNumberExtensions.m \
Player.m \
PlayerController.m \
PlayerPreference.m \
Playlist.m \
PlaylistFile.m \
PlaylistController.m \
PlaylistTableView.m \
PreferencesController.m \
Song.m \
TableViewController.m \
utils.m

#
# C files
#

Cynthiune_C_FILES= 

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