Separate out the parsing code into a separately defined module. *NOT WORKING*
[virt-mem.git] / extract / codegen / Makefile.in
index 85b2619..8054b55 100644 (file)
@@ -23,7 +23,8 @@ INSTALL               = @INSTALL@
 MKDIR_P                = @MKDIR_P@
 bindir         = @bindir@
 
-OCAMLCPACKAGES = -package extlib,pcre,unix,camlp4,bitstring.syntax -syntax bitstring.syntax
+#OCAMLCPACKAGES        = -package extlib,pcre,unix,camlp4,bitstring.syntax -syntax bitstring.syntax
+OCAMLCPACKAGES = -package extlib,pcre,unix,camlp4,bitstring -pp camlp4of
 
 OCAMLCFLAGS    = @OCAMLCFLAGS@
 OCAMLCLIBS     = -linkpkg camlp4lib.cma
@@ -34,7 +35,7 @@ OCAMLOPTLIBS  = -linkpkg camlp4lib.cmxa
 
 TARGETS                = kerneldb-to-parser.opt
 
-OBJS           = kerneldb_to_parser.cmo
+OBJS           = pahole_parser.cmo kerneldb_to_parser.cmo
 XOBJS          = $(OBJS:.cmo=.cmx)
 
 all:   $(TARGETS)
@@ -43,4 +44,6 @@ kerneldb-to-parser.opt: $(XOBJS)
        ocamlfind ocamlopt \
          $(OCAMLOPTFLAGS) $(OCAMLOPTPACKAGES) $(OCAMLOPTLIBS) $(XOBJS) -o $@
 
+install:
+
 include ../../Make.rules
\ No newline at end of file