Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (1.88 KB)

1
SUBDIRS=parser
2

    
3
AM_CFLAGS=-DBUILDING_AQBANKING @visibility_cflags@
4

    
5
INCLUDES = -I$(top_srcdir)/src/libs -I$(top_builddir)/src/libs $(gwenhywfar_includes) \
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/aqhbci\"
13

    
14

    
15
noinst_LTLIBRARIES=libaqfintsmsg.la
16

    
17

    
18
typefiles=\
19
  keyname.xml
20

    
21

    
22

    
23
typedatadir=$(datadir)/aqbanking/typemaker2/c
24
dist_typedata_DATA=
25

    
26

    
27

    
28
built_sources=\
29
  keyname.c
30

    
31

    
32
build_headers_priv=\
33
  keyname_p.h
34

    
35

    
36
build_headers_pub=\
37
  keyname.h
38

    
39

    
40
build_headers=$(build_headers_priv) $(build_headers_pub)
41

    
42

    
43

    
44
noinst_HEADERS= $(build_headers)
45

    
46

    
47
libaqfintsmsg_la_SOURCES=$(built_sources) \
48
  message.c
49

    
50

    
51

    
52
libaqfintsmsg_la_LIBADD=parser/libafmsgparser.la
53

    
54

    
55

    
56
EXTRA_DIST=$(typefiles) $(built_sources) $(build_headers)
57

    
58

    
59

    
60
built_sources: $(built_sources)
61
	list='$(SUBDIRS)'; for d in $$list; do \
62
	  $(MAKE) -C $$d built_sources; \
63
	done ;
64

    
65
clean_build_files:
66
	rm -f $(built_sources) $(build_headers)
67

    
68
format_built_files:
69
	for f in $(built_sources) $(build_headers); do \
70
	  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; \
71
	done
72

    
73

    
74
sources:
75
	for f in $(libaqfintsmsg_la_SOURCES) $(EXTRA_DIST); do \
76
	  echo $(subdir)/$$f >>$(top_srcdir)/i18nsources; \
77
	done
78
	for d in $(SUBDIRS); do \
79
	  $(MAKE) -C $$d sources; \
80
	done
81

    
82

    
83
types: $(typefiles)
84
	$(typemaker2_exe) -I $(top_srcdir)/src/libs/aqbanking/typemaker2/c -I $(srcdir) --destfolder="$(srcdir)" $(typefiles)
85

    
86

    
87

    
88
cppcheck:
89
	for f in $(libaqfintsmsg_la_SOURCES); do \
90
	  cppcheck --force $$f ; \
91
	done
92
	for d in $(SUBDIRS); do \
93
	  $(MAKE) -C $$d cppcheck; \
94
	done
95

    
96