Mercurial > cpython-lru_cache-weakref
annotate Mac/scripts/genpluginprojects.py @ 16086:481c3d50a4e5 legacy-trunk
Added a force option (to force project generation, the default is now to only generate if different).
Try to convert all search paths to relative.
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Sun, 21 Jan 2001 22:24:27 +0000 |
| parents | b408acdcaf3e |
| children | 7cb940c15645 |
| 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 |
|
16086
481c3d50a4e5
Added a force option (to force project generation, the default is now to only generate if different).
Jack Jansen <jack.jansen@cwi.nl>
parents:
15705
diff
changeset
|
13 # Global variable to control forced rebuild (otherwise the project is only rebuilt |
|
481c3d50a4e5
Added a force option (to force project generation, the default is now to only generate if different).
Jack Jansen <jack.jansen@cwi.nl>
parents:
15705
diff
changeset
|
14 # when it is changed) |
|
481c3d50a4e5
Added a force option (to force project generation, the default is now to only generate if different).
Jack Jansen <jack.jansen@cwi.nl>
parents:
15705
diff
changeset
|
15 FORCEREBUILD=0 |
|
481c3d50a4e5
Added a force option (to force project generation, the default is now to only generate if different).
Jack Jansen <jack.jansen@cwi.nl>
parents:
15705
diff
changeset
|
16 |
|
15705
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
17 def relpath(base, path): |
|
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
18 """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
|
19 both pointing to folders""" |
|
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
20 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
|
21 raise 'Absolute paths only' |
|
16086
481c3d50a4e5
Added a force option (to force project generation, the default is now to only generate if different).
Jack Jansen <jack.jansen@cwi.nl>
parents:
15705
diff
changeset
|
22 if base[-1] == ':': |
|
481c3d50a4e5
Added a force option (to force project generation, the default is now to only generate if different).
Jack Jansen <jack.jansen@cwi.nl>
parents:
15705
diff
changeset
|
23 base = base[:-1] |
|
15705
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
24 basefields = string.split(base, os.sep) |
|
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
25 pathfields = string.split(path, os.sep) |
|
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
26 commonfields = len(os.path.commonprefix((basefields, pathfields))) |
|
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
27 basefields = basefields[commonfields:] |
|
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
28 pathfields = pathfields[commonfields:] |
|
16086
481c3d50a4e5
Added a force option (to force project generation, the default is now to only generate if different).
Jack Jansen <jack.jansen@cwi.nl>
parents:
15705
diff
changeset
|
29 pathfields = ['']*(len(basefields)+1) + pathfields |
|
481c3d50a4e5
Added a force option (to force project generation, the default is now to only generate if different).
Jack Jansen <jack.jansen@cwi.nl>
parents:
15705
diff
changeset
|
30 rv = string.join(pathfields, os.sep) |
|
481c3d50a4e5
Added a force option (to force project generation, the default is now to only generate if different).
Jack Jansen <jack.jansen@cwi.nl>
parents:
15705
diff
changeset
|
31 return rv |
|
15705
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
32 |
|
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
|
33 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
|
34 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
|
35 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
|
36 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
|
37 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
|
38 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
|
39 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
|
40 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
|
41 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
|
42 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
|
43 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
|
44 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
|
45 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
|
46 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
|
47 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
|
48 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
|
49 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
|
50 moduledir, sourcefile = os.path.split(fn) |
|
16086
481c3d50a4e5
Added a force option (to force project generation, the default is now to only generate if different).
Jack Jansen <jack.jansen@cwi.nl>
parents:
15705
diff
changeset
|
51 sourcedirs = [relpath(projectdir, moduledir)] |
|
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
|
52 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
|
53 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
|
54 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
|
55 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
|
56 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
|
57 dict = { |
|
16086
481c3d50a4e5
Added a force option (to force project generation, the default is now to only generate if different).
Jack Jansen <jack.jansen@cwi.nl>
parents:
15705
diff
changeset
|
58 "sysprefix" : relpath(projectdir, sys.prefix), |
|
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
|
59 "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
|
60 "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
|
61 "libraries": libraries, |
|
15705
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
62 "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
|
63 "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
|
64 } |
|
16086
481c3d50a4e5
Added a force option (to force project generation, the default is now to only generate if different).
Jack Jansen <jack.jansen@cwi.nl>
parents:
15705
diff
changeset
|
65 mkcwproject.mkproject(os.path.join(projectdir, project), module, dict, force=FORCEREBUILD) |
|
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
|
66 |
|
16086
481c3d50a4e5
Added a force option (to force project generation, the default is now to only generate if different).
Jack Jansen <jack.jansen@cwi.nl>
parents:
15705
diff
changeset
|
67 def genallprojects(force=0): |
|
481c3d50a4e5
Added a force option (to force project generation, the default is now to only generate if different).
Jack Jansen <jack.jansen@cwi.nl>
parents:
15705
diff
changeset
|
68 global FORCEREBUILD |
|
481c3d50a4e5
Added a force option (to force project generation, the default is now to only generate if different).
Jack Jansen <jack.jansen@cwi.nl>
parents:
15705
diff
changeset
|
69 FORCEREBUILD = force |
|
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
|
70 # 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
|
71 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
|
72 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
|
73 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
|
74 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
|
75 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
|
76 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
|
77 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
|
78 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
|
79 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
|
80 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
|
81 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
|
82 |
|
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 # 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
|
84 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
|
85 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
|
86 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
|
87 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
|
88 "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
|
89 "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
|
90 "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
|
91 "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
|
92 ]) |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
93 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
|
94 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
|
95 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
|
96 genpluginproject("List") |
|
15519
ed29df7eb5c9
Qdoffs now exports GWorld new/convert, and Qt uses them.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15470
diff
changeset
|
97 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
|
98 genpluginproject("Qdoffs", |
|
ed29df7eb5c9
Qdoffs now exports GWorld new/convert, and Qt uses them.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15470
diff
changeset
|
99 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
|
100 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
|
101 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
|
102 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
|
103 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
|
104 |
|
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 # 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
|
106 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
|
107 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
|
108 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
|
109 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
|
110 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
|
111 "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
|
112 '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
|
113 '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
|
114 '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
|
115 '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
|
116 '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
|
117 '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
|
118 '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
|
119 '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
|
120 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
|
121 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
|
122 ) |
|
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 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
|
124 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
|
125 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
|
126 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
|
127 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
|
128 |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
129 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
|
130 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
|
131 |
|
16086
481c3d50a4e5
Added a force option (to force project generation, the default is now to only generate if different).
Jack Jansen <jack.jansen@cwi.nl>
parents:
15705
diff
changeset
|
132 |
