source: trunk/Lucide/SOURCE/plugins/ludoc/makefile @ 156

Last change on this file since 156 was 156, checked in by Eugene Romanenko, 15 years ago

optimized unicode conversion, fixes crash in uconv.dll (closes #97)

File size: 1.9 KB
Line 
1.autodepend
2
3OBJDIR = ..\..\..\OBJS
4EXEDIR = ..\..\..\BIN
5
6.path.obj = $(OBJDIR)
7.path.res = $(OBJDIR)
8.path.exe = $(EXEDIR)
9.path.dll = $(EXEDIR)
10
11
12.CPP.OBJ:
13     WPP386 @make.cfg -fo$@ $<
14
15.idl.xh:
16    sc -c -s"xc;xih;xh" $<
17    ..\..\sominc\cnvsomex.cmd $@
18     
19
20all: make.cfg ludoc.dll ludoc.lib
21   DEL MAKE.CFG
22
23ludoc.dll: ludoc.obj lupixbuf.obj luinode.obj cpconv.obj
24  copy &&|
25option quiet
26system os2v2 dll initinstance terminstance
27option map=$(OBJDIR)\ludoc
28option statics
29file $(OBJDIR)\ludoc.obj
30file $(OBJDIR)\lupixbuf.obj
31file $(OBJDIR)\luinode.obj
32file $(OBJDIR)\cpconv.obj
33name $(EXEDIR)\ludoc
34lib somtk 
35lib libconv
36export LuDocumentNewClass
37export LuDocumentClassData
38export LuDocumentCClassData
39export _LuDocumentClassData=LuDocumentClassData
40export _LuDocumentCClassData=LuDocumentCClassData
41export LuPixbufNewClass
42export LuPixbufClassData
43export LuPixbufCClassData
44export _LuPixbufClassData=LuPixbufClassData
45export _LuPixbufCClassData=LuPixbufCClassData
46export LuIndexNodeNewClass
47export LuIndexNodeClassData
48export LuIndexNodeCClassData
49export _LuIndexNodeClassData=LuIndexNodeClassData
50export _LuIndexNodeCClassData=LuIndexNodeCClassData
51export createObject
52export getSupportedExtensions
53export getDescription
54export uniConvertSpChars
55export uniLigaturesLength
56export uniReplaceLigatures
57| tmpmake.lnk >NUL
58    wlink @tmpmake.lnk
59    del tmpmake.lnk
60
61ludoc.lib: ludoc.def
62        implib ludoc.lib ludoc.def
63
64cpconv.obj: cpconv.cpp
65lupixbuf.obj: lupixbuf.cpp lupixbuf.xh
66luinode.obj: luinode.cpp luinode.xh
67ludoc.obj: lupixbuf.obj luinode.obj ludoc.cpp ludoc.xh lupixbuf.xh luinode.xh
68
69lupixbuf.cpp: lupixbuf.idl
70luinode.cpp: luinode.idl
71ludoc.cpp: ludoc.idl luinode.xh
72
73lupixbuf.xh: lupixbuf.idl
74luinode.xh: luinode.idl
75ludoc.xh: ludoc.idl
76
77
78MAKE.CFG: makefile
79  copy &&|
80-zq 
81-zp=4
82-bm
83-ot
84-ox
85-xs
86-xr
87-I..\..\sominc
88-DOS2
89| MAKE.CFG >NUL
Note: See TracBrowser for help on using the repository browser.