]> Dogcows Code - chaz/homebank/blobdiff - src/Makefile.am
Merge branch 'master' into ext-perl
[chaz/homebank] / src / Makefile.am
index 200e63c679872d99c5ad228b1c8c484db45b4cf4..7acfc873883dffc4ec74c3778e3d6841d5f13d44 100644 (file)
@@ -1,7 +1,8 @@
 
 common_defines = \
        -DSHARE_DIR=\""$(pkgdatadir)"\" \
-       -DDATA_DIR=\""$(datadir)"\"
+       -DDATA_DIR=\""$(datadir)"\" \
+       -DPKGLIB_DIR=\""$(pkglibdir)"\"
 
 
 bin_PROGRAMS = homebank
@@ -14,17 +15,17 @@ USER_INTERFACE =
        
 
 homebank_SOURCES =  \
-       dsp_account.c \
-       dsp_account.h \
-       dsp_mainwindow.c \
-       dsp_mainwindow.h \
+       dsp-account.c \
+       dsp-account.h \
+       dsp-mainwindow.c \
+       dsp-mainwindow.h \
        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-chart-progress.c \
+       gtk-chart-progress.h \
        gtk-dateentry.c \
        gtk-dateentry.h \
        hb-account.c \
@@ -68,26 +69,32 @@ homebank_SOURCES =  \
        hb-xml.h \
        homebank.c \
        homebank.h \
+       hub-account.c \
+       hub-account.h \
+       hub-scheduled.c \
+       hub-scheduled.h \
+       hub-spending.c \
+       hub-spending.h \
+       hub-transaction.c \
+       hub-transaction.h \
        language.c \
        language.h \
-       list_account.c \
-       list_account.h \
-       list_operation.c \
-       list_operation.h \
-       list_topspending.c \
-       list_topspending.h \
-       list_upcoming.c \
-       list_upcoming.h \
-       rep_balance.c \
-       rep_balance.h \
-       rep_budget.c \
-       rep_budget.h \
-       rep_stats.c \
-       rep_stats.h \
-       rep_time.c \
-       rep_time.h \
-       rep_vehicle.c \
-       rep_vehicle.h \
+       list-account.c \
+       list-account.h \
+       list-operation.c \
+       list-operation.h \
+       list-scheduled.c \
+       list-scheduled.h \
+       rep-balance.c \
+       rep-balance.h \
+       rep-budget.c \
+       rep-budget.h \
+       rep-stats.c \
+       rep-stats.h \
+       rep-time.c \
+       rep-time.h \
+       rep-vehicle.c \
+       rep-vehicle.h \
        ui-account.c \
        ui-account.h \
        ui-archive.c \
@@ -116,16 +123,45 @@ homebank_SOURCES =  \
        ui-pref.h \
        ui-split.c \
        ui-split.h \
+       ui-tag.c \
+       ui-tag.h \
        ui-transaction.c \
        ui-transaction.h \
+       ui-txn-multi.c \
+       ui-txn-multi.h \
+       ui-widgets-data.c \
        ui-widgets.c \
-       ui-widgets.h
+       ui-widgets.h \
+       refcount.h \
+       ext.c \
+       ext.h \
+       ext-value.c \
+       ext-value.h \
+       ext-native.c \
+       ext-perl.xs
+
+EXTRA_homebank_DEPENDENCIES = $(PERL_OBJS)
+
 
 homebank_LDADD = $(DEPS_LIBS) \
-       $(LIBSOUP_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.024194 seconds and 4 git commands to generate.