Project

General

Profile

Download (3.71 KB) Statistics
| Branch: | Tag: | Revision:

aqbanking / src / libs / aqbanking / types2 / Makefile.am @ ef63ee14

1
#SUBDIRS=typemaker2
2

    
3

    
4
INCLUDES = -I$(srcdir)/.. \
5
  -I$(aqbanking_symlinkdir) $(gwenhywfar_includes)
6

    
7
AM_CFLAGS=-DBUILDING_AQBANKING @visibility_cflags@
8

    
9

    
10
noinst_LTLIBRARIES=libabtypes2.la
11

    
12

    
13

    
14
typefiles=\
15
  transaction.xml \
16
  transactionlimits.xml \
17
  bankinfoservice.xml \
18
  bankinfo.xml \
19
  document.xml \
20
  message.xml \
21
  balance.xml \
22
  accstatus.xml \
23
  imexporter_accountinfo.xml \
24
  imexporter_context.xml \
25
  account_spec.xml
26

    
27

    
28
typedatadir=$(datadir)/aqbanking/typemaker2/c
29
dist_typedata_DATA=\
30
  ab_transaction.tm2 ab_transaction_list.tm2 ab_transaction_list2.tm2 \
31
  ab_bankinfo_service.tm2 ab_bankinfo_service_list.tm2 ab_bankinfo_service_list2.tm2 \
32
  ab_bankinfo.tm2 ab_bankinfo_list.tm2 ab_bankinfo_list2.tm2 \
33
  ab_document.tm2 ab_document_list.tm2 ab_document_list2.tm2 \
34
  ab_message.tm2 ab_message_list.tm2 ab_message_list2.tm2 \
35
  ab_security.tm2 ab_security_list.tm2 ab_security_list2.tm2 \
36
  ab_balance.tm2 \
37
  ab_account_status.tm2 ab_account_status_list.tm2 ab_account_status_list2.tm2 \
38
  ab_imexporter_accountinfo.tm2 ab_imexporter_accountinfo_list.tm2 ab_imexporter_accountinfo_list2.tm2 \
39
  ab_imexporter_context.tm2 ab_imexporter_context_list.tm2 ab_imexporter_context_list2.tm2 \
40
  ab_account_spec.tm2 ab_account_spec_list.tm2 ab_account_spec_list2.tm2
41

    
42

    
43

    
44
built_sources=  \
45
  transaction.c \
46
  transactionlimits.c \
47
  bankinfoservice.c \
48
  bankinfo.c \
49
  document.c \
50
  message.c \
51
  security.c \
52
  balance.c \
53
  accstatus.c \
54
  imexporter_accountinfo.c \
55
  imexporter_context.c \
56
  account_spec.c
57

    
58

    
59
build_headers_priv= \
60
  transaction_p.h   \
61
  transactionlimits_p.h \
62
  bankinfoservice_p.h \
63
  bankinfo_p.h \
64
  document_p.h \
65
  message_p.h \
66
  security_p.h \
67
  balance_p.h \
68
  accstatus_p.h \
69
  imexporter_accountinfo_p.h \
70
  imexporter_context_p.h \
71
  account_spec_p.h
72

    
73

    
74
build_headers_pub= \
75
  transaction.h    \
76
  transactionlimits.h \
77
  bankinfoservice.h \
78
  bankinfo.h \
79
  document.h \
80
  message.h \
81
  security.h \
82
  balance.h \
83
  accstatus.h \
84
  imexporter_accountinfo.h \
85
  imexporter_context.h \
86
  account_spec.h
87

    
88

    
89

    
90
build_headers=$(build_headers_priv) $(build_headers_pub)
91

    
92

    
93
libabtypes2_la_SOURCES=$(built_sources)
94

    
95

    
96
iheaderdir=@aqbanking_headerdir_am@/aqbanking
97
iheader_HEADERS=$(build_headers_pub)
98

    
99

    
100
noinst_HEADERS=$(build_headers_priv)
101

    
102

    
103

    
104
EXTRA_DIST=$(typefiles) $(built_sources) $(build_headers)
105

    
106

    
107

    
108
build_sources: $(built_sources)
109
	list='$(SUBDIRS)'; for d in $$list; do \
110
	  $(MAKE) -C $$d build_sources; \
111
	done ;
112

    
113
clean_build_files:
114
	rm -f $(built_sources) $(build_headers)
115

    
116
format_build_files:
117
	for f in $(built_sources) $(build_headers); do \
118
	  astyle --style=linux -s2 --min-conditional-indent=0 --indent-labels --pad-oper --suffix=none $$f; \
119
	done
120

    
121
sources:
122
	for f in $(libabtypes2_la_SOURCES) $(EXTRA_DIST); do \
123
	  echo $(subdir)/$$f >>$(top_srcdir)/i18nsources; \
124
	done
125
	for d in $(SUBDIRS); do \
126
	  $(MAKE) -C $$d sources; \
127
	done
128

    
129

    
130

    
131

    
132
#%.c: %.xml
133
#	typemaker2 -I $(top_srcdir)/src/libs/aqbanking/typemaker2/c -I $(top_srcdir)/src/libs/aqbanking/types2 -I $(srcdir) -I $(AQDATABASE_TYPEMAKERDIR)/c --destfolder="$(srcdir)" -D AQBANKING_API  $<
134

    
135
#%.h: %.xml
136
#	typemaker2 -I $(top_srcdir)/src/libs/aqbanking/typemaker2/c -I $(top_srcdir)/src/libs/aqbanking/types2 -I $(srcdir) -I $(AQDATABASE_TYPEMAKERDIR)/c --destfolder="$(srcdir)" -D AQBANKING_API  $<
137

    
138

    
139
#SUFFIXES = .xml .c
140

    
141

    
142
types: $(typefiles)
143
	typemaker2 -I $(top_srcdir)/src/libs/aqbanking/typemaker2/c -I $(top_srcdir)/src/libs/aqbanking/types2 -I $(srcdir) -I $(AQDATABASE_TYPEMAKERDIR)/c --destfolder="$(srcdir)" -D AQBANKING_API $(typefiles)
144

    
145
typedefs: $(typefiles)
146
	typemaker2 --defs-only -I $(top_srcdir)/src/libs/aqbanking/typemaker2/c -I $(top_srcdir)/src/libs/aqbanking/types2 -I $(srcdir) -I $(AQDATABASE_TYPEMAKERDIR)/c --destfolder="$(srcdir)" -D AQBANKING_API $(typefiles)
147

    
148