Jack Jansen | 6c502d7 | 2000-12-03 22:31:50 +0000 | [diff] [blame] | 1 | import mkcwproject |
| 2 | import sys |
| 3 | import os |
Jack Jansen | b55b7bb | 2001-01-03 16:44:56 +0000 | [diff] [blame] | 4 | import string |
Jack Jansen | 6c502d7 | 2000-12-03 22:31:50 +0000 | [diff] [blame] | 5 | |
Jack Jansen | e791a64 | 2001-08-16 20:39:17 +0000 | [diff] [blame] | 6 | PYTHONDIR = sys.prefix |
| 7 | PROJECTDIR = os.path.join(PYTHONDIR, ":Mac:Build") |
Jack Jansen | 6c502d7 | 2000-12-03 22:31:50 +0000 | [diff] [blame] | 8 | MODULEDIRS = [ # Relative to projectdirs |
| 9 | "::Modules:%s", |
| 10 | "::Modules", |
| 11 | ":::Modules", |
| 12 | ] |
| 13 | |
Jack Jansen | 1eda203 | 2001-01-21 22:24:27 +0000 | [diff] [blame] | 14 | # Global variable to control forced rebuild (otherwise the project is only rebuilt |
| 15 | # when it is changed) |
| 16 | FORCEREBUILD=0 |
| 17 | |
Jack Jansen | b55b7bb | 2001-01-03 16:44:56 +0000 | [diff] [blame] | 18 | def relpath(base, path): |
| 19 | """Turn abs path into path relative to another. Only works for 2 abs paths |
| 20 | both pointing to folders""" |
| 21 | if not os.path.isabs(base) or not os.path.isabs(path): |
| 22 | raise 'Absolute paths only' |
Jack Jansen | 1eda203 | 2001-01-21 22:24:27 +0000 | [diff] [blame] | 23 | if base[-1] == ':': |
| 24 | base = base[:-1] |
Jack Jansen | b55b7bb | 2001-01-03 16:44:56 +0000 | [diff] [blame] | 25 | basefields = string.split(base, os.sep) |
| 26 | pathfields = string.split(path, os.sep) |
| 27 | commonfields = len(os.path.commonprefix((basefields, pathfields))) |
| 28 | basefields = basefields[commonfields:] |
| 29 | pathfields = pathfields[commonfields:] |
Jack Jansen | 1eda203 | 2001-01-21 22:24:27 +0000 | [diff] [blame] | 30 | pathfields = ['']*(len(basefields)+1) + pathfields |
| 31 | rv = string.join(pathfields, os.sep) |
| 32 | return rv |
Jack Jansen | b55b7bb | 2001-01-03 16:44:56 +0000 | [diff] [blame] | 33 | |
Jack Jansen | 8c19b88 | 2001-01-23 22:36:26 +0000 | [diff] [blame] | 34 | def genpluginproject(architecture, module, |
Jack Jansen | 6c502d7 | 2000-12-03 22:31:50 +0000 | [diff] [blame] | 35 | project=None, projectdir=None, |
| 36 | sources=[], sourcedirs=[], |
| 37 | libraries=[], extradirs=[], |
Jack Jansen | b3be216 | 2001-11-30 14:16:36 +0000 | [diff] [blame] | 38 | extraexportsymbols=[], outputdir=":::Lib:lib-dynload", |
Jack Jansen | b66e1a3 | 2002-05-23 22:34:18 +0000 | [diff] [blame^] | 39 | libraryflags=None, stdlibraryflags=None, prefixname=None, |
| 40 | initialize=None): |
Jack Jansen | 8c19b88 | 2001-01-23 22:36:26 +0000 | [diff] [blame] | 41 | if architecture == "all": |
| 42 | # For the time being we generate two project files. Not as nice as |
| 43 | # a single multitarget project, but easier to implement for now. |
| 44 | genpluginproject("ppc", module, project, projectdir, sources, sourcedirs, |
Jack Jansen | 9051e0e | 2002-03-22 14:15:07 +0000 | [diff] [blame] | 45 | libraries, extradirs, extraexportsymbols, outputdir, libraryflags, |
Jack Jansen | b66e1a3 | 2002-05-23 22:34:18 +0000 | [diff] [blame^] | 46 | stdlibraryflags, prefixname, initialize) |
Jack Jansen | 8c19b88 | 2001-01-23 22:36:26 +0000 | [diff] [blame] | 47 | genpluginproject("carbon", module, project, projectdir, sources, sourcedirs, |
Jack Jansen | 9051e0e | 2002-03-22 14:15:07 +0000 | [diff] [blame] | 48 | libraries, extradirs, extraexportsymbols, outputdir, libraryflags, |
Jack Jansen | b66e1a3 | 2002-05-23 22:34:18 +0000 | [diff] [blame^] | 49 | stdlibraryflags, prefixname, initialize) |
Jack Jansen | 8c19b88 | 2001-01-23 22:36:26 +0000 | [diff] [blame] | 50 | return |
| 51 | templatename = "template-%s" % architecture |
| 52 | targetname = "%s.%s" % (module, architecture) |
| 53 | dllname = "%s.%s.slb" % (module, architecture) |
Jack Jansen | 6c502d7 | 2000-12-03 22:31:50 +0000 | [diff] [blame] | 54 | if not project: |
Jack Jansen | 8c19b88 | 2001-01-23 22:36:26 +0000 | [diff] [blame] | 55 | if architecture != "ppc": |
| 56 | project = "%s.%s.mcp"%(module, architecture) |
| 57 | else: |
| 58 | project = "%s.mcp"%module |
Jack Jansen | 6c502d7 | 2000-12-03 22:31:50 +0000 | [diff] [blame] | 59 | if not projectdir: |
| 60 | projectdir = PROJECTDIR |
| 61 | if not sources: |
| 62 | sources = [module + 'module.c'] |
| 63 | if not sourcedirs: |
| 64 | for moduledir in MODULEDIRS: |
| 65 | if '%' in moduledir: |
Jack Jansen | 77105a9 | 2001-08-23 13:51:46 +0000 | [diff] [blame] | 66 | # For historical reasons an initial _ in the modulename |
| 67 | # is not reflected in the folder name |
| 68 | if module[0] == '_': |
| 69 | modulewithout_ = module[1:] |
| 70 | else: |
| 71 | modulewithout_ = module |
| 72 | moduledir = moduledir % modulewithout_ |
Jack Jansen | 6c502d7 | 2000-12-03 22:31:50 +0000 | [diff] [blame] | 73 | fn = os.path.join(projectdir, os.path.join(moduledir, sources[0])) |
| 74 | if os.path.exists(fn): |
| 75 | moduledir, sourcefile = os.path.split(fn) |
Jack Jansen | 1eda203 | 2001-01-21 22:24:27 +0000 | [diff] [blame] | 76 | sourcedirs = [relpath(projectdir, moduledir)] |
Jack Jansen | 6c502d7 | 2000-12-03 22:31:50 +0000 | [diff] [blame] | 77 | sources[0] = sourcefile |
| 78 | break |
| 79 | else: |
| 80 | print "Warning: %s: sourcefile not found: %s"%(module, sources[0]) |
| 81 | sourcedirs = [] |
Jack Jansen | 86c4d64 | 2002-03-14 23:14:43 +0000 | [diff] [blame] | 82 | if prefixname: |
| 83 | pass |
| 84 | elif architecture == "carbon": |
Jack Jansen | 8c19b88 | 2001-01-23 22:36:26 +0000 | [diff] [blame] | 85 | prefixname = "mwerks_carbonplugin_config.h" |
| 86 | else: |
| 87 | prefixname = "mwerks_plugin_config.h" |
Jack Jansen | 6c502d7 | 2000-12-03 22:31:50 +0000 | [diff] [blame] | 88 | dict = { |
Jack Jansen | 1eda203 | 2001-01-21 22:24:27 +0000 | [diff] [blame] | 89 | "sysprefix" : relpath(projectdir, sys.prefix), |
Jack Jansen | 6c502d7 | 2000-12-03 22:31:50 +0000 | [diff] [blame] | 90 | "sources" : sources, |
| 91 | "extrasearchdirs" : sourcedirs + extradirs, |
| 92 | "libraries": libraries, |
Jack Jansen | d39c246 | 2001-08-19 22:29:57 +0000 | [diff] [blame] | 93 | "mac_outputdir" : outputdir, |
Jack Jansen | 6c502d7 | 2000-12-03 22:31:50 +0000 | [diff] [blame] | 94 | "extraexportsymbols" : extraexportsymbols, |
Jack Jansen | 8c19b88 | 2001-01-23 22:36:26 +0000 | [diff] [blame] | 95 | "mac_targetname" : targetname, |
| 96 | "mac_dllname" : dllname, |
| 97 | "prefixname" : prefixname, |
Jack Jansen | 6c502d7 | 2000-12-03 22:31:50 +0000 | [diff] [blame] | 98 | } |
Jack Jansen | b3be216 | 2001-11-30 14:16:36 +0000 | [diff] [blame] | 99 | if libraryflags: |
| 100 | dict['libraryflags'] = libraryflags |
| 101 | if stdlibraryflags: |
| 102 | dict['stdlibraryflags'] = stdlibraryflags |
Jack Jansen | b66e1a3 | 2002-05-23 22:34:18 +0000 | [diff] [blame^] | 103 | if initialize: |
| 104 | dict['initialize'] = initialize |
Jack Jansen | 8c19b88 | 2001-01-23 22:36:26 +0000 | [diff] [blame] | 105 | mkcwproject.mkproject(os.path.join(projectdir, project), module, dict, |
| 106 | force=FORCEREBUILD, templatename=templatename) |
Jack Jansen | 6c502d7 | 2000-12-03 22:31:50 +0000 | [diff] [blame] | 107 | |
Jack Jansen | 1eda203 | 2001-01-21 22:24:27 +0000 | [diff] [blame] | 108 | def genallprojects(force=0): |
| 109 | global FORCEREBUILD |
| 110 | FORCEREBUILD = force |
Jack Jansen | 6c502d7 | 2000-12-03 22:31:50 +0000 | [diff] [blame] | 111 | # Standard Python modules |
Jack Jansen | 86c4d64 | 2002-03-14 23:14:43 +0000 | [diff] [blame] | 112 | genpluginproject("ppc", "pyexpat", |
| 113 | sources=["pyexpat.c", "xmlparse.c", "xmlrole.c", "xmltok.c"], |
| 114 | extradirs=[":::Modules:expat"], |
| 115 | prefixname="mwerks_pyexpat_config.h" |
| 116 | ) |
| 117 | genpluginproject("carbon", "pyexpat", |
| 118 | sources=["pyexpat.c", "xmlparse.c", "xmlrole.c", "xmltok.c"], |
| 119 | extradirs=[":::Modules:expat"], |
| 120 | prefixname="mwerks_carbonpyexpat_config.h" |
| 121 | ) |
Jack Jansen | 8c19b88 | 2001-01-23 22:36:26 +0000 | [diff] [blame] | 122 | genpluginproject("all", "zlib", |
Jack Jansen | 6c502d7 | 2000-12-03 22:31:50 +0000 | [diff] [blame] | 123 | libraries=["zlib.ppc.Lib"], |
| 124 | extradirs=["::::imglibs:zlib:mac", "::::imglibs:zlib"]) |
Jack Jansen | 8c19b88 | 2001-01-23 22:36:26 +0000 | [diff] [blame] | 125 | genpluginproject("all", "gdbm", |
Jack Jansen | 6c502d7 | 2000-12-03 22:31:50 +0000 | [diff] [blame] | 126 | libraries=["gdbm.ppc.gusi.lib"], |
| 127 | extradirs=["::::gdbm:mac", "::::gdbm"]) |
Jack Jansen | 6e27118 | 2001-02-12 14:50:52 +0000 | [diff] [blame] | 128 | genpluginproject("all", "_weakref", sources=["_weakref.c"]) |
| 129 | genpluginproject("all", "_symtable", sources=["symtablemodule.c"]) |
Jack Jansen | 7c10008 | 2001-08-29 22:08:06 +0000 | [diff] [blame] | 130 | # Example/test modules |
Jack Jansen | 6e27118 | 2001-02-12 14:50:52 +0000 | [diff] [blame] | 131 | genpluginproject("all", "_testcapi") |
Jack Jansen | 7c10008 | 2001-08-29 22:08:06 +0000 | [diff] [blame] | 132 | genpluginproject("all", "xx") |
| 133 | genpluginproject("all", "xxsubtype", sources=["xxsubtype.c"]) |
Jack Jansen | 6f1da00 | 2001-10-23 22:23:44 +0000 | [diff] [blame] | 134 | genpluginproject("all", "_hotshot", sources=["_hotshot.c"]) |
Jack Jansen | 6c502d7 | 2000-12-03 22:31:50 +0000 | [diff] [blame] | 135 | |
| 136 | # bgen-generated Toolbox modules |
Jack Jansen | 77105a9 | 2001-08-23 13:51:46 +0000 | [diff] [blame] | 137 | genpluginproject("carbon", "_AE", outputdir="::Lib:Carbon") |
Jack Jansen | 5ee24ae | 2002-03-24 22:59:16 +0000 | [diff] [blame] | 138 | genpluginproject("ppc", "_AE", libraries=["ObjectSupportLib"], |
| 139 | stdlibraryflags="Debug, WeakImport", outputdir="::Lib:Carbon") |
Jack Jansen | a7594db | 2001-12-05 22:46:23 +0000 | [diff] [blame] | 140 | genpluginproject("ppc", "_App", libraries=["CarbonAccessors.o", "AppearanceLib"], |
| 141 | libraryflags="Debug, WeakImport", outputdir="::Lib:Carbon") |
Jack Jansen | 77105a9 | 2001-08-23 13:51:46 +0000 | [diff] [blame] | 142 | genpluginproject("carbon", "_App", outputdir="::Lib:Carbon") |
Jack Jansen | 5ee24ae | 2002-03-24 22:59:16 +0000 | [diff] [blame] | 143 | genpluginproject("ppc", "_Cm", libraries=["QuickTimeLib"], |
| 144 | stdlibraryflags="Debug, WeakImport", outputdir="::Lib:Carbon") |
Jack Jansen | 77105a9 | 2001-08-23 13:51:46 +0000 | [diff] [blame] | 145 | genpluginproject("carbon", "_Cm", outputdir="::Lib:Carbon") |
Just van Rossum | 11ccf3c | 2001-12-13 13:21:38 +0000 | [diff] [blame] | 146 | # XXX can't work properly because we need to set a custom fragment initializer |
| 147 | #genpluginproject("carbon", "_CG", |
| 148 | # sources=["_CGModule.c", "CFMLateImport.c"], |
| 149 | # libraries=["CGStubLib"], |
| 150 | # outputdir="::Lib:Carbon") |
Jack Jansen | 77105a9 | 2001-08-23 13:51:46 +0000 | [diff] [blame] | 151 | genpluginproject("carbon", "_Ctl", outputdir="::Lib:Carbon") |
Jack Jansen | a7594db | 2001-12-05 22:46:23 +0000 | [diff] [blame] | 152 | genpluginproject("ppc", "_Ctl", libraries=["CarbonAccessors.o", "ControlsLib", "AppearanceLib"], |
Jack Jansen | b3be216 | 2001-11-30 14:16:36 +0000 | [diff] [blame] | 153 | libraryflags="Debug, WeakImport", outputdir="::Lib:Carbon") |
Jack Jansen | 77105a9 | 2001-08-23 13:51:46 +0000 | [diff] [blame] | 154 | genpluginproject("carbon", "_Dlg", outputdir="::Lib:Carbon") |
Jack Jansen | a7594db | 2001-12-05 22:46:23 +0000 | [diff] [blame] | 155 | genpluginproject("ppc", "_Dlg", libraries=["CarbonAccessors.o", "DialogsLib", "AppearanceLib"], |
Jack Jansen | b3be216 | 2001-11-30 14:16:36 +0000 | [diff] [blame] | 156 | libraryflags="Debug, WeakImport", outputdir="::Lib:Carbon") |
Jack Jansen | 77105a9 | 2001-08-23 13:51:46 +0000 | [diff] [blame] | 157 | genpluginproject("carbon", "_Drag", outputdir="::Lib:Carbon") |
Jack Jansen | 5ee24ae | 2002-03-24 22:59:16 +0000 | [diff] [blame] | 158 | genpluginproject("ppc", "_Drag", libraries=["DragLib"], |
| 159 | libraryflags="Debug, WeakImport", outputdir="::Lib:Carbon") |
| 160 | genpluginproject("all", "_Evt", |
| 161 | stdlibraryflags="Debug, WeakImport", outputdir="::Lib:Carbon") |
| 162 | genpluginproject("all", "_Fm", |
| 163 | stdlibraryflags="Debug, WeakImport", outputdir="::Lib:Carbon") |
Jack Jansen | 77105a9 | 2001-08-23 13:51:46 +0000 | [diff] [blame] | 164 | genpluginproject("ppc", "_Help", outputdir="::Lib:Carbon") |
Jack Jansen | 5ee24ae | 2002-03-24 22:59:16 +0000 | [diff] [blame] | 165 | genpluginproject("ppc", "_Icn", libraries=["IconServicesLib"], |
| 166 | libraryflags="Debug, WeakImport", outputdir="::Lib:Carbon") |
Jack Jansen | 77105a9 | 2001-08-23 13:51:46 +0000 | [diff] [blame] | 167 | genpluginproject("carbon", "_Icn", outputdir="::Lib:Carbon") |
| 168 | genpluginproject("all", "_List", outputdir="::Lib:Carbon") |
| 169 | genpluginproject("carbon", "_Menu", outputdir="::Lib:Carbon") |
Jack Jansen | a7594db | 2001-12-05 22:46:23 +0000 | [diff] [blame] | 170 | genpluginproject("ppc", "_Menu", libraries=["CarbonAccessors.o", "MenusLib", "ContextualMenu", "AppearanceLib"], |
Jack Jansen | b3be216 | 2001-11-30 14:16:36 +0000 | [diff] [blame] | 171 | libraryflags="Debug, WeakImport", outputdir="::Lib:Carbon") |
Jack Jansen | 5ee24ae | 2002-03-24 22:59:16 +0000 | [diff] [blame] | 172 | genpluginproject("all", "_Qd", |
| 173 | stdlibraryflags="Debug, WeakImport", outputdir="::Lib:Carbon") |
| 174 | genpluginproject("ppc", "_Qt", libraries=["QuickTimeLib"], |
| 175 | libraryflags="Debug, WeakImport", outputdir="::Lib:Carbon") |
| 176 | genpluginproject("carbon", "_Qt", |
| 177 | libraryflags="Debug, WeakImport", outputdir="::Lib:Carbon") |
| 178 | genpluginproject("all", "_Qdoffs", |
| 179 | stdlibraryflags="Debug, WeakImport", outputdir="::Lib:Carbon") |
Jack Jansen | 9051e0e | 2002-03-22 14:15:07 +0000 | [diff] [blame] | 180 | genpluginproject("all", "_Res", |
| 181 | stdlibraryflags="Debug, WeakImport", outputdir="::Lib:Carbon") |
Jack Jansen | 77105a9 | 2001-08-23 13:51:46 +0000 | [diff] [blame] | 182 | genpluginproject("all", "_Scrap", outputdir="::Lib:Carbon") |
Jack Jansen | a7594db | 2001-12-05 22:46:23 +0000 | [diff] [blame] | 183 | genpluginproject("ppc", "_Snd", libraries=["CarbonAccessors.o", "SoundLib"], outputdir="::Lib:Carbon") |
Jack Jansen | 77105a9 | 2001-08-23 13:51:46 +0000 | [diff] [blame] | 184 | genpluginproject("carbon", "_Snd", outputdir="::Lib:Carbon") |
| 185 | genpluginproject("all", "_Sndihooks", sources=[":snd:_Sndihooks.c"], outputdir="::Lib:Carbon") |
Jack Jansen | 5ee24ae | 2002-03-24 22:59:16 +0000 | [diff] [blame] | 186 | genpluginproject("ppc", "_TE", libraries=["CarbonAccessors.o", "DragLib"], |
| 187 | stdlibraryflags="Debug, WeakImport", |
| 188 | libraryflags="Debug, WeakImport", outputdir="::Lib:Carbon") |
Jack Jansen | 77105a9 | 2001-08-23 13:51:46 +0000 | [diff] [blame] | 189 | genpluginproject("carbon", "_TE", outputdir="::Lib:Carbon") |
Jack Jansen | 5ee24ae | 2002-03-24 22:59:16 +0000 | [diff] [blame] | 190 | genpluginproject("ppc", "_Mlte", libraries=["Textension"], |
| 191 | libraryflags="Debug, WeakImport", outputdir="::Lib:Carbon") |
Jack Jansen | 77105a9 | 2001-08-23 13:51:46 +0000 | [diff] [blame] | 192 | genpluginproject("carbon", "_Mlte", outputdir="::Lib:Carbon") |
| 193 | genpluginproject("carbon", "_Win", outputdir="::Lib:Carbon") |
Jack Jansen | b3be216 | 2001-11-30 14:16:36 +0000 | [diff] [blame] | 194 | genpluginproject("ppc", "_Win", libraries=["CarbonAccessors.o", "WindowsLib", "AppearanceLib"], |
| 195 | libraryflags="Debug, WeakImport", outputdir="::Lib:Carbon") |
Jack Jansen | 1986412 | 2001-07-13 20:57:47 +0000 | [diff] [blame] | 196 | # Carbon Only? |
Jack Jansen | 77105a9 | 2001-08-23 13:51:46 +0000 | [diff] [blame] | 197 | genpluginproject("carbon", "_CF", outputdir="::Lib:Carbon") |
Just van Rossum | aa6e83f | 2001-12-12 22:42:37 +0000 | [diff] [blame] | 198 | genpluginproject("carbon", "_CarbonEvt", outputdir="::Lib:Carbon") |
Jack Jansen | df222d2 | 2001-11-06 15:56:56 +0000 | [diff] [blame] | 199 | genpluginproject("carbon", "hfsplus") |
Jack Jansen | f4b9fb7 | 2001-06-26 21:52:08 +0000 | [diff] [blame] | 200 | |
Jack Jansen | 6c502d7 | 2000-12-03 22:31:50 +0000 | [diff] [blame] | 201 | # Other Mac modules |
Jack Jansen | 8c19b88 | 2001-01-23 22:36:26 +0000 | [diff] [blame] | 202 | genpluginproject("all", "calldll", sources=["calldll.c"]) |
| 203 | genpluginproject("all", "ColorPicker") |
| 204 | genpluginproject("ppc", "Printing") |
Jack Jansen | 4a667c7 | 2002-01-11 12:39:03 +0000 | [diff] [blame] | 205 | ## genpluginproject("ppc", "waste", |
| 206 | ## sources=[ |
| 207 | ## "wastemodule.c", |
| 208 | ## 'WEAccessors.c', 'WEBirthDeath.c', 'WEDebug.c', |
| 209 | ## 'WEDrawing.c', 'WEFontTables.c', 'WEHighLevelEditing.c', |
| 210 | ## 'WEICGlue.c', 'WEInlineInput.c', 'WELineLayout.c', 'WELongCoords.c', |
| 211 | ## 'WELowLevelEditing.c', 'WEMouse.c', 'WEObjects.c', 'WEScraps.c', |
| 212 | ## 'WESelecting.c', 'WESelectors.c', 'WEUserSelectors.c', 'WEUtilities.c', |
| 213 | ## 'WEObjectHandlers.c', |
| 214 | ## 'WETabs.c', |
| 215 | ## 'WETabHooks.c'], |
| 216 | ## libraries=['DragLib'], |
| 217 | ## extradirs=[ |
| 218 | ## '::::Waste 1.3 Distribution:*', |
| 219 | ## '::::ICProgKit1.4:APIs'] |
| 220 | ## ) |
| 221 | # This is a hack, combining parts of Waste 2.0 with parts of 1.3 |
Jack Jansen | 8c19b88 | 2001-01-23 22:36:26 +0000 | [diff] [blame] | 222 | genpluginproject("ppc", "waste", |
Jack Jansen | 6c502d7 | 2000-12-03 22:31:50 +0000 | [diff] [blame] | 223 | sources=[ |
| 224 | "wastemodule.c", |
Jack Jansen | 4a667c7 | 2002-01-11 12:39:03 +0000 | [diff] [blame] | 225 | "WEObjectHandlers.c", |
| 226 | "WETabs.c", "WETabHooks.c"], |
| 227 | libraries=[ |
| 228 | "WASTE.PPC.lib", |
| 229 | "TextCommon", |
| 230 | "UnicodeConverter", |
| 231 | "DragLib", |
| 232 | ], |
Jack Jansen | 0e1c24a | 2001-01-22 14:50:05 +0000 | [diff] [blame] | 233 | extradirs=[ |
Jack Jansen | 4a667c7 | 2002-01-11 12:39:03 +0000 | [diff] [blame] | 234 | '{Compiler}:MacOS Support:(Third Party Support):Waste 2.0 Distribution:C_C++ Headers', |
| 235 | '{Compiler}:MacOS Support:(Third Party Support):Waste 2.0 Distribution:Static Libraries', |
| 236 | '::wastemods', |
| 237 | ] |
Jack Jansen | 6c502d7 | 2000-12-03 22:31:50 +0000 | [diff] [blame] | 238 | ) |
Jack Jansen | 8c98266 | 2001-01-24 16:02:07 +0000 | [diff] [blame] | 239 | genpluginproject("carbon", "waste", |
| 240 | sources=[ |
| 241 | "wastemodule.c", |
| 242 | "WEObjectHandlers.c", |
| 243 | "WETabs.c", "WETabHooks.c"], |
| 244 | libraries=["WASTE.Carbon.lib"], |
| 245 | extradirs=[ |
| 246 | '{Compiler}:MacOS Support:(Third Party Support):Waste 2.0 Distribution:C_C++ Headers', |
| 247 | '{Compiler}:MacOS Support:(Third Party Support):Waste 2.0 Distribution:Static Libraries', |
Jack Jansen | 4a667c7 | 2002-01-11 12:39:03 +0000 | [diff] [blame] | 248 | '::wastemods', |
| 249 | ] |
Jack Jansen | 8c98266 | 2001-01-24 16:02:07 +0000 | [diff] [blame] | 250 | ) |
Jack Jansen | 4a667c7 | 2002-01-11 12:39:03 +0000 | [diff] [blame] | 251 | ## '::::Waste 1.3 Distribution:Extras:Sample Object Handlers', |
| 252 | ## '::::Waste 1.3 Distribution:Extras:Waste Tabs 1.3.2'] |
Jack Jansen | 8c19b88 | 2001-01-23 22:36:26 +0000 | [diff] [blame] | 253 | genpluginproject("ppc", "ctb") |
| 254 | genpluginproject("ppc", "icglue", sources=["icgluemodule.c"], |
Jack Jansen | 4a667c7 | 2002-01-11 12:39:03 +0000 | [diff] [blame] | 255 | libraries=["InternetConfigLib"]) |
| 256 | genpluginproject("carbon", "icglue", sources=["icgluemodule.c"]) |
Jack Jansen | 8c19b88 | 2001-01-23 22:36:26 +0000 | [diff] [blame] | 257 | genpluginproject("ppc", "macspeech", libraries=["SpeechLib"]) |
Jack Jansen | 6c502d7 | 2000-12-03 22:31:50 +0000 | [diff] [blame] | 258 | |
| 259 | if __name__ == '__main__': |
| 260 | genallprojects() |
| 261 | |
Jack Jansen | 1eda203 | 2001-01-21 22:24:27 +0000 | [diff] [blame] | 262 | |