Skip to content

Instantly share code, notes, and snippets.

@mkash32
Created April 2, 2016 05:54
Show Gist options
  • Save mkash32/ccbfdaf28d271c4a7d9dad146712cd8f to your computer and use it in GitHub Desktop.
Save mkash32/ccbfdaf28d271c4a7d9dad146712cd8f to your computer and use it in GitHub Desktop.
#xapian_wrap.cc xapian_wrap.h $(XAPIAN_SWIG_JAVA_SRCS): $(stamp)
# $(make_many_locked)
#$(stamp):
# $(multitarget_begin)
# : # Make sure that we don't package stale generated sources in the
# : # case where SWIG changes its mind as to which files it generates.
# -rm -f org/xapian/*
# $(MKDIR_P) org/xapian
# $(RUN_SWIG) $(SWIG_WERROR) -I'$(srcdir)' $(SWIG_FLAGS) -c++ \
# -java -module Xapian -package org.xapian -outdir org/xapian \
# -o xapian_wrap.cc '$(srcdir)/'java.i
# : # Insert code to automatically load the JNI library.
# $(PERL) -pi -e 'print " System.loadLibrary(\"xapian_jni\");\n" if /^\s*swig_module_init/' org/xapian/XapianJNI.java
# : # Check that exactly the sources we expected were generated.
# $(PERL) -e 'print "$$_\n" for sort @ARGV' org/xapian/*.java > org/xapian/list
# $(PERL) -e 'print "$$_\n" for sort @ARGV' $(XAPIAN_SWIG_JAVA_SRCS)|diff -c - org/xapian/list
# $(multitarget_end)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment