Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

aqbanking / src / libs / plugins / backends / aqofxconnect / libofxhome / Makefile.am @ 8681a37c

History | View | Annotate | Download (2.36 KB)

1
INCLUDES = -I$(top_srcdir)/src/libs -I$(top_builddir)/src/libs $(gwenhywfar_includes) -I$(srcdir)/../../ -I$(srcdir)/..
2

    
3
AM_CFLAGS=-DBUILDING_AQBANKING @visibility_cflags@
4

    
5

    
6
typefiles=\
7
 oh_institute_data.xml \
8
 oh_institute_spec.xml
9

    
10

    
11
#typedatadir=$(datadir)/aqbanking/aqofxconnect/typemaker2/c
12
#nodist_typedata_DATA=\
13
#  oh_institute_data.tm2 oh_institute_data_list.tm2 oh_institute_data_list2.tm2 \
14
#  oh_institute_spec.tm2 oh_institute_spec_list.tm2 oh_institute_spec_list2.tm2
15

    
16

    
17
dlgdatadir=$(aqbanking_pkgdatadir)/backends/aqofxconnect/dialogs
18
dlgdata_DATA=\
19
  dlg_getinst.dlg
20

    
21

    
22
build_sources= \
23
 oh_institute_data.c \
24
 oh_institute_spec.c
25

    
26
build_headers_priv= \
27
 oh_institute_data_p.h \
28
 oh_institute_spec_p.h
29

    
30

    
31
build_headers_pub= \
32
 oh_institute_data.h \
33
 oh_institute_spec.h
34

    
35
build_headers=$(build_headers_priv) $(build_headers_pub)
36

    
37

    
38
noinst_HEADERS=$(build_headers_priv) $(build_headers_pub) \
39
  ofxhome_p.h \
40
  dlg_getinst_p.h \
41
  oh_institute_data_fns.h \
42
  oh_institute_spec_fns.h \
43
  ofxhome.h \
44
  dlg_getinst.h
45

    
46

    
47

    
48
#iheaderdir=@aqbanking_headerdir_am@/aqofxconnect
49
#iheader_HEADERS=
50

    
51

    
52
noinst_LTLIBRARIES=libofxhome.la
53
libofxhome_la_SOURCES= $(build_sources) \
54
  ofxhome.c \
55
  dlg_getinst.c
56

    
57

    
58
EXTRA_DIST=\
59
 oh_institute_data_fns.c \
60
 oh_institute_spec_fns.c \
61
  $(typefiles) $(dlgdata_DATA) $(dlgimage_DATA) $(build_sources) $(build_headers)
62

    
63

    
64
built_sources: $(build_sources)
65

    
66

    
67

    
68
sources:
69
	for f in $(libofxhome_la_SOURCES); do \
70
	  echo $(subdir)/$$f >>$(top_srcdir)/i18nsources; \
71
	done
72
	for f in $(dlgdata_DATA); do \
73
	  echo $(subdir)/$$f >>$(top_srcdir)/dlgsources; \
74
	done
75
	for d in $(SUBDIRS); do \
76
	  $(MAKE) -C $$d sources; \
77
	done
78

    
79

    
80

    
81
#%.c: %.xml
82
#	$(gwenhywfar_bindir)/typemaker2 -I $(top_srcdir)/src/lib/typemaker2/c -I $(srcdir) --destfolder="$(srcdir)" -D AQOFXCONNECT_API  $<
83
#
84
#%.h: %.xml
85
#	$(gwenhywfar_bindir)/typemaker2 -I $(top_srcdir)/src/lib/typemaker2/c -I $(srcdir) --destfolder="$(srcdir)" -D AQOFXCONNECT_API  $<
86

    
87
#SUFFIXES = .xml .c
88

    
89

    
90
cppcheck:
91
	for f in $(libofxhome_la_SOURCES); do \
92
	  cppcheck --force $$f ; \
93
	done
94
	for d in $(SUBDIRS); do \
95
	  $(MAKE) -C $$d cppcheck; \
96
	done
97

    
98

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

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