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

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

Speed-optimized compilation

File size: 1.2 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 
35export LuPopplerDocumentNewClass
36export LuPopplerDocumentClassData
37export LuPopplerDocumentCClassData
38export createObject
39export getSupportedExtensions
40export getDescription
41| tmpmake.lnk >NUL
42    wlink @tmpmake.lnk
43    del tmpmake.lnk
44
45   
46lupoppler.obj: lupoppler.cpp lupoppler.xh
47
48lupoppler.cpp: lupoppler.idl
49
50MAKE.CFG: makefile
51  copy &&|
52-zq 
53-zp=4
54-bm
55-ot
56-ox
57-xs
58-xr
59-sg
60-I..\..\sominc
61-I..\ludoc
62-I..\..\..\..\poppler\mypoppler
63-I..\..\..\..\poppler\mypoppler\poppler
64-I..\..\..\..\poppler\fc-emulate-os2
65-DOS2
66| MAKE.CFG >NUL
Note: See TracBrowser for help on using the repository browser.