Mercurial > cpython-lru_cache-weakref
annotate Mac/scripts/genpluginprojects.py @ 21376:50d0366e8f05 legacy-trunk
added CarbonEvents
| author | Just van Rossum <just@letterror.com> |
|---|---|
| date | Wed, 12 Dec 2001 22:42:37 +0000 |
| parents | 2034902b0f1a |
| children | dfacc733cbf4 |
| 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 |
|
19321
42246b8c58bb
If genpluginprojects is called from fullbuild we set the Python source directory to be the same as fullbuild uses (in stead of using the default sys.prefix). This fixes an issue Mark Day raised that you can't use fullbuild with one Python installation to build another one.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19024
diff
changeset
|
6 PYTHONDIR = sys.prefix |
|
42246b8c58bb
If genpluginprojects is called from fullbuild we set the Python source directory to be the same as fullbuild uses (in stead of using the default sys.prefix). This fixes an issue Mark Day raised that you can't use fullbuild with one Python installation to build another one.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19024
diff
changeset
|
7 PROJECTDIR = os.path.join(PYTHONDIR, ":Mac:Build") |
|
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
|
8 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
|
9 "::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
|
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 ":::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
|
12 ] |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
13 |
|
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
|
14 # 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
|
15 # 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
|
16 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
|
17 |
|
15705
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
18 def relpath(base, path): |
|
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
19 """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
|
20 both pointing to folders""" |
|
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
21 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
|
22 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
|
23 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
|
24 base = base[:-1] |
|
15705
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
25 basefields = string.split(base, os.sep) |
|
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
26 pathfields = string.split(path, os.sep) |
|
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
27 commonfields = len(os.path.commonprefix((basefields, pathfields))) |
|
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
28 basefields = basefields[commonfields:] |
|
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
29 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
|
30 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
|
31 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
|
32 return rv |
|
15705
b408acdcaf3e
Use relative path for outputdir.
Jack Jansen <jack.jansen@cwi.nl>
parents:
15675
diff
changeset
|
33 |
|
16181
a54c282bfb63
Generate Carbon as well as classic PPC plugin projects. This module is finally paying back the investment in it!
Jack Jansen <jack.jansen@cwi.nl>
parents:
16102
diff
changeset
|
34 def genpluginproject(architecture, module, |
|
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
|
35 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
|
36 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
|
37 libraries=[], extradirs=[], |
|
21113
ed3dce17fc79
Merged changes made on r22b2-branch between r22b2 and r22b2-mac (the
Jack Jansen <jack.jansen@cwi.nl>
parents:
20899
diff
changeset
|
38 extraexportsymbols=[], outputdir=":::Lib:lib-dynload", |
|
ed3dce17fc79
Merged changes made on r22b2-branch between r22b2 and r22b2-mac (the
Jack Jansen <jack.jansen@cwi.nl>
parents:
20899
diff
changeset
|
39 libraryflags=None, stdlibraryflags=None): |
|
16181
a54c282bfb63
Generate Carbon as well as classic PPC plugin projects. This module is finally paying back the investment in it!
Jack Jansen <jack.jansen@cwi.nl>
parents:
16102
diff
changeset
|
40 if architecture == "all": |
|
a54c282bfb63
Generate Carbon as well as classic PPC plugin projects. This module is finally paying back the investment in it!
Jack Jansen <jack.jansen@cwi.nl>
parents:
16102
diff
changeset
|
41 # For the time being we generate two project files. Not as nice as |
|
a54c282bfb63
Generate Carbon as well as classic PPC plugin projects. This module is finally paying back the investment in it!
Jack Jansen <jack.jansen@cwi.nl>
parents:
16102
diff
changeset
|
42 # a single multitarget project, but easier to implement for now. |
|
a54c282bfb63
Generate Carbon as well as classic PPC plugin projects. This module is finally paying back the investment in it!
Jack Jansen <jack.jansen@cwi.nl>
parents:
16102
diff
changeset
|
43 genpluginproject("ppc", module, project, projectdir, sources, sourcedirs, |
|
19397
2fc102b838ed
Various toolbox modules were generated in lib-dynload accidentally
Jack Jansen <jack.jansen@cwi.nl>
parents:
19391
diff
changeset
|
44 libraries, extradirs, extraexportsymbols, outputdir) |
|
16181
a54c282bfb63
Generate Carbon as well as classic PPC plugin projects. This module is finally paying back the investment in it!
Jack Jansen <jack.jansen@cwi.nl>
parents:
16102
diff
changeset
|
45 genpluginproject("carbon", module, project, projectdir, sources, sourcedirs, |
|
19397
2fc102b838ed
Various toolbox modules were generated in lib-dynload accidentally
Jack Jansen <jack.jansen@cwi.nl>
parents:
19391
diff
changeset
|
46 libraries, extradirs, extraexportsymbols, outputdir) |
|
16181
a54c282bfb63
Generate Carbon as well as classic PPC plugin projects. This module is finally paying back the investment in it!
Jack Jansen <jack.jansen@cwi.nl>
parents:
16102
diff
changeset
|
47 return |
|
a54c282bfb63
Generate Carbon as well as classic PPC plugin projects. This module is finally paying back the investment in it!
Jack Jansen <jack.jansen@cwi.nl>
parents:
16102
diff
changeset
|
48 templatename = "template-%s" % architecture |
|
a54c282bfb63
Generate Carbon as well as classic PPC plugin projects. This module is finally paying back the investment in it!
Jack Jansen <jack.jansen@cwi.nl>
parents:
16102
diff
changeset
|
49 targetname = "%s.%s" % (module, architecture) |
|
a54c282bfb63
Generate Carbon as well as classic PPC plugin projects. This module is finally paying back the investment in it!
Jack Jansen <jack.jansen@cwi.nl>
parents:
16102
diff
changeset
|
50 dllname = "%s.%s.slb" % (module, architecture) |
|
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
|
51 if not project: |
|
16181
a54c282bfb63
Generate Carbon as well as classic PPC plugin projects. This module is finally paying back the investment in it!
Jack Jansen <jack.jansen@cwi.nl>
parents:
16102
diff
changeset
|
52 if architecture != "ppc": |
|
a54c282bfb63
Generate Carbon as well as classic PPC plugin projects. This module is finally paying back the investment in it!
Jack Jansen <jack.jansen@cwi.nl>
parents:
16102
diff
changeset
|
53 project = "%s.%s.mcp"%(module, architecture) |
|
a54c282bfb63
Generate Carbon as well as classic PPC plugin projects. This module is finally paying back the investment in it!
Jack Jansen <jack.jansen@cwi.nl>
parents:
16102
diff
changeset
|
54 else: |
|
a54c282bfb63
Generate Carbon as well as classic PPC plugin projects. This module is finally paying back the investment in it!
Jack Jansen <jack.jansen@cwi.nl>
parents:
16102
diff
changeset
|
55 project = "%s.mcp"%module |
|
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
|
56 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
|
57 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
|
58 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
|
59 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
|
60 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
|
61 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
|
62 if '%' in moduledir: |
|
19441
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
63 # For historical reasons an initial _ in the modulename |
|
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
64 # is not reflected in the folder name |
|
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
65 if module[0] == '_': |
|
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
66 modulewithout_ = module[1:] |
|
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
67 else: |
|
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
68 modulewithout_ = module |
|
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
69 moduledir = moduledir % modulewithout_ |
|
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 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
|
71 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
|
72 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
|
73 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
|
74 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
|
75 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
|
76 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
|
77 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
|
78 sourcedirs = [] |
|
16181
a54c282bfb63
Generate Carbon as well as classic PPC plugin projects. This module is finally paying back the investment in it!
Jack Jansen <jack.jansen@cwi.nl>
parents:
16102
diff
changeset
|
79 if architecture == "carbon": |
|
a54c282bfb63
Generate Carbon as well as classic PPC plugin projects. This module is finally paying back the investment in it!
Jack Jansen <jack.jansen@cwi.nl>
parents:
16102
diff
changeset
|
80 prefixname = "mwerks_carbonplugin_config.h" |
|
a54c282bfb63
Generate Carbon as well as classic PPC plugin projects. This module is finally paying back the investment in it!
Jack Jansen <jack.jansen@cwi.nl>
parents:
16102
diff
changeset
|
81 else: |
|
a54c282bfb63
Generate Carbon as well as classic PPC plugin projects. This module is finally paying back the investment in it!
Jack Jansen <jack.jansen@cwi.nl>
parents:
16102
diff
changeset
|
82 prefixname = "mwerks_plugin_config.h" |
|
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
|
83 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
|
84 "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
|
85 "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
|
86 "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
|
87 "libraries": libraries, |
|
19391
b22658a468cf
Dynamic modules are now put in :Lib:lib-dynload by default. For the toolbox modules this is overridden to put them in :Mac:Lib:Carbon.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19321
diff
changeset
|
88 "mac_outputdir" : outputdir, |
|
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
|
89 "extraexportsymbols" : extraexportsymbols, |
|
16181
a54c282bfb63
Generate Carbon as well as classic PPC plugin projects. This module is finally paying back the investment in it!
Jack Jansen <jack.jansen@cwi.nl>
parents:
16102
diff
changeset
|
90 "mac_targetname" : targetname, |
|
a54c282bfb63
Generate Carbon as well as classic PPC plugin projects. This module is finally paying back the investment in it!
Jack Jansen <jack.jansen@cwi.nl>
parents:
16102
diff
changeset
|
91 "mac_dllname" : dllname, |
|
a54c282bfb63
Generate Carbon as well as classic PPC plugin projects. This module is finally paying back the investment in it!
Jack Jansen <jack.jansen@cwi.nl>
parents:
16102
diff
changeset
|
92 "prefixname" : prefixname, |
|
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
|
93 } |
|
21113
ed3dce17fc79
Merged changes made on r22b2-branch between r22b2 and r22b2-mac (the
Jack Jansen <jack.jansen@cwi.nl>
parents:
20899
diff
changeset
|
94 if libraryflags: |
|
ed3dce17fc79
Merged changes made on r22b2-branch between r22b2 and r22b2-mac (the
Jack Jansen <jack.jansen@cwi.nl>
parents:
20899
diff
changeset
|
95 dict['libraryflags'] = libraryflags |
|
ed3dce17fc79
Merged changes made on r22b2-branch between r22b2 and r22b2-mac (the
Jack Jansen <jack.jansen@cwi.nl>
parents:
20899
diff
changeset
|
96 if stdlibraryflags: |
|
ed3dce17fc79
Merged changes made on r22b2-branch between r22b2 and r22b2-mac (the
Jack Jansen <jack.jansen@cwi.nl>
parents:
20899
diff
changeset
|
97 dict['stdlibraryflags'] = stdlibraryflags |
|
16181
a54c282bfb63
Generate Carbon as well as classic PPC plugin projects. This module is finally paying back the investment in it!
Jack Jansen <jack.jansen@cwi.nl>
parents:
16102
diff
changeset
|
98 mkcwproject.mkproject(os.path.join(projectdir, project), module, dict, |
|
a54c282bfb63
Generate Carbon as well as classic PPC plugin projects. This module is finally paying back the investment in it!
Jack Jansen <jack.jansen@cwi.nl>
parents:
16102
diff
changeset
|
99 force=FORCEREBUILD, templatename=templatename) |
|
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 |
|
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
|
101 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
|
102 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
|
103 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
|
104 # Standard Python modules |
|
16181
a54c282bfb63
Generate Carbon as well as classic PPC plugin projects. This module is finally paying back the investment in it!
Jack Jansen <jack.jansen@cwi.nl>
parents:
16102
diff
changeset
|
105 genpluginproject("all", "pyexpat", |
|
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
|
106 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
|
107 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
|
108 extradirs=["::::expat:*"]) |
|
16181
a54c282bfb63
Generate Carbon as well as classic PPC plugin projects. This module is finally paying back the investment in it!
Jack Jansen <jack.jansen@cwi.nl>
parents:
16102
diff
changeset
|
109 genpluginproject("all", "zlib", |
|
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
|
110 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
|
111 extradirs=["::::imglibs:zlib:mac", "::::imglibs:zlib"]) |
|
16181
a54c282bfb63
Generate Carbon as well as classic PPC plugin projects. This module is finally paying back the investment in it!
Jack Jansen <jack.jansen@cwi.nl>
parents:
16102
diff
changeset
|
112 genpluginproject("all", "gdbm", |
|
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
|
113 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
|
114 extradirs=["::::gdbm:mac", "::::gdbm"]) |
|
16566
4cedc826bee8
Added modules _testcapi, _weakref, _symtable.
Jack Jansen <jack.jansen@cwi.nl>
parents:
16335
diff
changeset
|
115 genpluginproject("all", "_weakref", sources=["_weakref.c"]) |
|
4cedc826bee8
Added modules _testcapi, _weakref, _symtable.
Jack Jansen <jack.jansen@cwi.nl>
parents:
16335
diff
changeset
|
116 genpluginproject("all", "_symtable", sources=["symtablemodule.c"]) |
|
19570
9da68c0379ab
Added xx and xxsubtype modules, for completeness and because xxsubtype is used by the test suite.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19441
diff
changeset
|
117 # Example/test modules |
|
16566
4cedc826bee8
Added modules _testcapi, _weakref, _symtable.
Jack Jansen <jack.jansen@cwi.nl>
parents:
16335
diff
changeset
|
118 genpluginproject("all", "_testcapi") |
|
19570
9da68c0379ab
Added xx and xxsubtype modules, for completeness and because xxsubtype is used by the test suite.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19441
diff
changeset
|
119 genpluginproject("all", "xx") |
|
9da68c0379ab
Added xx and xxsubtype modules, for completeness and because xxsubtype is used by the test suite.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19441
diff
changeset
|
120 genpluginproject("all", "xxsubtype", sources=["xxsubtype.c"]) |
| 20640 | 121 genpluginproject("all", "_hotshot", sources=["_hotshot.c"]) |
|
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
|
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 # bgen-generated Toolbox modules |
|
19441
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
124 genpluginproject("carbon", "_AE", outputdir="::Lib:Carbon") |
|
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
125 genpluginproject("ppc", "_AE", libraries=["ObjectSupportLib"], outputdir="::Lib:Carbon") |
|
21243
2034902b0f1a
Link more modules with weak import, and add CarbonAccessors.o to all relevant PowerPC toolbox modules. This, in combination with recent IDE mods, makes the IDE work again under MacOS 8.1.
Jack Jansen <jack.jansen@cwi.nl>
parents:
21113
diff
changeset
|
126 genpluginproject("ppc", "_App", libraries=["CarbonAccessors.o", "AppearanceLib"], |
|
2034902b0f1a
Link more modules with weak import, and add CarbonAccessors.o to all relevant PowerPC toolbox modules. This, in combination with recent IDE mods, makes the IDE work again under MacOS 8.1.
Jack Jansen <jack.jansen@cwi.nl>
parents:
21113
diff
changeset
|
127 libraryflags="Debug, WeakImport", outputdir="::Lib:Carbon") |
|
19441
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
128 genpluginproject("carbon", "_App", outputdir="::Lib:Carbon") |
|
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
129 genpluginproject("ppc", "_Cm", libraries=["QuickTimeLib"], outputdir="::Lib:Carbon") |
|
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
130 genpluginproject("carbon", "_Cm", outputdir="::Lib:Carbon") |
|
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
131 genpluginproject("carbon", "_Ctl", outputdir="::Lib:Carbon") |
|
21243
2034902b0f1a
Link more modules with weak import, and add CarbonAccessors.o to all relevant PowerPC toolbox modules. This, in combination with recent IDE mods, makes the IDE work again under MacOS 8.1.
Jack Jansen <jack.jansen@cwi.nl>
parents:
21113
diff
changeset
|
132 genpluginproject("ppc", "_Ctl", libraries=["CarbonAccessors.o", "ControlsLib", "AppearanceLib"], |
|
21113
ed3dce17fc79
Merged changes made on r22b2-branch between r22b2 and r22b2-mac (the
Jack Jansen <jack.jansen@cwi.nl>
parents:
20899
diff
changeset
|
133 libraryflags="Debug, WeakImport", outputdir="::Lib:Carbon") |
|
19441
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
134 genpluginproject("carbon", "_Dlg", outputdir="::Lib:Carbon") |
|
21243
2034902b0f1a
Link more modules with weak import, and add CarbonAccessors.o to all relevant PowerPC toolbox modules. This, in combination with recent IDE mods, makes the IDE work again under MacOS 8.1.
Jack Jansen <jack.jansen@cwi.nl>
parents:
21113
diff
changeset
|
135 genpluginproject("ppc", "_Dlg", libraries=["CarbonAccessors.o", "DialogsLib", "AppearanceLib"], |
|
21113
ed3dce17fc79
Merged changes made on r22b2-branch between r22b2 and r22b2-mac (the
Jack Jansen <jack.jansen@cwi.nl>
parents:
20899
diff
changeset
|
136 libraryflags="Debug, WeakImport", outputdir="::Lib:Carbon") |
|
19441
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
137 genpluginproject("carbon", "_Drag", outputdir="::Lib:Carbon") |
|
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
138 genpluginproject("ppc", "_Drag", libraries=["DragLib"], outputdir="::Lib:Carbon") |
|
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
139 genpluginproject("all", "_Evt", outputdir="::Lib:Carbon") |
|
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
140 genpluginproject("all", "_Fm", outputdir="::Lib:Carbon") |
|
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
141 genpluginproject("ppc", "_Help", outputdir="::Lib:Carbon") |
|
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
142 genpluginproject("ppc", "_Icn", libraries=["IconServicesLib"], outputdir="::Lib:Carbon") |
|
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
143 genpluginproject("carbon", "_Icn", outputdir="::Lib:Carbon") |
|
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
144 genpluginproject("all", "_List", outputdir="::Lib:Carbon") |
|
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
145 genpluginproject("carbon", "_Menu", outputdir="::Lib:Carbon") |
|
21243
2034902b0f1a
Link more modules with weak import, and add CarbonAccessors.o to all relevant PowerPC toolbox modules. This, in combination with recent IDE mods, makes the IDE work again under MacOS 8.1.
Jack Jansen <jack.jansen@cwi.nl>
parents:
21113
diff
changeset
|
146 genpluginproject("ppc", "_Menu", libraries=["CarbonAccessors.o", "MenusLib", "ContextualMenu", "AppearanceLib"], |
|
21113
ed3dce17fc79
Merged changes made on r22b2-branch between r22b2 and r22b2-mac (the
Jack Jansen <jack.jansen@cwi.nl>
parents:
20899
diff
changeset
|
147 libraryflags="Debug, WeakImport", outputdir="::Lib:Carbon") |
|
19441
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
148 genpluginproject("all", "_Qd", outputdir="::Lib:Carbon") |
|
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
149 genpluginproject("ppc", "_Qt", libraries=["QuickTimeLib"], outputdir="::Lib:Carbon") |
|
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
150 genpluginproject("carbon", "_Qt", outputdir="::Lib:Carbon") |
|
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
151 genpluginproject("all", "_Qdoffs", outputdir="::Lib:Carbon") |
|
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
152 genpluginproject("all", "_Res", outputdir="::Lib:Carbon") |
|
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
153 genpluginproject("all", "_Scrap", outputdir="::Lib:Carbon") |
|
21243
2034902b0f1a
Link more modules with weak import, and add CarbonAccessors.o to all relevant PowerPC toolbox modules. This, in combination with recent IDE mods, makes the IDE work again under MacOS 8.1.
Jack Jansen <jack.jansen@cwi.nl>
parents:
21113
diff
changeset
|
154 genpluginproject("ppc", "_Snd", libraries=["CarbonAccessors.o", "SoundLib"], outputdir="::Lib:Carbon") |
|
19441
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
155 genpluginproject("carbon", "_Snd", outputdir="::Lib:Carbon") |
|
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
156 genpluginproject("all", "_Sndihooks", sources=[":snd:_Sndihooks.c"], outputdir="::Lib:Carbon") |
|
21243
2034902b0f1a
Link more modules with weak import, and add CarbonAccessors.o to all relevant PowerPC toolbox modules. This, in combination with recent IDE mods, makes the IDE work again under MacOS 8.1.
Jack Jansen <jack.jansen@cwi.nl>
parents:
21113
diff
changeset
|
157 genpluginproject("ppc", "_TE", libraries=["CarbonAccessors.o", "DragLib"], outputdir="::Lib:Carbon") |
|
19441
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
158 genpluginproject("carbon", "_TE", outputdir="::Lib:Carbon") |
|
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
159 genpluginproject("ppc", "_Mlte", libraries=["Textension"], outputdir="::Lib:Carbon") |
|
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
160 genpluginproject("carbon", "_Mlte", outputdir="::Lib:Carbon") |
|
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
161 genpluginproject("carbon", "_Win", outputdir="::Lib:Carbon") |
|
21113
ed3dce17fc79
Merged changes made on r22b2-branch between r22b2 and r22b2-mac (the
Jack Jansen <jack.jansen@cwi.nl>
parents:
20899
diff
changeset
|
162 genpluginproject("ppc", "_Win", libraries=["CarbonAccessors.o", "WindowsLib", "AppearanceLib"], |
|
ed3dce17fc79
Merged changes made on r22b2-branch between r22b2 and r22b2-mac (the
Jack Jansen <jack.jansen@cwi.nl>
parents:
20899
diff
changeset
|
163 libraryflags="Debug, WeakImport", outputdir="::Lib:Carbon") |
|
18557
7461348d99da
Added Mlte module (which, to my surprise, is available for classic ppc as well).
Jack Jansen <jack.jansen@cwi.nl>
parents:
18290
diff
changeset
|
164 # Carbon Only? |
|
19441
0757098350c2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Jack Jansen <jack.jansen@cwi.nl>
parents:
19397
diff
changeset
|
165 genpluginproject("carbon", "_CF", outputdir="::Lib:Carbon") |
| 21376 | 166 genpluginproject("carbon", "_CarbonEvt", outputdir="::Lib:Carbon") |
|
20899
8722b0abeac6
Added hfsplusapi module.
Jack Jansen <jack.jansen@cwi.nl>
parents:
20640
diff
changeset
|
167 genpluginproject("carbon", "hfsplus") |
|
18290
295acc0755f0
Added CF module build and project generation (carbon only).
Jack Jansen <jack.jansen@cwi.nl>
parents:
17850
diff
changeset
|
168 |
|
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
|
169 # Other Mac modules |
|
16181
a54c282bfb63
Generate Carbon as well as classic PPC plugin projects. This module is finally paying back the investment in it!
Jack Jansen <jack.jansen@cwi.nl>
parents:
16102
diff
changeset
|
170 genpluginproject("all", "calldll", sources=["calldll.c"]) |
|
a54c282bfb63
Generate Carbon as well as classic PPC plugin projects. This module is finally paying back the investment in it!
Jack Jansen <jack.jansen@cwi.nl>
parents:
16102
diff
changeset
|
171 genpluginproject("all", "ColorPicker") |
|
a54c282bfb63
Generate Carbon as well as classic PPC plugin projects. This module is finally paying back the investment in it!
Jack Jansen <jack.jansen@cwi.nl>
parents:
16102
diff
changeset
|
172 genpluginproject("ppc", "Printing") |
|
a54c282bfb63
Generate Carbon as well as classic PPC plugin projects. This module is finally paying back the investment in it!
Jack Jansen <jack.jansen@cwi.nl>
parents:
16102
diff
changeset
|
173 genpluginproject("ppc", "waste", |
|
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
|
174 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
|
175 "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
|
176 '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
|
177 '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
|
178 '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
|
179 '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
|
180 '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
|
181 '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
|
182 '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
|
183 '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
|
184 libraries=['DragLib'], |
|
16102
7cb940c15645
Waste needs the ICProgKit API.
Jack Jansen <jack.jansen@cwi.nl>
parents:
16086
diff
changeset
|
185 extradirs=[ |
|
7cb940c15645
Waste needs the ICProgKit API.
Jack Jansen <jack.jansen@cwi.nl>
parents:
16086
diff
changeset
|
186 '::::Waste 1.3 Distribution:*', |
|
7cb940c15645
Waste needs the ICProgKit API.
Jack Jansen <jack.jansen@cwi.nl>
parents:
16086
diff
changeset
|
187 '::::ICProgKit1.4:APIs'] |
|
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
|
188 ) |
|
16213
c0f61d4f5a04
Waste and scrap now sort-of work for Carbon. Scrap is mostly empty, and waste uses a mixture between Waste 2.0 and Waste 1.3.
Jack Jansen <jack.jansen@cwi.nl>
parents:
16181
diff
changeset
|
189 # This is a hack, combining parts of Waste 2.0 with parts of 1.3 |
|
c0f61d4f5a04
Waste and scrap now sort-of work for Carbon. Scrap is mostly empty, and waste uses a mixture between Waste 2.0 and Waste 1.3.
Jack Jansen <jack.jansen@cwi.nl>
parents:
16181
diff
changeset
|
190 genpluginproject("carbon", "waste", |
|
c0f61d4f5a04
Waste and scrap now sort-of work for Carbon. Scrap is mostly empty, and waste uses a mixture between Waste 2.0 and Waste 1.3.
Jack Jansen <jack.jansen@cwi.nl>
parents:
16181
diff
changeset
|
191 sources=[ |
|
c0f61d4f5a04
Waste and scrap now sort-of work for Carbon. Scrap is mostly empty, and waste uses a mixture between Waste 2.0 and Waste 1.3.
Jack Jansen <jack.jansen@cwi.nl>
parents:
16181
diff
changeset
|
192 "wastemodule.c", |
|
c0f61d4f5a04
Waste and scrap now sort-of work for Carbon. Scrap is mostly empty, and waste uses a mixture between Waste 2.0 and Waste 1.3.
Jack Jansen <jack.jansen@cwi.nl>
parents:
16181
diff
changeset
|
193 "WEObjectHandlers.c", |
|
c0f61d4f5a04
Waste and scrap now sort-of work for Carbon. Scrap is mostly empty, and waste uses a mixture between Waste 2.0 and Waste 1.3.
Jack Jansen <jack.jansen@cwi.nl>
parents:
16181
diff
changeset
|
194 "WETabs.c", "WETabHooks.c"], |
|
c0f61d4f5a04
Waste and scrap now sort-of work for Carbon. Scrap is mostly empty, and waste uses a mixture between Waste 2.0 and Waste 1.3.
Jack Jansen <jack.jansen@cwi.nl>
parents:
16181
diff
changeset
|
195 libraries=["WASTE.Carbon.lib"], |
|
c0f61d4f5a04
Waste and scrap now sort-of work for Carbon. Scrap is mostly empty, and waste uses a mixture between Waste 2.0 and Waste 1.3.
Jack Jansen <jack.jansen@cwi.nl>
parents:
16181
diff
changeset
|
196 extradirs=[ |
|
c0f61d4f5a04
Waste and scrap now sort-of work for Carbon. Scrap is mostly empty, and waste uses a mixture between Waste 2.0 and Waste 1.3.
Jack Jansen <jack.jansen@cwi.nl>
parents:
16181
diff
changeset
|
197 '{Compiler}:MacOS Support:(Third Party Support):Waste 2.0 Distribution:C_C++ Headers', |
|
c0f61d4f5a04
Waste and scrap now sort-of work for Carbon. Scrap is mostly empty, and waste uses a mixture between Waste 2.0 and Waste 1.3.
Jack Jansen <jack.jansen@cwi.nl>
parents:
16181
diff
changeset
|
198 '{Compiler}:MacOS Support:(Third Party Support):Waste 2.0 Distribution:Static Libraries', |
|
c0f61d4f5a04
Waste and scrap now sort-of work for Carbon. Scrap is mostly empty, and waste uses a mixture between Waste 2.0 and Waste 1.3.
Jack Jansen <jack.jansen@cwi.nl>
parents:
16181
diff
changeset
|
199 '::::Waste 1.3 Distribution:Extras:Sample Object Handlers', |
|
c0f61d4f5a04
Waste and scrap now sort-of work for Carbon. Scrap is mostly empty, and waste uses a mixture between Waste 2.0 and Waste 1.3.
Jack Jansen <jack.jansen@cwi.nl>
parents:
16181
diff
changeset
|
200 '::::Waste 1.3 Distribution:Extras:Waste Tabs 1.3.2'] |
|
c0f61d4f5a04
Waste and scrap now sort-of work for Carbon. Scrap is mostly empty, and waste uses a mixture between Waste 2.0 and Waste 1.3.
Jack Jansen <jack.jansen@cwi.nl>
parents:
16181
diff
changeset
|
201 ) |
|
16181
a54c282bfb63
Generate Carbon as well as classic PPC plugin projects. This module is finally paying back the investment in it!
Jack Jansen <jack.jansen@cwi.nl>
parents:
16102
diff
changeset
|
202 genpluginproject("ppc", "ctb") |
|
a54c282bfb63
Generate Carbon as well as classic PPC plugin projects. This module is finally paying back the investment in it!
Jack Jansen <jack.jansen@cwi.nl>
parents:
16102
diff
changeset
|
203 genpluginproject("ppc", "icglue", sources=["icgluemodule.c"], |
|
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
|
204 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
|
205 extradirs=["::::ICProgKit1.4:APIs"]) |
|
16335
2852eadb7dab
Ported the icglue module to carbon.
Jack Jansen <jack.jansen@cwi.nl>
parents:
16249
diff
changeset
|
206 genpluginproject("carbon", "icglue", sources=["icgluemodule.c"], |
|
2852eadb7dab
Ported the icglue module to carbon.
Jack Jansen <jack.jansen@cwi.nl>
parents:
16249
diff
changeset
|
207 extradirs=["::::ICProgKit1.4:APIs"]) |
|
16181
a54c282bfb63
Generate Carbon as well as classic PPC plugin projects. This module is finally paying back the investment in it!
Jack Jansen <jack.jansen@cwi.nl>
parents:
16102
diff
changeset
|
208 genpluginproject("ppc", "macspeech", libraries=["SpeechLib"]) |
|
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
|
209 |
|
e0d8a6f2d091
Got it working for all important plugins, and moved it from Build to scripts.
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
210 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
|
211 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
|
212 |
|
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
|
213 |
