1AM_CPPFLAGS = -I$(srcdir)/../.. -I$(srcdir)/.. -I$(top_builddir)/src/libs $(gwenhywfar_includes) 2 3AM_CFLAGS=-DBUILDING_AQBANKING @visibility_cflags@ 4 5 6typefiles= \ 7 accountqueue.xml \ 8 userqueue.xml \ 9 providerqueue.xml \ 10 jobqueue.xml \ 11 queue.xml \ 12 account.xml \ 13 user.xml \ 14 swiftdescr.xml 15 16 17 18typedatadir=$(aqbanking_pkgdatadir)/typemaker2/c 19dist_typedata_DATA=\ 20 ab_account.tm2 ab_account_list.tm2 ab_account_list2.tm2 \ 21 ab_accountqueue.tm2 ab_accountqueue_list.tm2 \ 22 ab_jobqueue.tm2 ab_jobqueue_list.tm2 \ 23 ab_providerqueue.tm2 ab_providerqueue_list.tm2 \ 24 ab_queue.tm2 \ 25 ab_user.tm2 ab_user_list.tm2 ab_user_list2.tm2 \ 26 ab_userqueue.tm2 ab_userqueue_list.tm2 \ 27 ab_swift_descr.tm2 ab_swift_descr_list.tm2 28 29 30# order is important here 31typedata_sources= \ 32 jobqueue.c \ 33 accountqueue.c \ 34 userqueue.c \ 35 providerqueue.c \ 36 queue.c \ 37 account.c \ 38 user.c \ 39 swiftdescr.c 40 41built_headers_priv= \ 42 accountqueue_p.h \ 43 userqueue_p.h \ 44 providerqueue_p.h \ 45 jobqueue_p.h \ 46 queue_p.h \ 47 account_p.h \ 48 user_p.h \ 49 swiftdescr_p.h 50 51built_headers_pub= \ 52 accountqueue.h \ 53 userqueue.h \ 54 providerqueue.h \ 55 jobqueue.h \ 56 queue.h \ 57 account.h \ 58 user.h \ 59 swiftdescr.h 60 61 62 63built_headers=$(built_headers_priv) $(built_headers_pub) 64 65 66#iheaderdir=@aqbanking_headerdir_am@/aqbanking 67#iheader_HEADERS=$(built_headers_pub) 68 69 70noinst_HEADERS= $(built_headers_pub)\ 71 siotlsext.h \ 72 httpsession.h \ 73 msgengine.h \ 74 provider.h \ 75 provider_be.h \ 76 bankinfoplugin.h \ 77 bankinfoplugin_be.h \ 78 siotlsext_p.h \ 79 httpsession_p.h \ 80 msgengine_p.h \ 81 provider_l.h \ 82 provider_p.h \ 83 bankinfoplugin_l.h \ 84 bankinfoplugin_p.h \ 85 imexporter_be.h \ 86 imexporter_l.h \ 87 imexporter_p.h \ 88 imexporter.h 89 90 91noinst_LTLIBRARIES=libabbesupport.la 92libabbesupport_la_SOURCES=$(typedata_sources) \ 93 siotlsext.c \ 94 httpsession.c \ 95 msgengine.c \ 96 provider.c \ 97 bankinfoplugin.c \ 98 imexporter.c 99 100 101extra_sources=\ 102 provider_account.c \ 103 provider_accspec.c \ 104 provider_user.c \ 105 provider_queues.c 106 107 108 109EXTRA_DIST=$(typefiles) $(typedata_sources) $(built_headers) $(extra_sources) 110 111 112 113MAINTAINERCLEANFILES = $(typedata_sources) $(built_headers) $(dist_typedata_DATA) 114 115 116 117built_sources: $(typedata_sources) 118 119 120typefiles: $(typefiles) 121 $(typemaker2_exe) -I $(top_srcdir)/src/libs/aqbanking/typemaker2/c -I $(gwenhywfar_dir)/share/gwenhywfar/typemaker2/c -I $(srcdir) -I $(srcdir)/../types --destfolder="$(srcdir)" $(typefiles) 122 123typedefs: $(typefiles) 124 $(typemaker2_exe) --defs-only -I $(top_srcdir)/src/libs/aqbanking/typemaker2/c -I $(gwenhywfar_dir)/share/gwenhywfar/typemaker2/c -I $(srcdir) -I $(srcdir)/../types --destfolder="$(srcdir)" $(typefiles) 125 126 127format_build_files: 128 for f in $(typedata_sources) $(built_headers); do \ 129 $(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; \ 130 done 131 132 133sources: $(typedata_sources) 134 for f in $(libabbesupport_la_SOURCES) $(extra_sources); do \ 135 echo $(subdir)/$$f >>$(top_srcdir)/i18nsources; \ 136 done 137 138 139cppcheck: 140 for f in $(libabbesupport_la_SOURCES); do \ 141 cppcheck --force $$f ; \ 142 done 143 144