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

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

UI improvements, save files, ability to compile plugins with gcc, saveAs for djvu plugin, djvu plugin compiled with gcc, get rid of ddjvuapi.dll

File size: 1.4 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 LuPopplerDocumentClassData=_LuPopplerDocumentClassData
39export LuPopplerDocumentCClassData=_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-ox
58-xs
59-xr
60-sg
61-I..\..\sominc
62-I..\ludoc
63-I..\..\..\..\poppler\mypoppler
64-I..\..\..\..\poppler\mypoppler\poppler
65-I..\..\..\..\poppler\fontconfig-2.3.2-os2
66-DOS2
67| MAKE.CFG >NUL
Note: See TracBrowser for help on using the repository browser.