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

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

changes for further linking compatibility with different compilers

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