source: trunk/Lucide/SOURCE/plugins/lupoppler/makefile @ 223

Last change on this file since 223 was 223, checked in by Eugene Romanenko, 14 years ago

tune compiler options

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
43export getSignatureCheck
44| tmpmake.lnk >NUL
45    wlink @tmpmake.lnk
46    del tmpmake.lnk
47
48   
49lupoppler.obj: lupoppler.cpp lupoppler.xh
50
51lupoppler.cpp: lupoppler.idl
52
53MAKE.CFG: makefile
54  copy &&|
55-zq 
56-zp=8
57-bm
58-ot
59-ox
60-oh
61-xs
62-xr
63-sg
64-I..\..\sominc
65-I..\ludoc
66-I..\..\..\..\poppler\mypoppler
67-I..\..\..\..\poppler\mypoppler\poppler
68-I..\..\..\..\poppler\fc-emulate-os2
69-DOS2
70| MAKE.CFG >NUL
Note: See TracBrowser for help on using the repository browser.