Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

aqbanking / src / libs / plugins / bankinfo / generic / Makefile.am @ 8681a37c

History | View | Annotate | Download (1.79 KB)

1
INCLUDES = -I$(top_srcdir)/src/libs \
2
  -I$(top_builddir)/src/libs \
3
  $(gwenhywfar_includes)
4

    
5
AM_CFLAGS=-DBUILDING_AQBANKING @visibility_cflags@
6

    
7
EXTRA_DIST=\
8
  dbb.conf hbci.conf atblz.conf fedachdir.conf bcbankenstamm.conf \
9
  kidaten.conf README de.tar.bz2
10

    
11
bankinfoplugindir = $(aqbanking_plugindir)/bankinfo
12
bankinfodatadir = $(aqbanking_pkgdatadir)/bankinfo
13

    
14
#DEFS += -DPLUGIN_DATADIR=\"$(bankinfodatadir)\"
15

    
16

    
17
MKDEINFO=./mkdeinfo
18

    
19
noinst_LTLIBRARIES=libbankinfo_generic.la
20
noinst_HEADERS=\
21
 generic_p.h \
22
 generic_l.h
23

    
24
libbankinfo_generic_la_SOURCES=generic.c
25

    
26
de_files=de/blz.idx de/bic.idx de/namloc.idx de/banks.data
27

    
28
#atbankdatadir = $(bankinfodatadir)/at
29
#atbankdata_DATA = $(at_files)
30

    
31
debankdatadir = $(bankinfodatadir)/de
32
debankdata_DATA = $(de_files)
33

    
34
#chbankdatadir = $(bankinfodatadir)/ch
35
#chbankdata_DATA = $(ch_files)
36

    
37
#usbankdatadir = $(bankinfodatadir)/us
38
#usbankdata_DATA = $(us_files)
39

    
40
#cabankdatadir = $(bankinfodatadir)/ca
41
#cabankdata_DATA = $(ca_files)
42

    
43
de.tar.bz2:
44
	$MKDEINFO build data/de/blz.csv data/de/fints_institute.csv tmp.banks
45
	test -d de || mkdir -p de
46
	if test -f data/de/aux.conf; then \
47
	  $MKDEINFO update tmp.banks data/de/aux.conf tmp.banks; \
48
	fi
49
	$MKDEINFO install tmp.banks de
50
	tar cf de.tar de && bzip2 -9 de.tar
51
	rm -rf tmp.banks
52

    
53
$(de_files): de_files_tmp
54

    
55
de_files_tmp: de.tar.bz2
56
	test -d de || mkdir -p de
57
	bunzip2 -k -c $< | tar xmf -
58
	touch $@
59

    
60
.INTERMEDIATE: de_files_tmp
61

    
62
bankdata: $(de_files)
63

    
64
all-local: bankdata
65

    
66
dist-local: de.tar.bz2
67

    
68
CLEANFILES = $(at_files) $(ch_files) $(de_files) $(ca_files) $(us_files)
69

    
70
sources:
71
	for f in $(libbankinfo_la_SOURCES); do \
72
	  echo $(subdir)/$$f >>$(top_srcdir)/i18nsources; \
73
	done
74

    
75

    
76
cppcheck:
77
	for f in $(libbankinfo_la_SOURCES); do \
78
	  cppcheck --force $$f ; \
79
	done
80
	for d in $(SUBDIRS); do \
81
	  $(MAKE) -C $$d cppcheck; \
82
	done
83

    
84

    
85