magic/doc/html
Darryl L. Miles 4e967a4766 build: out-of-tree outlier Makefiles — full make + install
Fix the remaining non-standard Makefiles so a full out-of-tree
`../configure && make && make install` builds and installs a complete
magic TCL tree, sources read from the source tree, all outputs in the
build tree.

Shared linker/preprocessor paths (scripts/configure.in, regenerated
scripts/configure):
* --version-script=${MAGICDIR}/magic/symbol.map -> ${MAGICSRC}/... so
  every shared-library link (tclmagic.so, ...) finds the source map.
* MCPP preproc.py path ${MAGICDIR}/scripts -> ${MAGICSRC}/scripts.

Programs (built via tcllibrary, PROGRAMS = magic tcltk):
* magic/Makefile: proto.magicrc, magicWasm.o and the bitmaps/.initrc/
  magicps.pro install copies use $< / $(srcdir) instead of bare names.
* tcltk/Makefile: magicexec/magicdnull compile $<; the sed'd launcher
  scripts (magic.tcl/.sh, ext2spice.sh, ext2sim.sh) read $<; VERSION dep
  -> ${MAGICSRC}; install-tcl copies each TCL file from the build dir if
  present else $(srcdir) (magic.tcl is generated, the rest are source).

Techs (scmos):
* scmos/Makefile: SC_PP template include -> $(srcdir)/extract_template;
  tech-file inputs (scmos.tech.in, *.tech.in) via $(srcdir)/$< ; recurse
  into cif_template with mkdir + -f ${MAGICSRC}/scmos/cif_template/Makefile;
  install copies from build-or-$(srcdir).
* scmos/cif_template/Makefile: MKDIR -> ${MAGICSRC}/scripts/mkdirs;
  SC_CPP gains -I$(srcdir); cpp reads $(srcdir)/cif{in,out}.c so the .gen
  includes resolve; objs/ generated in the build tree.

Data-file installs (source files copied from $(srcdir)):
* graphics/Makefile: glyphs, outline fonts, and the X11 helper build.
* windows/Makefile: glyphs and vector fonts.
* doc/Makefile: recurse into man/tutcells/html/latexfiles build-aware;
  doc/man, doc/tutcells install with $< ; doc/html tars $(srcdir);
  doc/latexfiles reads pre-built PostScript from ${MAGICSRC}/doc/psfiles.

Verified out-of-tree (mkdir _build; cd _build; ../configure): `make`
returns rc=0 (33 module libs, tclmagic.so, magicexec/magicdnull, scmos
tech files + cif_template objs, proto.magicrc), and
`make install DESTDIR=...` returns rc=0 installing 376 files
(bin/magic, tcl/tclmagic.so, sys/ glyphs+fonts+techs+dstyles), with the
source tree left completely clean.

Not exercised by the default TCL build/install and therefore not
converted here: the standalone .so/program variants of
lef/plot/router/ext2spice/ext2sim (their module libs do build), the
disabled oa module (-I. -> -I$(srcdir) still needed if enabled), the
WASM path, and doc/latexfiles PostScript *regeneration* (which still
writes into the source psfiles dir).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-26 14:54:11 -04:00
..
color Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
graphics Added a drc check to the gencell change procedure, as it appears 2025-10-28 15:10:03 -04:00
netlist Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
wind3d Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
wizard Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
Makefile build: out-of-tree outlier Makefiles — full make + install 2026-07-26 14:54:11 -04:00
addcommandentry.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
addpath.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
antennacheck.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
archive.html Added a new command "archive" that works roughly like the "crash" 2025-09-10 12:40:40 -04:00
array.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
box.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
calma.html Updated all of the documentation by copying back from the website. 2022-01-21 10:44:13 -05:00
caption.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
cellmanager.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
cellname.html Made a fairly major overhaul to the toolkit for generated devices. 2026-04-02 17:13:17 -04:00
cellsearch.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
center.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
changetool.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
channels.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
cif.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
clockwise.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
closewindow.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
closewrapper.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
commands.html Fixed an error introduced in the last commit (which has been in the 2026-04-24 11:21:15 -04:00
commands.list Added HTML documentation for the new "units" command. 2026-01-24 16:50:16 -05:00
contact.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
copy.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
corner.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
crash.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
crashbackups.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
crosshair.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
cursor.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
def.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
delete.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
deletecommandentry.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
direction.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
display.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
distance.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
down.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
drc.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
drop.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
dump.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
edit.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
element.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
erase.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
expand.html Also updated the HTML command reference for the "expand" and 2026-04-04 21:03:06 -04:00
ext.html Reimplemented the "extract do local" option as "extract path <name>" 2023-06-14 13:55:59 -04:00
ext2sim.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
ext2spice.html Added new statements "connect" and "disconnect" to the extract 2025-10-06 11:50:38 -04:00
extract.html Claude Fable 5 implemented capacitance checking at shape corners, 2026-07-08 09:13:07 -04:00
extresist.html Additional tweaks to the handling of the three new options for 2026-06-01 17:21:02 -04:00
feedback.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
fill.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
findbox.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
findlabel.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
flatten.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
flush.html feat: flush [-noprompt], option support 2025-01-07 13:58:45 -05:00
garoute.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
gds.html Corrected another place where the property handling had not been 2026-02-19 11:40:46 -05:00
get.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
getcell.html Modified the syntax of the "getcell" command to make the 2025-08-15 10:24:31 -04:00
getnode.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
goto.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
grid.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
help.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
identify.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
imacro.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
initialize.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
instance.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
invoke.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
iroute.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
irsim.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
label.html Added documentation for the attribute labels in the "label" command 2026-03-18 19:28:23 -04:00
lef.html Modified "gds flatglob" to have the value "*_CDNS_*" by default, 2025-09-26 09:18:43 -04:00
load.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
locking.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
logcommands.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
macro.html Added HTML documentation for the "macro" command, after finding that 2026-04-13 13:01:54 -04:00
maketoolbar.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
measure.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
move.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
netlist.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
openwindow.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
openwrapper.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
orient.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
paint.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
path.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
peekbox.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
plot.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
plow.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
polygon.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
popbox.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
popstack.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
port.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
promptload.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
promptsave.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
property.html Corrected the HTML text of the "property" command documentation, 2026-07-03 16:47:58 -04:00
pushbox.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
pushbutton.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
pushstack.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
quit.html feat: quit [exit_status], option support 2025-01-07 13:58:45 -05:00
random.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
readspice.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
redo.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
redraw.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
render3d.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
resumeall.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
rotate.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
route.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
ruler.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
save.html Added a new command "archive" that works roughly like the "crash" 2025-09-10 12:40:40 -04:00
scalegrid.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
scroll.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
search.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
see.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
select.html Added a command option for "select move" without specifying the 2025-08-27 09:57:22 -04:00
setlabel.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
setpoint.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
shell.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
sideways.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
sleep.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
snap.html Made some changes to the "snap" HTML document to reflect the way 2026-01-24 16:55:14 -05:00
specialopen.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
spliterase.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
splitpaint.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
startup.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
straighten.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
stretch.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
suspendall.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
tag.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
tech.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
techmanager.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
template.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
tk_path_name.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
tool.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
undo.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
unexpand.html Also updated the HTML command reference for the "expand" and 2026-04-04 21:03:06 -04:00
units.html Added HTML documentation for the new "units" command. 2026-01-24 16:50:16 -05:00
unmeasure.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
updatedisplay.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
upsidedown.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
version.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
view.html Fixed a number of places in the Tcl code where "snap" had been used 2026-02-24 15:59:21 -05:00
what.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
windowborder.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
windowcaption.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
windownames.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
windowscrollbars.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
wire.html Updated the HTML documentation on the "wire" command to add the 2025-02-22 21:00:04 -05:00
writeall.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
xload.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
xor.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
xview.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00
zoom.html Updated the HTML command reference files to refer to magic version 8.3, 2024-01-09 16:37:00 -05:00