Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (1.84 KB)

1
SUBDIRS=xml bpd upd
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=libaqfintsservice.la
16

    
17

    
18
typefiles=
19

    
20

    
21

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

    
25

    
26

    
27
built_sources=
28
build_headers_priv=
29
build_headers_pub=
30

    
31

    
32
build_headers=$(build_headers_priv) $(build_headers_pub)
33

    
34

    
35

    
36
noinst_HEADERS= $(build_headers)
37

    
38

    
39
libaqfintsservice_la_SOURCES=dummy.c
40

    
41

    
42

    
43
libaqfintsservice_la_LIBADD=\
44
  bpd/libafmsgbpd.la \
45
  upd/libafmsgupd.la
46

    
47

    
48

    
49
EXTRA_DIST=$(typefiles) $(built_sources) $(build_headers)
50

    
51

    
52

    
53
built_sources: $(built_sources)
54
	list='$(SUBDIRS)'; for d in $$list; do \
55
	  $(MAKE) -C $$d built_sources; \
56
	done ;
57

    
58
clean_build_files:
59
	rm -f $(built_sources) $(build_headers)
60

    
61
format_built_files:
62
	for f in $(built_sources) $(build_headers); do \
63
	  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; \
64
	done
65

    
66

    
67
sources:
68
	for f in $(libaqfintsservice_la_SOURCES) $(EXTRA_DIST); do \
69
	  echo $(subdir)/$$f >>$(top_srcdir)/i18nsources; \
70
	done
71
	for d in $(SUBDIRS); do \
72
	  $(MAKE) -C $$d sources; \
73
	done
74

    
75

    
76
types: $(typefiles)
77
	$(typemaker2_exe) -I $(top_srcdir)/src/libs/aqbanking/typemaker2/c -I $(srcdir) --destfolder="$(srcdir)" $(typefiles)
78

    
79

    
80

    
81
cppcheck:
82
	for f in $(libaqfintsservice_la_SOURCES); do \
83
	  cppcheck --force $$f ; \
84
	done
85
	for d in $(SUBDIRS); do \
86
	  $(MAKE) -C $$d cppcheck; \
87
	done
88

    
89