Mercurial > cpython-lru_cache-weakref
annotate Mac/scripts/genpluginprojects.py @ 15705:b408acdcaf3e legacy-trunk
Use relative path for outputdir.
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Wed, 03 Jan 2001 16:44:56 +0000 |
| parents | 93a575bba09f |
| children | 481c3d50a4e5 |
| rev | line source |
|---|---|
|
15470
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
1 import mkcwproject |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
2 import sys |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
3 import os |
|
15705
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
4 import string |
|
15470
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
5 |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
6 PROJECTDIR = os.path.join(sys.prefix, ":Mac:Build") |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
7 MODULEDIRS = [ # Relative to projectdirs |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
8 "::Modules:%s", |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
9 "::Modules", |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
10 ":::Modules", |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
11 ] |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
12 |
|
15705
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
13 def relpath(base, path): |
|
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
14 """Turn abs path into path relative to another. Only works for 2 abs paths |
|
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
15 both pointing to folders""" |
|
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
16 if not os.path.isabs(base) or not os.path.isabs(path): |
|
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
17 raise 'Absolute paths only' |
|
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
18 if base[-1] != ':': |
|
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
19 base = base +':' |
|
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
20 if path[-1] != ':': |
|
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
21 path = path + ':' |
|
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
22 basefields = string.split(base, os.sep) |
|
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
23 pathfields = string.split(path, os.sep) |
|
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
24 commonfields = len(os.path.commonprefix((basefields, pathfields))) |
|
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
25 basefields = basefields[commonfields:] |
|
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
26 pathfields = pathfields[commonfields:] |
|
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
27 pathfields = ['']*len(basefields) + pathfields |
|
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
28 return string.join(pathfields, os.sep) |
|
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
29 |
|
15470
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
30 def genpluginproject(module, |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
31 project=None, projectdir=None, |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
32 sources=[], sourcedirs=[], |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
33 libraries=[], extradirs=[], |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
34 extraexportsymbols=[]): |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
35 if not project: |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
36 project = module + '.mcp' |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
37 if not projectdir: |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
38 projectdir = PROJECTDIR |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
39 if not sources: |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
40 sources = [module + 'module.c'] |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
41 if not sourcedirs: |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
42 for moduledir in MODULEDIRS: |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
43 if '%' in moduledir: |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
44 moduledir = moduledir % module |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
45 fn = os.path.join(projectdir, os.path.join(moduledir, sources[0])) |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
46 if os.path.exists(fn): |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
47 moduledir, sourcefile = os.path.split(fn) |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
48 sourcedirs = [moduledir] |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
49 sources[0] = sourcefile |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
50 break |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
51 else: |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
52 print "Warning: %s: sourcefile not found: %s"%(module, sources[0]) |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
53 sourcedirs = [] |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
54 dict = { |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
55 "sysprefix" : sys.prefix, |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
56 "sources" : sources, |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
57 "extrasearchdirs" : sourcedirs + extradirs, |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
58 "libraries": libraries, |
|
15705
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
59 "mac_outputdir" : "::Plugins", |
|
15470
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
60 "extraexportsymbols" : extraexportsymbols, |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
61 } |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
62 mkcwproject.mkproject(os.path.join(projectdir, project), module, dict) |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
63 |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
64 def genallprojects(): |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
65 # Standard Python modules |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
66 genpluginproject("ucnhash", sources=["ucnhash.c"]) |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
67 genpluginproject("pyexpat", |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
68 sources=["pyexpat.c"], |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
69 libraries=["libexpat.ppc.lib"], |
|
15675
93a575bba09f
Changed the search path for pyexpat to include all of the expat folder.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15519
diff
changeset
|
70 extradirs=["::::expat:*"]) |
|
15470
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
71 genpluginproject("zlib", |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
72 libraries=["zlib.ppc.Lib"], |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
73 extradirs=["::::imglibs:zlib:mac", "::::imglibs:zlib"]) |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
74 genpluginproject("gdbm", |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
75 libraries=["gdbm.ppc.gusi.lib"], |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
76 extradirs=["::::gdbm:mac", "::::gdbm"]) |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
77 |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
78 # bgen-generated Toolbox modules |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
79 genpluginproject("App", libraries=["AppearanceLib"]) |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
80 genpluginproject("Cm", |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
81 libraries=["QuickTimeLib"], |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
82 extraexportsymbols=[ |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
83 "CmpObj_New", |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
84 "CmpObj_Convert", |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
85 "CmpInstObj_New", |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
86 "CmpInstObj_Convert", |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
87 ]) |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
88 genpluginproject("Fm") |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
89 genpluginproject("Help") |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
90 genpluginproject("Icn", libraries=["IconServicesLib"]) |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
91 genpluginproject("List") |
|
15519
ed29df7eb5c9
Qdoffs now exports GWorld new/convert, and Qt uses them.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15470
diff
changeset
|
92 genpluginproject("Qt", libraries=["QuickTimeLib", "Cm.ppc.slb", "Qdoffs.ppc.slb"], extradirs=["::Plugins"]) |
|
ed29df7eb5c9
Qdoffs now exports GWorld new/convert, and Qt uses them.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15470
diff
changeset
|
93 genpluginproject("Qdoffs", |
|
ed29df7eb5c9
Qdoffs now exports GWorld new/convert, and Qt uses them.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15470
diff
changeset
|
94 extraexportsymbols=["GWorldObj_New", "GWorldObj_Convert"]) |
|
15470
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
95 genpluginproject("Scrap") |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
96 genpluginproject("Snd", libraries=["SoundLib"]) |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
97 genpluginproject("Sndihooks", sources=[":snd:Sndihooks.c"]) |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
98 genpluginproject("TE", libraries=["DragLib"]) |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
99 |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
100 # Other Mac modules |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
101 genpluginproject("calldll", sources=["calldll.c"]) |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
102 genpluginproject("ColorPicker") |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
103 genpluginproject("Printing") |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
104 genpluginproject("waste", |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
105 sources=[ |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
106 "wastemodule.c", |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
107 'WEAccessors.c', 'WEBirthDeath.c', 'WEDebug.c', |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
108 'WEDrawing.c', 'WEFontTables.c', 'WEHighLevelEditing.c', |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
109 'WEICGlue.c', 'WEInlineInput.c', 'WELineLayout.c', 'WELongCoords.c', |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
110 'WELowLevelEditing.c', 'WEMouse.c', 'WEObjects.c', 'WEScraps.c', |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
111 'WESelecting.c', 'WESelectors.c', 'WEUserSelectors.c', 'WEUtilities.c', |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
112 'WEObjectHandlers.c', |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
113 'WETabs.c', |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
114 'WETabHooks.c'], |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
115 libraries=['DragLib'], |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
116 extradirs=['::::Waste 1.3 Distribution:*'] |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
117 ) |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
118 genpluginproject("ctb") |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
119 genpluginproject("icglue", sources=["icgluemodule.c"], |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
120 libraries=["ICGlueCFM-PPC.lib"], |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
121 extradirs=["::::ICProgKit1.4:APIs"]) |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
122 genpluginproject("macspeech", libraries=["SpeechLib"]) |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
123 |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
124 if __name__ == '__main__': |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
125 genallprojects() |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
126 |
