# -*- makefile -*-
# ------------------------------------------------------------------------------
# src/Makefile.am
#
# $Id: Makefile.am,v 1.50 2008/08/11 12:23:59 vlg Exp $
# ------------------------------------------------------------------------------
bin_PROGRAMS = granule
granule_SOURCES = \
Intern.h \
CSVImportDialog.h \
CSVImportDialog.cpp \
CSVExportDialog.h \
CSVExportDialog.cpp \
AboutGRAPP.h \
AboutGRAPP.cpp \
AppearanceDB.h \
AppearanceDB.cpp \
FontsSelectorUI.h \
FontsSelectorUI.cpp \
ColorsSelectorUI.h \
ColorsSelectorUI.cpp \
VDeck.h \
CardDeck.h \
CardDeck.cpp \
Deck.h \
Deck.cpp \
CardBox.h \
CardBox.cpp \
DeckView.h \
DeckView.cpp \
DeckInfo.h \
DeckInfo.cpp \
DeckPlayer.h \
DeckPlayer.cpp \
VerifyControl.h \
VerifyControl.cpp \
DeckManager.h \
DeckManager.cpp \
DeckList.h \
DeckList.cpp \
DialogWithCheckbutton.h \
DialogWithCheckbutton.cpp \
VCard.h \
VCard.cpp \
CardRef.h \
CardRef.cpp \
Card.h \
Card.cpp \
CardView.h \
CardView.cpp \
CardViewHelpDialog.h \
CardViewHelpDialog.cpp \
AutoFillDB.h \
AutoFillDB.cpp \
CardAutoFill.h \
CardAutoFill.cpp \
EditControls.h \
EditControls.cpp \
FileOpen.h \
FileOpenDialog.h \
FileOpenDialog.cpp \
FileSaveDialog.h \
FileSaveDialog.cpp \
FolderChooseDialog.h \
FolderChooseDialog.cpp \
InputDialog.h \
InputDialog.cpp \
GrappConf.h \
GrappConf.cpp \
FontsDB.h \
FontsDB.cpp \
TextColorsDB.h \
TextColorsDB.cpp \
TopMenuBar.h \
TopMenuBar.cpp \
GeneralPref.h \
GeneralPref.cpp \
CardBoxPrefsWindow.h \
CardBoxPrefsWindow.cpp \
SchedulingPrefs.h \
SchedulingPrefs.cpp \
ScheduleDB.h \
ScheduleDB.cpp \
ScheduleUI.h \
ScheduleUI.cpp \
SoundPrefs.h \
SoundPrefs.cpp \
GeometryPrefs.h \
GeometryPrefs.cpp \
AppearancePrefs.h \
AppearancePrefs.cpp \
TextAlignmentsUI.h \
TextAlignmentsUI.cpp \
TextAlignment.h \
TextAlignment.cpp \
PrefWindow.h \
PrefWindow.cpp \
PropertyBox.h \
PropertyBox.cpp \
ButtonWithImageLabel.h \
ButtonWithImageLabel.cpp \
MainWindow.h \
MainWindow.cpp \
Granule.h \
Granule.cpp \
Granule-main.h \
Granule-main.cpp
localedir = $(datadir)/locale
if USE_DESKTOP
DEP_CFLAGS = -DIS_DESKTOP
endif
if USE_WIN32
DEP_CFLAGS = -DIS_WIN32
endif
if USE_HILDON
DEP_CFLAGS = -DIS_HILDON
endif
if USE_PDA
DEP_CFLAGS = -DIS_PDA
endif
INCLUDES = \
-g \
-I$(top_srcdir) \
-I$(top_srcdir)/intl \
-DGRAPPDATDIR=\""$(runtime_datadir)"\" \
-DGRAPPXMLDIR=\""$(runtime_xmldir)"\" \
-DDATDIR=\""$(datadir)"\" \
-DLOCALEDIR=\"$(localedir)\" \
-DPACKAGE=\"$(PACKAGE)\" \
$(DEP_CFLAGS) \
@XMLCPP_CFLAGS@ \
@ASSA_CFLAGS@ \
@GTKMM_CFLAGS@ \
@HILDON_CFLAGS@ \
@OSSO_CFLAGS@ \
@DBUS_CFLAGS@ \
@GCONF_CFLAGS@ \
@CXXFLAGS@
AM_LDFLAGS= -g @LDFLAGS@
granule_LDADD = \
@ASSA_LIBS@ \
@GTKMM_LIBS@ \
@XMLCPP_LIBS@ \
@HILDON_LIBS@ \
@OSSO_LIBS@ \
@DBUS_LIBS@ \
@GCONF_LIBS@ \
@WIN32_EXTRA_LIBADD@ \
$(LIBINTL) \
@LIBS@
clean-local:
-rm -f log *.log *.log.old *~ core.*
-rm -rf dox
# Disable autoheader.
AUTOHEADER=echo