Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

aqbanking / src / libs / plugins / backends / aqfints / msglayer / parser / Makefile.am @ 8681a37c

History | View | Annotate | Download (2.31 KB)

1 d3744d40 Martin Preuss
2 8681a37c Martin Preuss
AM_CFLAGS=-DBUILDING_AQBANKING @visibility_cflags@
3 d3744d40 Martin Preuss
4
INCLUDES = -I$(top_srcdir)/src/libs -I$(top_builddir)/src/libs $(gwenhywfar_includes) \
5
  -I$(srcdir)/../.. \
6
  -I$(srcdir)/.. \
7
  -I$(aqbanking_symlinkdir) $(all_includes) \
8
  -I$(top_srcdir)/src/libs/aqbanking
9
10
11
DEFS+=-DAH_XMLDATADIR=\"$(aqbanking_data_searchdir)/aqbanking/backends/aqhbci\"
12
13
14
noinst_LTLIBRARIES=libafmsgparser.la
15
16
17
typefiles=\
18
  element.xml \
19 f9a92495 Martin Preuss
  segment.xml \
20
  jobdef.xml
21 d3744d40 Martin Preuss
22
23
24
typedatadir=$(datadir)/aqbanking/typemaker2/c
25
dist_typedata_DATA=\
26 f9a92495 Martin Preuss
  aqfints_element.tm2 aqfints_element_tree2.tm2 \
27
  aqfints_segment.tm2 aqfints_segment_list.tm2 \
28
  aqfints_jobdef.tm2 aqfints_jobdef_list.tm2
29 d3744d40 Martin Preuss
30
31
32
built_sources=  \
33
  element.c \
34 f9a92495 Martin Preuss
  segment.c \
35
  jobdef.c
36 d3744d40 Martin Preuss
37
38
build_headers_priv= \
39
  element_p.h \
40
  segment_p.h
41
42
43
build_headers_pub= \
44
  element.h \
45 f9a92495 Martin Preuss
  segment.h \
46
  jobdef.h
47 d3744d40 Martin Preuss
48
49
build_headers=$(build_headers_priv) $(build_headers_pub)
50
51
52
53
noinst_HEADERS= $(build_headers)
54
55
56
libafmsgparser_la_SOURCES= $(built_sources) \
57
  parser.c \
58
  parser_xml.c \
59
  parser_normalize.c \
60
  parser_dump.c \
61
  parser_hbci.c \
62 5f9dc0da Martin Preuss
  parser_dbread.c \
63 0bd0699c Martin Preuss
  parser_dbwrite.c \
64
  parser_internal.c
65 d3744d40 Martin Preuss
66
67
68
noinst_PROGRAMS = libtest
69
70
71
libtest_SOURCES = libtest.c
72
libtest_LDADD = libafmsgparser.la $(gwenhywfar_libs)
73
74
75
76
77
EXTRA_DIST=$(typefiles) $(built_sources) $(build_headers)
78
79
80
81
built_sources: $(built_sources)
82
	list='$(SUBDIRS)'; for d in $$list; do \
83
	  $(MAKE) -C $$d built_sources; \
84
	done ;
85
86
clean_build_files:
87
	rm -f $(built_sources) $(build_headers)
88
89
format_built_files:
90
	for f in $(built_sources) $(build_headers); do \
91
	  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; \
92
	done
93
94
95
sources:
96
	for f in $(libafmsgparser_la_SOURCES) $(EXTRA_DIST); do \
97
	  echo $(subdir)/$$f >>$(top_srcdir)/i18nsources; \
98
	done
99
	for d in $(SUBDIRS); do \
100
	  $(MAKE) -C $$d sources; \
101
	done
102
103
104
types: $(typefiles)
105
	$(typemaker2_exe) -I $(top_srcdir)/src/libs/aqbanking/typemaker2/c -I $(srcdir) --destfolder="$(srcdir)" $(typefiles)
106
107
108
109
cppcheck:
110
	for f in $(libafmsgparser_la_SOURCES); do \
111
	  cppcheck --force $$f ; \
112
	done
113
	for d in $(SUBDIRS); do \
114
	  $(MAKE) -C $$d cppcheck; \
115
	done
116