Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (1.92 KB)

1
SUBDIRS=pintan
2

    
3

    
4
AM_CFLAGS=-DBUILDING_AQBANKING @visibility_cflags@
5

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

    
12

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

    
15

    
16
noinst_LTLIBRARIES=libaqfintssession.la
17

    
18

    
19
typefiles=
20

    
21

    
22

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

    
26

    
27

    
28
built_sources=
29

    
30

    
31
build_headers_priv=
32

    
33

    
34

    
35
build_headers_pub=
36

    
37

    
38

    
39

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

    
42

    
43

    
44
noinst_HEADERS= $(build_headers)
45

    
46

    
47

    
48
libaqfintssession_la_SOURCES=$(built_sources) \
49
  session.c \
50
  s_getanonbpd.c \
51
  s_message.c
52

    
53

    
54

    
55
#libaqfintssession_la_LIBADD=
56

    
57

    
58

    
59
EXTRA_DIST=$(typefiles) $(built_sources) $(build_headers)
60

    
61

    
62

    
63
built_sources: $(built_sources)
64
	list='$(SUBDIRS)'; for d in $$list; do \
65
	  $(MAKE) -C $$d built_sources; \
66
	done ;
67

    
68
clean_build_files:
69
	rm -f $(built_sources) $(build_headers)
70

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

    
76

    
77
sources:
78
	for f in $(libaqfintssession_la_SOURCES) $(EXTRA_DIST); do \
79
	  echo $(subdir)/$$f >>$(top_srcdir)/i18nsources; \
80
	done
81
	for d in $(SUBDIRS); do \
82
	  $(MAKE) -C $$d sources; \
83
	done
84

    
85

    
86
types: $(typefiles)
87
	$(typemaker2_exe) -I $(top_srcdir)/src/libs/aqbanking/typemaker2/c -I $(srcdir) -I $(srcdir)../msglayer/parser -I $(srcdir)/../typemaker2 --destfolder="$(srcdir)" $(typefiles)
88

    
89

    
90

    
91
cppcheck:
92
	for f in $(libaqfintssession_la_SOURCES); do \
93
	  cppcheck --force $$f ; \
94
	done
95
	for d in $(SUBDIRS); do \
96
	  $(MAKE) -C $$d cppcheck; \
97
	done
98

    
99