]> Dogcows Code - chaz/homebank/blobdiff - src/Makefile.am
Merge branch 'master' into ext-perl
[chaz/homebank] / src / Makefile.am
index 4115add2ba511449e529e3d53f04a9161f664ffc..20da8f18246114c77313051187aa34980ea3da4f 100644 (file)
@@ -1,7 +1,8 @@
 
 common_defines = \
        -DSHARE_DIR=\""$(pkgdatadir)"\" \
-       -DDATA_DIR=\""$(datadir)"\"
+       -DDATA_DIR=\""$(datadir)"\" \
+       -DPKGLIB_DIR=\""$(pkglibdir)"\"
 
 
 bin_PROGRAMS = homebank
@@ -21,6 +22,10 @@ homebank_SOURCES =  \
        enums.h \
        gtk-chart.c \
        gtk-chart.h \
+       gtk-chart-colors.c \
+       gtk-chart-colors.h \
+       gtk-chart-stack.c \
+       gtk-chart-stack.h \
        gtk-dateentry.c \
        gtk-dateentry.h \
        hb-account.c \
@@ -31,6 +36,8 @@ homebank_SOURCES =  \
        hb-assign.h \
        hb-category.c \
        hb-category.h \
+       hb-currency.c \
+       hb-currency.h \
        hb-encoding.c \
        hb-encoding.h \
        hb-export.c \
@@ -41,6 +48,9 @@ homebank_SOURCES =  \
        hb-hbfile.h \
        hb-import.c \
        hb-import.h \
+       hb-import-ofx.c \
+       hb-import-qif.c \
+       hb-import-csv.c \
        hb-misc.c \
        hb-misc.h \
        hb-payee.c \
@@ -51,16 +61,14 @@ homebank_SOURCES =  \
        hb-report.h \
        hb-tag.c \
        hb-tag.h \
+       hb-split.c \
+       hb-split.h \
        hb-transaction.c \
        hb-transaction.h \
        hb-xml.c \
        hb-xml.h \
        homebank.c \
        homebank.h \
-       imp_qif.c \
-       imp_qif.h \
-       import.c \
-       import.h \
        language.c \
        language.h \
        list_account.c \
@@ -87,12 +95,16 @@ homebank_SOURCES =  \
        ui-archive.h \
        ui-assign.c \
        ui-assign.h \
+       ui-assist-import.c \
+       ui-assist-import.h \
        ui-assist-start.c \
        ui-assist-start.h \
        ui-budget.c \
        ui-budget.h \
        ui-category.c \
        ui-category.h \
+       ui-currency.c \
+       ui-currency.h \
        ui-dialogs.c \
        ui-dialogs.h \
        ui-filter.c \
@@ -103,16 +115,43 @@ homebank_SOURCES =  \
        ui-payee.h \
        ui-pref.c \
        ui-pref.h \
+       ui-split.c \
+       ui-split.h \
        ui-transaction.c \
        ui-transaction.h \
+       ui-txn-multi.c \
+       ui-txn-multi.h \
        ui-widgets.c \
        ui-widgets.h \
-       gtk-chart-colors.c \
-       gtk-chart-colors.h 
+       refcount.h \
+       ext.c \
+       ext.h \
+       ext-value.c \
+       ext-value.h \
+       ext-native.c \
+       ext-perl.xs
 
-homebank_LDADD = $(DEPS_LIBS)
+EXTRA_homebank_DEPENDENCIES = $(PERL_OBJS)
+
+homebank_LDADD = $(DEPS_LIBS) \
+       $(LIBSOUP_LIBS) \
+       $(PERL_OBJS)
 
 AM_CPPFLAGS = \
        $(DEPS_CFLAGS) \
+       $(LIBSOUP_CFLAGS) \
        $(common_defines)
 
+$(PERL_OBJS): CPPFLAGS += $(PERL_CPPFLAGS)
+
+ext-perl.c: ext-perl.xs typemap
+       $(XSUBPP) -typemap $(PERL_PRIVLIBEXP)/ExtUtils/typemap -typemap typemap $< >$@
+
+perlxsi.c: Makefile
+       $(PERL) -MExtUtils::Embed -e xsinit -- -std HomeBank
+
+CLEANFILES = ext-perl.c perlxsi.c
+
+pluginsupportdir = $(pkglibdir)
+pluginsupport_DATA = HomeBank.pm
+
This page took 0.023599 seconds and 4 git commands to generate.