Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (2.23 KB)

1

    
2
AM_CFLAGS=-DBUILDING_AQBANKING @visibility_cflags@
3

    
4
INCLUDES = -I$(top_srcdir)/src/libs -I$(top_builddir)/src/libs $(gwenhywfar_includes) \
5
  -I$(srcdir)/../../.. \
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=libafmsgupd.la
16

    
17

    
18
typefiles= \
19
  updjob.xml \
20
  accountdata.xml \
21
  userdata.xml
22

    
23

    
24

    
25
fintsdatadir=$(aqbanking_pkgdatadir)/backends/aqfints
26
fintsdata_DATA=\
27
  upd.fints
28

    
29

    
30

    
31

    
32

    
33
typedatadir=$(datadir)/aqbanking/typemaker2/c
34
dist_typedata_DATA=
35

    
36

    
37

    
38
built_sources=\
39
  updjob.c \
40
  accountdata.c \
41
  userdata.c \
42
  upd_read.c
43

    
44

    
45
build_headers_priv=\
46
  updjob_p.h \
47
  accountdata_p.h \
48
  userdata_p.h
49

    
50

    
51
build_headers_pub=\
52
  updjob.h \
53
  accountdata.h \
54
  userdata.h \
55
  upd_read.h
56

    
57

    
58

    
59
build_headers=$(build_headers_priv) $(build_headers_pub)
60

    
61

    
62

    
63
noinst_HEADERS= $(build_headers)
64

    
65

    
66
libafmsgupd_la_SOURCES= $(built_sources)
67

    
68

    
69

    
70

    
71

    
72
EXTRA_DIST=$(typefiles) $(built_sources) $(build_headers)
73

    
74

    
75

    
76
built_sources: $(built_sources)
77
	list='$(SUBDIRS)'; for d in $$list; do \
78
	  $(MAKE) -C $$d built_sources; \
79
	done ;
80

    
81
clean_build_files:
82
	rm -f $(built_sources) $(build_headers)
83

    
84
format_built_files:
85
	for f in $(built_sources) $(build_headers); do \
86
	  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; \
87
	done
88

    
89

    
90
sources:
91
	for f in $(libafmsgupd_la_SOURCES) $(EXTRA_DIST); do \
92
	  echo $(subdir)/$$f >>$(top_srcdir)/i18nsources; \
93
	done
94
	for d in $(SUBDIRS); do \
95
	  $(MAKE) -C $$d sources; \
96
	done
97

    
98

    
99
types: $(typefiles) typedefs
100
	$(typemaker2_exe) -I $(top_srcdir)/src/libs/aqbanking/typemaker2/c -I $(srcdir) --destfolder="$(srcdir)" $(typefiles)
101

    
102

    
103
typedefs: $(typefiles)
104
	$(typemaker2_exe) --defs-only -I $(top_srcdir)/src/libs/aqbanking/typemaker2/c -I $(srcdir) --destfolder="$(srcdir)" $(typefiles)
105

    
106

    
107

    
108
cppcheck:
109
	for f in $(libafmsgupd_la_SOURCES); do \
110
	  cppcheck --force $$f ; \
111
	done
112
	for d in $(SUBDIRS); do \
113
	  $(MAKE) -C $$d cppcheck; \
114
	done
115

    
116