Changeset 7410 for trunk/indexers/mg


Ignore:
Timestamp:
2004-05-25T10:23:01+12:00 (20 years ago)
Author:
kjdon
Message:

new mg passes jni wrapper

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/indexers/mg/jni/Makefile.in

    r3829 r7410  
    2121LDFLAGS = @LDFLAGS@
    2222#NOTE: libtextin.a needs to come before libmg.a !!!
    23 LIBS = ../src/text/libtextin.a ../lib/libmg.a @LIBS@
     23QUERY_LIBS = ../src/text/libtextin.a ../lib/libmg.a @LIBS@
     24PASSES_LIBS = ../src/text/libmgpass.a ../lib/libmg.a @LIBS@
    2425TOUCH = echo timestamp >
    2526AWK = @AWK@
     
    4445
    4546compile:
    46     $(CCOMPILE) MGWrapperImpl.c
     47    $(CCOMPILE) MGWrapperImpl.c MGPassesWrapperImpl.c
    4748
    4849link:
    49     $(CC) -shared -o libmgjni.so MGWrapperImpl.o $(LIBS)
     50    $(CC) -shared -o libmgjni.so MGWrapperImpl.o $(QUERY_LIBS)
     51    $(CC) -shared -o libmgpassjni.so  MGPassesWrapperImpl.o  $(PASSES_LIBS)
    5052
    5153clean:
    52     rm -rf *.o libmgjni.so
     54    rm -rf *.o libmgjni.so libmgpassjni.so
    5355
    5456distclean: clean
     
    5759install:
    5860    ../mkinstalldirs $(libdir); \
    59     cp libmgjni.so $(libdir)/;
     61    cp libmgjni.so libmgpassjni.so $(libdir)/;
    6062
    6163
Note: See TracChangeset for help on using the changeset viewer.