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

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

better solution for ticket #43

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