source: trunk/Lucide/SOURCE/plugins/lujpeg/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.1 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 
34export LuJpegDocumentNewClass
35export _LuJpegDocumentClassData
36export _LuJpegDocumentCClassData
37export LuJpegDocumentClassData=_LuJpegDocumentClassData
38export LuJpegDocumentCClassData=_LuJpegDocumentCClassData
39export createObject
40export getSupportedExtensions
41export getDescription
42| tmpmake.lnk >NUL
43    wlink @tmpmake.lnk
44    del tmpmake.lnk
45   
46
47lujpeg.obj: lujpeg.cpp lujpeg.xh
48
49lujpeg.cpp: lujpeg.idl
50
51
52MAKE.CFG: makefile
53  copy &&|
54-zq 
55-zp=4
56-bm
57-ox
58-xs
59-xr
60-I..\ludoc
61-I..\..\..\..\libjpeg
62-DOS2
63| MAKE.CFG >NUL
Note: See TracBrowser for help on using the repository browser.