/* $Id: Imakefile,v 1.1.1.1 2002/10/19 08:27:53 aida_s Exp $ */
#include "../Canna.conf"

/* #define TPO /* for -tpo option */

#ifdef TPO
  TPODEFINE = -DTPO
     TPOLIB = $(CANNAROOT)/testsuite/src/format.o
#endif

#define UseLocalX 0

       CANNAROOT = ..
        CANNASRC = $(CANNAROOT)/lib/canna
            SRCS = sample.c
            OBJS = sample.o
          TARGET = sample

#if UseLocalX
        INCLUDES = -I$(CANNAROOT)/include \
			-I$(XDIR)/usr/include/X11 \
			-I$(XDIR)/usr/include
            XLIB = /usr/lib/libX11.a
          XMULIB = /usr/lib/libXmu.a
#else
        INCLUDES = -I$(CANNAROOT)/include
#endif

            WLIB = $(Wlib)
 LOCAL_LIBRARIES = $(TPOLIB) $(CANNALIB) $(XLIB) $(WLIB)
         DEFINES = -DJAPANESE_LOCALE=\"$(JapaneseLocale)\" \
			-DXK_KATAKANA $(SAMPLE_DEFINES) $(TPODEFINE)

AllTarget($(TARGET))
NormalProgramTarget($(TARGET),$(OBJS),$(DEPCANNALIB),$(LOCAL_LIBRARIES),)
InstallProgram($(TARGET),$(cannaBinDir))

DependTarget()
