Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (2 KB)

1
#SUBDIRS=
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=libaqfintstransport.la
16

    
17

    
18
typefiles=\
19
  transport.xml
20

    
21

    
22

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

    
26

    
27

    
28
built_sources=\
29
  transport.c
30

    
31

    
32
build_headers_priv=\
33
  transport_p.h
34

    
35

    
36

    
37
build_headers_pub=\
38
  transport.h
39

    
40

    
41

    
42

    
43
build_headers=$(build_headers_priv) $(build_headers_pub)
44

    
45

    
46

    
47
noinst_HEADERS= $(build_headers) \
48
  transportssl.h \
49
  transportssl_p.h \
50
  transporthbci.h \
51
  transporthbci_p.h
52

    
53

    
54

    
55
libaqfintstransport_la_SOURCES=$(built_sources) \
56
  transportssl.c \
57
  transporthbci.c
58

    
59

    
60

    
61
#libaqfintstransport_la_LIBADD=
62

    
63

    
64

    
65
EXTRA_DIST=$(typefiles) $(built_sources) $(build_headers)
66

    
67

    
68

    
69
built_sources: $(built_sources)
70
	list='$(SUBDIRS)'; for d in $$list; do \
71
	  $(MAKE) -C $$d built_sources; \
72
	done ;
73

    
74
clean_build_files:
75
	rm -f $(built_sources) $(build_headers)
76

    
77
format_built_files:
78
	for f in $(built_sources) $(build_headers); do \
79
	  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; \
80
	done
81

    
82

    
83
sources:
84
	for f in $(libaqfintstransport_la_SOURCES) $(EXTRA_DIST); do \
85
	  echo $(subdir)/$$f >>$(top_srcdir)/i18nsources; \
86
	done
87
	for d in $(SUBDIRS); do \
88
	  $(MAKE) -C $$d sources; \
89
	done
90

    
91

    
92
types: $(typefiles)
93
	$(typemaker2_exe) -I $(top_srcdir)/src/libs/aqbanking/typemaker2/c -I $(srcdir) --destfolder="$(srcdir)" $(typefiles)
94

    
95

    
96

    
97
cppcheck:
98
	for f in $(libaqfintstransport_la_SOURCES); do \
99
	  cppcheck --force $$f ; \
100
	done
101
	for d in $(SUBDIRS); do \
102
	  $(MAKE) -C $$d cppcheck; \
103
	done
104

    
105