@@ -89,15 +89,10 @@ SOURCES_ML = \
89
89
builder.ml
90
90
91
91
SOURCES_C = \
92
- ../mllib/dev_t-c.c \
93
- ../mllib/fsync-c.c \
94
- ../mllib/getopt-c.c \
95
- ../mllib/uri-c.c \
96
- ../mllib/mkdtemp-c.c \
97
92
../customize/perl_edit-c.c \
98
93
../customize/crypt-c.c \
99
- ../fish/uri.c \
100
94
../fish/file-edit.c \
95
+ ../fish/file-edit.h \
101
96
index-scan.c \
102
97
index-struct.c \
103
98
index-parse.c \
@@ -133,21 +128,6 @@ virt_builder_CFLAGS = \
133
128
$(YAJL_CFLAGS )
134
129
135
130
BOBJECTS = \
136
- $(OCAML_BYTES_COMPAT_CMO ) \
137
- $(top_builddir ) /mllib/libdir.cmo \
138
- $(top_builddir ) /mllib/guestfs_config.cmo \
139
- $(top_builddir ) /mllib/common_gettext.cmo \
140
- $(top_builddir ) /mllib/dev_t.cmo \
141
- $(top_builddir ) /mllib/stringMap.cmo \
142
- $(top_builddir ) /mllib/getopt.cmo \
143
- $(top_builddir ) /mllib/common_utils.cmo \
144
- $(top_builddir ) /mllib/fsync.cmo \
145
- $(top_builddir ) /mllib/planner.cmo \
146
- $(top_builddir ) /mllib/regedit.cmo \
147
- $(top_builddir ) /mllib/JSON.cmo \
148
- $(top_builddir ) /mllib/URI.cmo \
149
- $(top_builddir ) /mllib/mkdtemp.cmo \
150
- $(top_builddir ) /mllib/curl.cmo \
151
131
$(top_builddir ) /customize/customize_utils.cmo \
152
132
$(top_builddir ) /customize/urandom.cmo \
153
133
$(top_builddir ) /customize/random_seed.cmo \
@@ -199,11 +179,11 @@ OCAMLFLAGS = $(OCAML_FLAGS) $(OCAML_WARN_ERROR)
199
179
if !HAVE_OCAMLOPT
200
180
OBJECTS = $(BOBJECTS )
201
181
BEST = c
202
- OCAMLLINKFLAGS = mlguestfs.cma -custom
182
+ OCAMLLINKFLAGS = mlguestfs.cma mllib.cma -custom
203
183
else
204
184
OBJECTS = $(XOBJECTS )
205
185
BEST = opt
206
- OCAMLLINKFLAGS = mlguestfs.cmxa
186
+ OCAMLLINKFLAGS = mlguestfs.cmxa mllib.cmxa
207
187
endif
208
188
209
189
virt_builder_DEPENDENCIES = $(OBJECTS ) $(top_srcdir ) /ocaml-link.sh
0 commit comments