source: trunk/Lucide/SOURCE/plugins/ludjvu/makefile @ 95

Last change on this file since 95 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.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 ludjvu.dll
21   DEL MAKE.CFG
22
23
24ludjvu.dll: ludjvu.obj ..\ludoc\ludoc.lib
25  copy &&|
26option quiet
27system os2v2 dll initinstance terminstance
28option map=$(OBJDIR)\ludjvu
29option statics
30file $(OBJDIR)\ludjvu.obj
31name $(EXEDIR)\ludjvu
32lib ..\..\..\..\libdjvu\ddjvuapi.lib
33lib ..\ludoc\ludoc
34lib somtk 
35export LuDjvuDocumentNewClass
36export _LuDjvuDocumentClassData
37export _LuDjvuDocumentCClassData
38export LuDjvuDocumentClassData=_LuDjvuDocumentClassData
39export LuDjvuDocumentCClassData=_LuDjvuDocumentCClassData
40export createObject
41export getSupportedExtensions
42export getDescription
43| tmpmake.lnk >NUL
44    wlink @tmpmake.lnk
45    del tmpmake.lnk
46   
47
48ludjvu.obj: ludjvu.cpp ludjvu.xh
49
50ludjvu.cpp: ludjvu.idl
51
52
53MAKE.CFG: makefile
54  copy &&|
55-zq 
56-zp=4
57-bm
58-ox
59-xs
60-xr
61-I..\..\sominc
62-I..\ludoc
63-I..\..\..\..\libdjvu
64-DOS2
65| MAKE.CFG >NUL
Note: See TracBrowser for help on using the repository browser.