source: trunk/Lucide/SOURCE/plugins/lujpeg/makefile @ 62

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

interface changes as per Heiko Nitzsche suggestions, compatibility changes (update)

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