Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

aqbanking / src / libs / plugins / backends / aqfints / servicelayer / bpd / Makefile.am @ 8681a37c

History | View | Annotate | Download (2.36 KB)

1

    
2
AM_CFLAGS=-DBUILDING_AQBANKING @visibility_cflags@
3

    
4
INCLUDES = -I$(top_srcdir)/src/libs -I$(top_builddir)/src/libs $(gwenhywfar_includes) \
5
  -I$(srcdir)/../../.. \
6
  -I$(srcdir)/../.. \
7
  -I$(srcdir)/.. \
8
  -I$(aqbanking_symlinkdir) $(all_includes) \
9
  -I$(top_srcdir)/src/libs/aqbanking
10

    
11

    
12
DEFS+=-DAH_XMLDATADIR=\"$(aqbanking_data_searchdir)/aqbanking/backends/aqfints\"
13

    
14

    
15
noinst_LTLIBRARIES=libafmsgbpd.la
16

    
17

    
18
typefiles= \
19
  tanjobinfo.xml \
20
  taninfo.xml \
21
  tanmethod.xml \
22
  bankdata.xml \
23
  bpdjob.xml \
24
  bpdaddrservice.xml \
25
  bpdaddr.xml \
26
  bpd.xml
27

    
28

    
29

    
30
fintsdatadir=$(aqbanking_pkgdatadir)/backends/aqfints
31
fintsdata_DATA=\
32
  bpd.fints
33

    
34

    
35

    
36

    
37

    
38
typedatadir=$(datadir)/aqbanking/typemaker2/c
39
dist_typedata_DATA=
40

    
41

    
42

    
43
built_sources=\
44
  bankdata.c \
45
  bpdjob.c \
46
  bpd.c \
47
  bpdaddrservice.c \
48
  bpdaddr.c \
49
  tanjobinfo.c \
50
  taninfo.c \
51
  tanmethod.c
52

    
53

    
54
build_headers_priv=\
55
  bankdata_p.h \
56
  bpdjob_p.h \
57
  bpd_p.h \
58
  bpdaddrservice_p.h \
59
  bpdaddr_p.h \
60
  tanjobinfo_p.h \
61
  taninfo_p.h \
62
  tanmethod_p.h
63

    
64

    
65
build_headers_pub=\
66
  bankdata.h \
67
  bpdjob.h \
68
  bpd.h \
69
  bpdaddrservice.h \
70
  bpdaddr.h \
71
  tanjobinfo.h \
72
  taninfo.h \
73
  tanmethod.h
74

    
75

    
76

    
77
build_headers=$(build_headers_priv) $(build_headers_pub)
78

    
79

    
80

    
81
noinst_HEADERS= $(build_headers)
82

    
83

    
84
libafmsgbpd_la_SOURCES= $(built_sources) \
85
  bpd_read.c
86

    
87

    
88

    
89

    
90

    
91
EXTRA_DIST=$(typefiles) $(built_sources) $(build_headers)
92

    
93

    
94

    
95
built_sources: $(built_sources)
96
	list='$(SUBDIRS)'; for d in $$list; do \
97
	  $(MAKE) -C $$d built_sources; \
98
	done ;
99

    
100
clean_build_files:
101
	rm -f $(built_sources) $(build_headers)
102

    
103
format_built_files:
104
	for f in $(built_sources) $(build_headers); do \
105
	  astyle --style=stroustrup -s2 --min-conditional-indent=0 --indent-labels --max-continuation-indent=80 --pad-comma --pad-header --unpad-paren --align-pointer=name --break-closing-braces --break-one-line-headers --attach-return-type --convert-tabs --max-code-length=120 --break-after-logical --suffix=none $$f; \
106
	done
107

    
108

    
109
sources:
110
	for f in $(libafmsgbpd_la_SOURCES) $(EXTRA_DIST); do \
111
	  echo $(subdir)/$$f >>$(top_srcdir)/i18nsources; \
112
	done
113
	for d in $(SUBDIRS); do \
114
	  $(MAKE) -C $$d sources; \
115
	done
116

    
117

    
118
types: $(typefiles)
119
	$(typemaker2_exe) -I $(top_srcdir)/src/libs/aqbanking/typemaker2/c -I $(srcdir) --destfolder="$(srcdir)" $(typefiles)
120

    
121

    
122

    
123
cppcheck:
124
	for f in $(libafmsgbpd_la_SOURCES); do \
125
	  cppcheck --force $$f ; \
126
	done
127
	for d in $(SUBDIRS); do \
128
	  $(MAKE) -C $$d cppcheck; \
129
	done
130

    
131