Mercurial > kinput2.yaz
comparison cmd/Imakefile @ 0:92745d501b9a
initial import from kinput2-v3.1
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Mon, 08 Mar 2010 04:44:30 +0900 |
parents | |
children | 598fcbe482b5 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:92745d501b9a |
---|---|
1 #include "../Kinput2.conf" | |
2 | |
3 INCLUDES = -I../include -I.. | |
4 KI2LIB = ../lib/libKi2.a | |
5 IMLIB = ../lib/imlib/libim.a | |
6 | |
7 #ifdef UseWnn | |
8 #ifdef UseWnn6 | |
9 #ifdef StrlenNeeded | |
10 DEFW = -DUSE_WNN -DUSE_WNN6 -DNEED_Strlen | |
11 #else | |
12 DEFW = -DUSE_WNN -DUSE_WNN6 | |
13 #endif | |
14 #else | |
15 #ifdef StrlenNeeded | |
16 DEFW = -DUSE_WNN -DNEED_Strlen | |
17 #else | |
18 DEFW = -DUSE_WNN | |
19 #endif | |
20 #endif | |
21 #if HasLibCrypt | |
22 LIBW = $(WNNLIB) -lcrypt | |
23 #else | |
24 LIBW = $(WNNLIB) | |
25 #endif | |
26 #endif | |
27 #ifdef UseCanna | |
28 DEFI = -DUSE_CANNA | |
29 LIBI = $(CANNALIB) | |
30 #endif | |
31 #ifdef UseSj3 | |
32 DEFS = -DUSE_SJ3 | |
33 XSJ3CLIB = ../lib/Xsj3clib/libXsj3clib.a | |
34 LIBS = $(XSJ3CLIB) $(SJ3LIB) | |
35 #endif | |
36 #ifdef UseAtok | |
37 DEFS = -DUSE_ATOK | |
38 XATOKLIB = ../lib/Xatoklib/libXatoklib.a | |
39 LIBS = $(XATOKLIB) -L$(ATOKLIBDIR) $(ATOKLIB) | |
40 #endif | |
41 | |
42 DEPLIBS = $(KI2LIB) $(IMLIB) $(XSJ3CLIB) $(XATOKLIB) XawClientDepLibs | |
43 LOCAL_LIBRARIES = $(KI2LIB) $(IMLIB) $(LIBW) $(LIBI) $(LIBS) XawClientLibs | |
44 DEFINES = $(SIGNAL_DEFINES) $(DEFW) $(DEFI) $(DEFS) | |
45 SRCS = kinput2.c | |
46 OBJS = kinput2.o | |
47 | |
48 ComplexProgramTarget(kinput2) | |
49 InstallAppDefaults(Kinput2) |