source: trunk/Lucide/SOURCE/plugins/lupoppler/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.3 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" -I..\ludoc $<
17    ..\..\sominc\cnvsomex.cmd $@
18
19
20all: make.cfg lupplr.dll
21   DEL MAKE.CFG
22   
23lupplr.dll: lupoppler.obj ..\ludoc\ludoc.lib ..\..\..\..\poppler\poppler.lib
24  copy &&|
25option quiet
26system os2v2 dll initinstance terminstance
27option map=$(OBJDIR)\lupplr
28option statics
29file $(OBJDIR)\lupoppler.obj
30name $(EXEDIR)\lupplr
31lib ..\..\..\..\poppler\poppler.lib
32lib ..\..\..\..\libjpeg\libjpeg.lib
33lib ..\ludoc\ludoc
34lib somtk 
35lib libconv
36lib libuls
37export LuPopplerDocumentNewClass
38export LuPopplerDocumentClassData
39export LuPopplerDocumentCClassData
40export createObject
41export getSupportedExtensions
42export getDescription
43| tmpmake.lnk >NUL
44    wlink @tmpmake.lnk
45    del tmpmake.lnk
46
47   
48lupoppler.obj: lupoppler.cpp lupoppler.xh
49
50lupoppler.cpp: lupoppler.idl
51
52MAKE.CFG: makefile
53  copy &&|
54-zq 
55-zp=4
56-bm
57-ot
58-ox
59-xs
60-xr
61-sg
62-I..\..\sominc
63-I..\ludoc
64-I..\..\..\..\poppler\mypoppler
65-I..\..\..\..\poppler\mypoppler\poppler
66-I..\..\..\..\poppler\fc-emulate-os2
67-DOS2
68| MAKE.CFG >NUL
Note: See TracBrowser for help on using the repository browser.