#include "../Kinput2.conf"

         INCLUDES = -I../include -I..
           KI2LIB = ../lib/libKi2.a
            IMLIB = ../lib/imlib/libim.a

#ifdef UseWnn
#ifdef UseWnn6
#ifdef StrlenNeeded
             DEFW = -DUSE_WNN -DUSE_WNN6 -DNEED_Strlen
#else
             DEFW = -DUSE_WNN -DUSE_WNN6
#endif
#else
#ifdef StrlenNeeded
             DEFW = -DUSE_WNN -DNEED_Strlen
#else
             DEFW = -DUSE_WNN
#endif
#endif
#if HasLibCrypt
             LIBW = $(WNNLIB) -lcrypt
#else
             LIBW = $(WNNLIB)
#endif
#endif
#ifdef UseCanna
             DEFI = -DUSE_CANNA
             LIBI = $(CANNALIB)
#endif
#ifdef UseSj3
             DEFS = -DUSE_SJ3
         XSJ3CLIB = ../lib/Xsj3clib/libXsj3clib.a
             LIBS = $(XSJ3CLIB) $(SJ3LIB)
#endif
#ifdef UseAtok
             DEFS = -DUSE_ATOK
         XATOKLIB = ../lib/Xatoklib/libXatoklib.a
             LIBS = $(XATOKLIB) -L$(ATOKLIBDIR) $(ATOKLIB)
#endif

          DEPLIBS = $(KI2LIB) $(IMLIB) $(XSJ3CLIB) $(XATOKLIB) XawClientDepLibs
  LOCAL_LIBRARIES = $(KI2LIB) $(IMLIB) $(LIBW) $(LIBI) $(LIBS) XawClientLibs
          DEFINES = $(SIGNAL_DEFINES) $(DEFW) $(DEFI) $(DEFS)
             SRCS = kinput2.c
             OBJS = kinput2.o

ComplexProgramTarget(kinput2)
InstallAppDefaults(Kinput2)
