source: trunk/Lucide/SOURCE/plugins/ludoc/makefile @ 142

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

Updated changelog, fix makefiles to work with OpenWatcom? 1.6

File size: 1.7 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" $<
17    ..\..\sominc\cnvsomex.cmd $@
18     
19
20all: make.cfg ludoc.dll ludoc.lib
21   DEL MAKE.CFG
22
23ludoc.dll: ludoc.obj lupixbuf.obj luinode.obj cpconv.obj
24  copy &&|
25option quiet
26system os2v2 dll initinstance terminstance
27option map=$(OBJDIR)\ludoc
28option statics
29file $(OBJDIR)\ludoc.obj
30file $(OBJDIR)\lupixbuf.obj
31file $(OBJDIR)\luinode.obj
32file $(OBJDIR)\cpconv.obj
33name $(EXEDIR)\ludoc
34lib somtk 
35lib libconv
36export LuDocumentNewClass
37export LuDocumentClassData
38export LuDocumentCClassData
39export LuPixbufNewClass
40export LuPixbufClassData
41export LuPixbufCClassData
42export LuIndexNodeNewClass
43export LuIndexNodeClassData
44export LuIndexNodeCClassData
45export createObject
46export getSupportedExtensions
47export getDescription
48export cnvUniToUTF8
49export cnvUniBEToUTF8
50export cnvUTF8ToUni
51export cnvUTF8ToSys
52export cnvUniBEToSys
53export cnvUniToSys
54export cnvSysToUCS2
55| tmpmake.lnk >NUL
56    wlink @tmpmake.lnk
57    del tmpmake.lnk
58
59ludoc.lib: ludoc.def
60        implib ludoc.lib ludoc.def
61
62cpconv.obj: cpconv.cpp
63lupixbuf.obj: lupixbuf.cpp lupixbuf.xh
64luinode.obj: luinode.cpp luinode.xh
65ludoc.obj: lupixbuf.obj luinode.obj ludoc.cpp ludoc.xh lupixbuf.xh luinode.xh
66
67lupixbuf.cpp: lupixbuf.idl
68luinode.cpp: luinode.idl
69ludoc.cpp: ludoc.idl luinode.xh
70
71lupixbuf.xh: lupixbuf.idl
72luinode.xh: luinode.idl
73ludoc.xh: ludoc.idl
74
75
76MAKE.CFG: makefile
77  copy &&|
78-zq 
79-zp=4
80-bm
81-ox
82-xs
83-xr
84-I..\..\sominc
85-DOS2
86| MAKE.CFG >NUL
Note: See TracBrowser for help on using the repository browser.