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

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

First import

File size: 1.7 KB
Line 
1.autodepend
2
3OBJDIR = D:\Projects\Lucide\OBJS
4EXEDIR = D:\Projects\Lucide\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     
18
19all: make.cfg ludoc.dll ludoc.lib
20   DEL MAKE.CFG
21
22ludoc.dll: ludoc.obj lupixbuf.obj luinode.obj cpconv.obj
23  copy &&|
24option quiet
25system os2v2 dll initinstance terminstance
26option map=$(OBJDIR)\ludoc
27option statics
28file $(OBJDIR)\ludoc.obj
29file $(OBJDIR)\lupixbuf.obj
30file $(OBJDIR)\luinode.obj
31file $(OBJDIR)\cpconv.obj
32name $(EXEDIR)\ludoc
33lib somtk 
34lib D:\BCOS2\LIB\libconv.lib
35export LuDocumentNewClass
36export LuDocumentClassData
37export LuDocumentCClassData
38export LuPixbufNewClass
39export LuPixbufClassData
40export LuPixbufCClassData
41export LuIndexNodeNewClass
42export LuIndexNodeClassData
43export LuIndexNodeCClassData
44export createObject
45export getSupportedExtensions
46export getDescription
47export cnvUniToUTF8
48export cnvUniBEToUTF8
49export cnvUTF8ToUni
50export cnvUTF8ToSys
51export cnvUniBEToSys
52export cnvUniToSys
53export cnvSysToUCS2
54| tmpmake.lnk >NUL
55    wlink @tmpmake.lnk
56    del tmpmake.lnk
57
58ludoc.lib: $(EXEDIR)\ludoc.dll
59        implib ludoc.lib $(EXEDIR)\ludoc.dll
60
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-ID:\BCOS2\H_UNI
85-DOS2
86| MAKE.CFG >NUL
Note: See TracBrowser for help on using the repository browser.