Fix connection close.
[wrappi.git] / generator-lib / Makefile.am
index 299ae04..f502f2d 100644 (file)
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
-OCAMLCFLAGS = -g -warn-error CDEFLMPSUVYZX -I +camlp4
+OCAMLPACKAGES = -package unix,camlp4.lib
+
+OCAMLCFLAGS = \
+       -g -warn-error CDEFLMPSUVYZX \
+       $(OCAMLPACKAGES)
 OCAMLOPTFLAGS = $(OCAMLCFLAGS)
 
 # In alphabetical order.
 SOURCES = \
        config.ml \
-       wrappi_globals.mli \
-       wrappi_globals.ml
+       wrappi_accumulator.mli \
+       wrappi_accumulator.ml \
        wrappi_types.mli \
-       wrappi_types.ml
+       wrappi_types.ml \
+       wrappi_utils.mli \
+       wrappi_utils.ml
 
 # In dependency order.
 OBJECTS = \
        config.cmo \
+       wrappi_utils.cmo \
        wrappi_types.cmo \
-       wrappi_globals.cmo
+       wrappi_accumulator.cmo
 
 noinst_SCRIPTS = generator_lib.cma