ms_sbvar.am 3.02 KB
Newer Older
1
noinst_PROGRAMS = ms_sbvar_create_init_file ms_sbvar_command_line mex_ms_convert_free_parameters
2
3
4
5
6
7
8

DWSWITCHDIR = $(top_srcdir)/../../../ms-sbvar/switch_dw
DWUTILITIESDIR = $(top_srcdir)/../../../ms-sbvar/utilities_dw

DYNMEXSRCDIR = $(top_srcdir)/../../sources
MSMEXSRCDIR = $(DYNMEXSRCDIR)/ms-sbvar

9
CPPFLAGS += $(GSL_CPPFLAGS) -DSTRUCTURED_COLUMN_MAJOR -I$(DYNMEXSRCDIR) -I$(MSMEXSRCDIR) -I$(DWUTILITIESDIR)/include -I$(DWSWITCHDIR)/switching -I$(DWSWITCHDIR)/state_space -I$(DWSWITCHDIR)/state_space/sbvar
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

LIBS += $(GSL_LIBS)
LDFLAGS += $(GSL_LDFLAGS)

DWUTILS = \
	$(DWUTILITIESDIR)/arrays/dw_array.c \
	$(DWUTILITIESDIR)/arrays/dw_matrix_array.c \
	$(DWUTILITIESDIR)/ascii/dw_ascii.c \
	$(DWUTILITIESDIR)/ascii/dw_parse_cmd.c \
	$(DWUTILITIESDIR)/elliptical/dw_elliptical.c \
	$(DWUTILITIESDIR)/error/dw_error.c \
	$(DWUTILITIESDIR)/histogram/dw_histogram.c \
	$(DWUTILITIESDIR)/math/dw_math.c \
	$(DWUTILITIESDIR)/matrix/dw_matrix.c \
	$(DWUTILITIESDIR)/matrix/bmatrix.c \
	$(DWUTILITIESDIR)/sort/dw_matrix_sort.c \
	$(DWUTILITIESDIR)/stat/dw_rand_gsl.c \
	$(DWUTILITIESDIR)/stat/dw_matrix_rand.c

MSMEXSRC = \
	$(MSMEXSRCDIR)/mex_top_level.cc \
	$(MSMEXSRCDIR)/modify_for_mex.cc

Houtan Bastani's avatar
Houtan Bastani committed
33
nodist_ms_sbvar_create_init_file_SOURCES = \
34
35
36
37
38
39
40
41
42
43
44
	$(DWSWITCHDIR)/switching/dw_switch.c \
	$(DWSWITCHDIR)/switching/dw_switchio.c \
	$(DWSWITCHDIR)/switching/dw_dirichlet_restrictions.c \
	$(DWSWITCHDIR)/switching/dw_metropolis_theta.c \
	$(DWSWITCHDIR)/state_space/sbvar/create_init_file.c \
	$(DWSWITCHDIR)/state_space/sbvar/VARbase.c \
	$(DWSWITCHDIR)/state_space/sbvar/VARio.c \
	$(DWSWITCHDIR)/state_space/sbvar/VARio_matlab.c \
	$(DWUTILS) \
	$(MSMEXSRC)

Houtan Bastani's avatar
Houtan Bastani committed
45
nodist_ms_sbvar_command_line_SOURCES = \
46
47
48
49
50
51
52
53
54
55
56
57
58
	$(DWSWITCHDIR)/switching/dw_switch.c \
	$(DWSWITCHDIR)/switching/dw_switchio.c \
	$(DWSWITCHDIR)/switching/dw_dirichlet_restrictions.c \
	$(DWSWITCHDIR)/switching/dw_metropolis_theta.c \
	$(DWSWITCHDIR)/switching/dw_switch_opt.c \
	$(DWSWITCHDIR)/switching/dw_mdd_switch.c \
	$(DWSWITCHDIR)/state_space/sbvar/VARbase.c \
	$(DWSWITCHDIR)/state_space/sbvar/VARio.c \
	$(DWSWITCHDIR)/state_space/sbvar/dw_sbvar_command_line.c \
	$(DWSWITCHDIR)/state_space/sbvar/sbvar_estimate.c \
	$(DWSWITCHDIR)/state_space/sbvar/sbvar_simulate.c \
	$(DWSWITCHDIR)/state_space/sbvar/sbvar_probabilities.c \
	$(DWSWITCHDIR)/state_space/sbvar/sbvar_mdd.c \
59
	$(DWSWITCHDIR)/state_space/sbvar/sbvar_forecast.c \
60
	$(DWSWITCHDIR)/state_space/sbvar/sbvar_variance_decomposition.c \
61
	$(DWSWITCHDIR)/state_space/sbvar/sbvar_impulse_responses.c \
62
63
64
	$(DWSWITCHDIR)/state_space/sbvar/dw_csminwel.c \
	$(DWUTILS) \
	$(MSMEXSRC)
Houtan Bastani's avatar
Houtan Bastani committed
65

66
nodist_mex_ms_convert_free_parameters_SOURCES = \
Houtan Bastani's avatar
Houtan Bastani committed
67
	$(DWSWITCHDIR)/switching/dw_switch.c \
68
69
70
71
72
73
74
75
	$(DWSWITCHDIR)/switching/dw_switchio.c \
	$(DWSWITCHDIR)/switching/dw_dirichlet_restrictions.c \
	$(DWSWITCHDIR)/switching/dw_metropolis_theta.c \
	$(DWSWITCHDIR)/state_space/sbvar/VARbase.c \
	$(DWSWITCHDIR)/state_space/sbvar/VARio.c \
	$(DWSWITCHDIR)/state_space/sbvar/VARio_matlab.c \
	$(MSMEXSRCDIR)/mex_ms_convert_free_parameters.cc \
	$(MSMEXSRCDIR)/mex_ms_sbvar.cc \
Houtan Bastani's avatar
Houtan Bastani committed
76
	$(MSMEXSRCDIR)/modify_for_mex.cc \
77
	$(DWUTILS)