lepton-eda-1.9.16/0000755000175000017500000000000014101262662010641 500000000000000lepton-eda-1.9.16/Makefile.am0000644000175000017500000000706314101257250012620 00000000000000if ENABLE_ATTRIB ATTRIB_DIR=libleptonattrib endif if ENABLE_CONTRIB CONTRIB_DIR=contrib endif SUBDIRS = \ liblepton \ ${ATTRIB_DIR} \ libleptongui \ schematic \ utils \ symbols \ docs \ examples \ ${CONTRIB_DIR} ACLOCAL_AMFLAGS = -I m4 # We need to ensure that `make distcheck' *doesn't* find a git # repository! # # We also should be able to successfully build & install without # groff. false=/bin/sh -c '! :' DISTCHECK_CONFIGURE_FLAGS = \ GIT="$(false)" \ GROFF="$(false)" \ --disable-update-xdg-database BUILT_SOURCES = version.h TEST_LOG_DRIVER = $(GUILE) $(top_srcdir)/build-tools/test-driver.scm AM_TESTS_ENVIRONMENT = env \ LANG=C \ abs_top_builddir='$(abs_top_builddir)' \ abs_top_srcdir='$(abs_top_srcdir)' \ GUILE_AUTO_COMPILE='0' \ GUILE_LOAD_PATH='$(abs_top_srcdir)/tests' \ GUILE_LOAD_COMPILED_PATH='' \ LEPTON_INHIBIT_RC_FILES='yes' TESTS = tests/netlist.test EXTRA_DIST = \ autogen.sh \ version.h \ version.h.in \ CODE_OF_CONDUCT.md \ CONTRIBUTING.md \ COPYING \ COPYING.LGPL \ NEWS.md \ README.md \ ChangeLog \ tests/env.scm \ $(TESTS) # Generate version.h. This works by looking at any git repository that # is present in the source directory (detected at configure time). If # there is a git repository, the HEAD commitid is checked every time # the package is built to see if it has changed. If so, version.h is # regenerated. If there isn't a git repository, version.h is just # assumed to be present (since the generated version.h is distributed # in the source tarball). if HAVE_GIT_REPO version.h: stamp-git $(top_builddir)/configure $(srcdir)/version.h.in @if test ! -f version.h; then \ rm -f stamp-git; \ $(MAKE) $(AM_MAKEFLAGS) stamp-git; \ else :; fi @date_ver=$(DATE_VERSION); dotted_ver=$(DOTTED_VERSION); \ git_commit=`cd $(srcdir) && $(GIT) rev-parse HEAD`; \ sed -e"s:^.*\(PACKAGE_DATE_VERSION\).*$$:#define \1 \"$$date_ver\":" \ -e"s:^.*\(PACKAGE_DOTTED_VERSION\).*$$:#define \1 \"$$dotted_ver\":" \ -e"s:^.*\(PACKAGE_GIT_COMMIT\).*$$:#define \1 \"$$git_commit\":" \ < $(srcdir)/version.h.in > version.h.new; \ if diff version.h version.h.new > /dev/null 2>&1; then \ echo "version.h is unchanged"; \ rm -f version.h.new; \ else \ echo "Recreating version.h"; \ mv version.h.new version.h; \ fi stamp-git: @last_version=`if test -f stamp-git; then cat stamp-git; else :; fi`; \ now_version=`cd $(srcdir) && $(GIT) rev-parse HEAD`; \ if test "X$$now_version" != "X$$last_version"; then \ echo $$now_version > stamp-git; \ echo "Now at git commit $$now_version..."; \ fi .PHONY: stamp-git endif HAVE_GIT_REPO doxygen: if ENABLE_DOXYGEN @for subdir in libleptonattrib/docs libleptongui/docs \ liblepton/docs ; do \ (cd $$subdir; $(MAKE) doxygen) || exit 1; \ done else @echo 'configure was not run with the --enable-doxygen switch.' @echo 'The documentation cannot be built from the sources.' endif precompile: @LEPTON_SCM_PRECOMPILE=1 \ LEPTON_SCM_PRECOMPILE_SCRIPT=$(datadir)/lepton-eda/scheme/schematic/precompile.scm \ LEPTON_SCM_PRECOMPILE_SCM_DIR=$(datadir)/lepton-eda/scheme \ LEPTON_SCM_PRECOMPILE_OUT_DIR=$(datadir)/lepton-eda/ccache \ LEPTON_SCM_PRECOMPILE_RECURSIVE=1 \ LEPTON_SCM_PRECOMPILE_FNAME_EXT=.scm \ $(bindir)/lepton-schematic install-data-local: $(MKDIR_P) $(DESTDIR)$(docdir) cp -v $(srcdir)/README.md $(DESTDIR)$(docdir) cp -v $(srcdir)/NEWS.md $(DESTDIR)$(docdir) uninstall-local: rm -vfr $(DESTDIR)$(includedir)/liblepton rm -vfr $(DESTDIR)$(includedir)/libleptonattrib rm -vfr $(DESTDIR)$(pkgdatadir) rm -vfr $(DESTDIR)$(docdir) CLEANFILES = stamp-git lepton-eda-1.9.16/NEWS.md0000644000175000017500000032632314101262226011664 00000000000000Recent Changes in Lepton EDA ============================ This file documents important user-visible changes in Lepton EDA. For more information, please consult `git log` history. Notable changes in Lepton EDA 1.9.16 (20210731) ----------------------------------------------- ### General changes: - Compilation warnings on running Lepton utilities written in Scheme, which shown up in the previous release, have been fixed. - Several symbols in the `sym/analog` have been fixed by adding missing `footprint`, `value`, and `symversion` attributes. - Test schematics for netlister have been made self-sufficient by adding symbols they depend on. - A new integration test suite written in Scheme has been added to unify testing of all Lepton utilities in future. ### Changes when building from source: - Versions of `Cygwin` libraries are now updated automatically. ### Changes in `liblepton`: - Several Scheme functions related to source libraries have been fixed or improved as follows: - The function `source-library-search()` no longer adds wrong directories with duplicated root name. - The functions `source-library()`, `source-library-search()`, `reset-source-library()` now return the value of the default source library record. - The functions now check the type of their arguments and raise `'wrong-type-arg` exception if it is wrong. ### Changes in `lepton-schematic`: - Several status bar indicators have been made interactive. Now, the user can change the *rubber band* and *magnetic net* modes and sizes of grid and snap simply by clicking on the indicators. ### Changes in `lepton-netlist`: - The output of the `switcap` netlister backend which was broken for several years is now fixed according to its documentation. Notable changes in Lepton EDA 1.9.15 (20210626) ----------------------------------------------- ### General changes: - The test suite has been fixed and now `make distcheck` can be run under the `root` user account without errors. - Lepton now fully supports GTK 3.0.0: - Several warnings on functions deprecated in GTK/GDK 3.0.0 have been fixed. - See also changes in `lepton-schematic` below. - A bug with visual representation of arcs in raster images and on canvas of `lepton-schematic` has been fixed. - All Lepton utilities, even the GUI ones, no longer use `liblepton` as a Scheme extension. Now the libraries are properly dynamically loaded by Scheme as any other libs. ### Changes when building from source: - Fixed building with `--disable-attrib`: the `bin/lepton-attrib` script is no longer installed. - Versions of `Cygwin` libraries have been updated to match actual versions of `liblepton`, `libleptongui` and `libleptonattrib`. ### Changes in `liblepton`: - Several core C structs in the library have been amended to contain only relevant information about primitive objects. - The following core Scheme modules written in C have been removed and their functions have been reimplemented using Scheme FFI: - `(lepton core deprecated)` - `(lepton core object)` - `(lepton core os)` - A new module, `(lepton object type)`, has been introduced. It now contains functions from `(lepton object)`, and exported in that module as well, that query the type of primitive Lepton's objects. - Definitions of foreign functions are now residing in a new module, `(lepton ffi)`. The module contains definitions of Scheme counterparts of C functions in the `liblepton` library. - The Scheme function `platform()` no longer outputs `'(carbon)`. There is no reasonable replacement yet, so the function outputs `'(unknown)` on those Mac machines on which it usually did so. ### Changes in `lepton-schematic`: - Snap size and grid size indicators now have separate labels in the status bar. The snap size label changes its text color and decoration to draw user's attention when snap size currently set differs from the value in configuration. It helps avoiding mistakes when constructing new symbols. - Lepton now fully supports GTK 3.0.0. Apart from fixes mentioned above the following changes have been made: - A bug of not showing text of hidden attributes in the **Multiattrib** dialog of `lepton-schematic` has been fixed. - Displaying of tabs has been improved. - Displaying of the **Object properties** dialog in the docked view of the program has been fixed so all widgets are shown properly now. Notable changes in Lepton EDA 1.9.14 (20210407) ----------------------------------------------- ### General changes: - The output of `--help` and `--version` command line options for all utils has been unified and simplified: reduced long lines, added links to Lepton's issue tracker and home page as well as copyright information. The options have been added to the programs that missed them. - Several changes have been made in the directory layout of the repository: - Directory with examples for `gmk_sym` has been moved to `contrib/` in where the script actually resides. - The program `lepton-renum` has been moved to `contrib/`. - The following scripts have been moved with tests, examples and documentation to dedicated directories under `utils/`: - `lepton-archive` - `lepton-attrib` - `lepton-cli` - `lepton-embed` - `lepton-netlist` - `lepton-pcb_backannotate` - `lepton-refdes_renum` - `lepton-sch2pcb` - `lepton-schdiff` - `lepton-symcheck` - `lepton-symfix` - `lepton-tragesym` - `lepton-upcfg` - `m4` files used by `autoconf` have been renamed. - `ChangeLog` files for Lepton tools are no longer generated. A toplevel `ChangeLog` file has been added with description of where and how to get the information on changes. - Empty `ChangeLog` files have been removed from `po/` directories. - `.gitignore` files have been cleaned up. - Several other documentation files have been moved from `utils/` to `contrib/` or `docs/`, or removed. - The contents of the `symbols/` directory has been reorganized as well: - Most of symbols have been moved to `symbols/sym`. - Added the subdirectory `docs/` for documentation. - Added the subdirectory `scheme/` for Scheme files. - Directories with symbols that have names conflicting with those living in the `sym/` subdirectory have been renamed and are now prefixed with `sym-`. ### Changes when building from source: - Fixed building of *doxygen* documentation. ### Changes in `docs`: - Relatively new Scheme functions are now documented in the Lepton EDA Scheme manual: `config?()`, `user-cache-dir()`, `cache-config-context()`, and `anyfile-config-context()`. - Lepton EDA reference manual has been updated with info on `lepton-cli` usage. - Fixed a link in Lepton EDA reference manual to the Lepton EDA Scheme API manual in HTML format. - The contents of the file `nc.doc` about no-connection symbols has been moved to the Lepton EDA reference manual. ### Changes in `liblepton`: - The module `(lepton core smob)` written in C does no longer exist. Its exported functions have been reimplemented using Scheme FFI. - Many of the basic Scheme functions in the `(lepton core object)` module defined in the C code have been rewritten using plain Scheme FFI. - Foreign functions in Scheme code have been renamed accordingly to their C counterparts. - The files which names started with `geda_` have been renamed and this prefix has been dropped. - The types which names were prefixed with `Geda` have been renamed and now have the prefix `Lepton`. Their sibling types, e.g. `OBJECT` for `LeptonObject` have been removed. - The functions which names were prefixed with `geda_` have been renamed so that their name are now start with `lepton_`. Many other functions related to objects have been renamed in similar way as well. - The `component_embedded` field of the `LeptonObject` structure has been renamed to `embedded` and moved to `LeptonComponent`. Accessors for this field have been added to not use it directly. - Many new checks for object type have been added in functions dealing with objects. - Object types are no longer queried explicitly in the code. Type accessors have been added which are used both in C and Scheme FFI code. - Accessors for the `CHANGED` field of the renamed structure `LeptonPage` have been added to facilitate using it in Scheme. - The following redundant types have been eliminated: `BOX`, `OBJECT_END`, `OBJECT_FILLING`, `OBJECT_TYPE`, `PATH`, `PICTURE`, `SELECTION`, `TEXT`, `TOPLEVEL`, `UNDO`, `sPOINT`. - The type `LeptonStroke` has been factored out of `LeptonObject`. Its inherited fields have been renamed to match to corresponding Scheme functions. C accessors for each member of the new structure have been added as well. - Several accessors for `LeptonObject` structure members have been added. - Accessors for all fields of picture objects have been added. - The ad hoc object type `OBJ_PLACEHOLDER` has been eliminated. - Previously, some of the functions for new object creation had the `type` argument. The argument has been removed as superfluous since it is always known which object is created. - Embedding code for pictures and components has been splitted up, moved to appropriate places, and reduced. - Four unit tests that previously worked well with Guile 3.0.4 started to fail with Guile 3.0.5 on Debian. The tests have been fixed so they pass with either of the versions. ### Changes in `libleptongui`: - Scheme module `(schematic core builtins)` defined in C code has been removed. Its functions are now defined in the module `(gschem deprecated)`. - Gettext domain for the library has been renamed from **lepton-schematic** to **libleptongui** to be consistent with other tools. ### Changes in `lepton-netlist`: - Fixed exporting of necessary modules in several Scheme files. - Several superfluous and erroneous `gafrc` files have been removed from the `examples/` subdirectory. ### Changes in `lepton-attrib`: - The program used to use colors to designate the visibility of affected attributes in schematic editor. A status bar with a color legend has been added prompting the user of the meaning of the colors used. - The current file name is now displayed in the title of the program window. If several files are open, "Multiple files" is shown in the caption instead. If there were changes in any of the opened files, this is marked by an asterisk prepended to the title caption. - Slot numbers are now explicitly displayed in parentheses with the word "slot" after reference designators, e.g. **U1 (slot 3)** instead of **U1.3** as it was previously. This is to prevent confusion if the user actually wants to use dot separators in refdeses. - Only those components that really have the `slot=` attribute are now shown as slotted. - The overwrite confirmation dialog will now displayed on *File* → *Export CSV* if an already existing file is selected for output. - Default response in the *Delete Attribute* dialog has been changed to "No". - The *About* dialog has been improved and now it looks like one in `lepton-schematic`. - Modification status update on saving has been fixed. ### Changes in `lepton-schematic`: - The long command line option `--command` has been introduced as an analog of the short option `-c`. - The program used to output backtraces on wrong command line options. Now backtraces are avoided. Instead, a short error message and a useful prompt are shown. - Fixed crashes when the command line contains the text as follows: `-c '(quit)'`. - The behaviour of the combobox for choosing the way of symbol insertion in the component selection dialog was broken in the previous version and now has been fixed. - Text in several dialog titles has been improved, fixed, or added. In particular, the title of the close confirmation dialog now shows the name of the program instead of "unknown". - Default response in the overwrite confirmation dialog is now "No" to avoid accidental overwriting of files. - Color scheme error dialog was not shown previously. This has been fixed. - The bus drawing tool supposed to behave the same way as the net tool. A click with the right mouse button cancels the net action. This did not work with bus actions, which is now fixed. - Modified schematic pages used to be shown as marked with an asterisk in tabbed view. Now, "Save" buttons are shown instead, which allows the user to quickly save files with the mouse if toolbars are turned off. - The tab buttons, "Save" and "Close" have now tool-tips describing their functions. - The edit attribute dialog has been improved: now its section "Add attribute" is collapsible, that is, it may get folded or unfolded, which allows to see more attributes at once. This state is preserved during the program run. ### Changes in `lepton-renum`: - Build date and time are no longer hard-coded in the sources to aid reproducible builds. ### Changes in `lepton-pcb_backannotate`: - Previously, the script code searched for the "Id" string in itself and, being unable to find it, exited with the error message "Could not determine version". Now the script prints Lepton version and copyright instead. - Refdes renaming has been fixed by exchanging parameters of the `%cmd_rename` hash. - Deprecated `defined` construct that raised a fatal error since Perl version 5.22 has been removed. - Man page of the script has been improved. Notable changes in Lepton EDA 1.9.13 (20201211) ----------------------------------------------- Bugfix release. ### Changes when building from source: - Build for Cygwin has been fixed in that the Lepton GUI tools now actually work. - Fixed installation of images into the info directory. - File `color-map.scm`, removed in the previous release, has been restored for backward compatibility. ### Changes in `lepton-attrib`: - Two long standing bugs in the program, that manifested themselves when the user deleted an attribute column in the spreadsheet, have been fixed: - The program did not prompt the user on unsaved changes on exit. - All invisible attributes became visible. ### Changes in `lepton-gui`: - Fixed processing of options `-c` and `-s` broken in the previous release. - Reduced the number of Help menu items pointing to obsolete wiki documentation. Notable changes in Lepton EDA 1.9.12 (20201204) ----------------------------------------------- ### General changes: - Started creation of Lepton EDA reference manual. The manual can be opened from the `lepton-schematic` GUI by using H M keyboard shortcut. - The empty `local` subdirectory has been removed from the list of component libraries. - Old ChangeLog files (<=2007) are no longer installed. They hardly provide some any useful information for end users now and any info can be easily received using git. ### Changes when building from source: - Guile 3.0 support has been added. - Experimental GTK 3.0 support has been added. A new `configure` option, `--with-gtk3`, has been added to enable building programs with GTK3. Please see [README](README.md) for more information. - Build with `-Wl,--no-undefined`, broken in the previous release, has been revamped by merging two libraries, `liblepton` and `libleptonrenderer`. - Build for Cygwin has been fixed as well by the above change. - The build option `--disable-attrib` broken in the previous release has been fixed. - The obsolete and pretty useless script `bom_xref.sh` has been removed from the toolset. ### Changes in `liblepton`: - Code from the library `libleptonrenderer` has been merged into `liblepton`. - A new module, `(lepton eval)`, has been added. The new module exports Scheme versions of functions `eval-protected()` and `eval-string-protected()` previously defined in C code. - A new module, `(lepton ffi)`, has been introduced. It contains general definitions related to Scheme FFI. - Refactored color system code: - A new module, `(lepton color-map)` has been added. - Procedures `print-color-map()`, `display-color-map()`, and `display-outline-color-map()` have been moved to the module. - The procedures now return their color-map values instead of just `#t`. - The module additionally exports the variable `%color-name-map`. It returns the set of valid symbols for color names. - Print color maps for dark and light color schemes have been fixed: - The `grid` color name has been replaced with `dots-grid`. - Missing colors `mesh-grid-major` and`mesh-grid-minor` have been added. - Scheme functions working with version of the tools have been added or refactored: - Added procedure `lepton-version-data()` which can return the list of version strings by requested symbol names. - Added procedure `lepton-version-ref()` which retrieves one version data element by its symbol name. - Added generic procedure `display-lepton-version()`. - `lepton-version()` has been refactored. Please see its docstring for more. ### Changes in `lepton-schematic`: - C source code has been transformed into a new library, `libleptongui`. `lepton-schematic` is now an executable Scheme script which uses Guile FFI to make the job done, allowing to play with it without recompilation of the underlying C code. - Setting of the environment variable `LD_LIBRARY_PATH` may be needed for users installing Lepton from sources if the system configuration does not include the path to `libleptongui`. - Two new Scheme modules, `(schematic ffi)` and `(schematic ffi gtk)`, have been added to the suite. They provide Scheme FFI bindings for GTK functions. - A new environment variable, **LIBLEPTONGUI**, has been added in order the user to redefine the path to the `libleptongui` library "on the fly". This can be used, e.g., for test suite or in development for testing changes without installation of the library. - Scheme builtin action procedures that were defined in C code and that were not available in some circumstances, e.g. in remote REPL, are now available in the module `(gschem deprecated)`. - Three C functions for creating dialogs and their corresponding Scheme counterparts have been re-implemented in Scheme using FFI and renamed. The new functions are exported in a new Scheme module, `(schematic dialog)`. Those functions are: - `schematic-message-dialog` (former `gschem-msg`) - `schematic-confirm-dialog` (former `gschem-confirm`) - `schematic-fileselect-dialog` (former `gschem-filesel`) - Guile module `(srfi srfi-37)` is now used instead of `(ice-9 getopt-long)` for command line option processing. - A new option, `--command`, can now be used as an alias for `-c`. - The keyword `G_` is now used for translation of strings in Scheme code in order to prevent conflicts with other Guile functions such as, e.g., `match()`. It's the same change as one that have been recently made in Guile 3.0. - Several new additional shortcuts have been added which are used in many other programs to ease working with the tools for newbies: - Control+N for opening a new file - Control+O for opening an existing file - Control+S for file saving - Control+P for printing the contents of a file - Control+Shift+Z for redo (as an inversion for Control+Z for undo) - Another bunch of additional shortcuts has been added to simplify zooming for the same reasons: - =, Control+=, and KP_Add for zooming in - -, Control+-, and KP_Subtract for zooming out - 0, Control+0, and KP_Multiply for zooming to extents - Filters behavior in the file chooser dialogs has been improved. In the `Save As` dialog the filter is set based on the current schematic's file name. Extensions containing letters in different case are now correctly recognized, filters can work with file names matching the following shell patterns: `*.[sS][cC][hH]` and `*.[sS][yY][mM]`. - It is now possible to change a color of net and bus objects in the `Object Properties` dialog. - All available colors are now shown in the colors combo box, disabled ones are designated as "[ disabled ]". - Two new keywords, `symbol-attribs` and `pin-attribs`, have been added to the `[schematic.attrib]` configuration group in order to replace the functionality of the legacy procedure `attribute-name()`. The procedure is now exported in the module `(schematic attrib)`. See updated Lepton reference manual for more information. - Fixed a regression in font displaying that appeared in the previous Lepton version 1.9.11. Now lower aligned text objects are displayed the same way as before, their anchor points now specify positions of their baselines rather than bottom lines of the text logical rectangles. ### Changes in `lepton-netlist`: - Two issues in the `tEDAx` backend have been fixed: - Parametric attribute values containing spaces between the parameters were passed un-escaped in the backend output. Now they are escaped according to [the tEDAx spec](http://repo.hu/projects/tedax/syntax.html). - Support for output of `nettag` net attributes, which had been missing before, has been added. ### Changes in `lepton-attrib`: - The source code of the program has been fixed so that it no longer use a big change of obsolete third party spreadsheet code. Instead, a dependency on another up-to-date project, `gtkextra`, has been added. - After the above change, another feature has been added. Now, you can try to install a new, experimental GTK3 interface of the program. Please see Lepton reference manual for more info. Notable changes in Lepton EDA 1.9.11 (20200604) ----------------------------------------------- ### General changes: - Executable scripts `lepton-netlist` and `lepton-symcheck` have been moved to the *utils/* directory. Their Scheme modules have been moved to the directory with Scheme files of `liblepton`. - Separate *gettext* domains of `lepton-netlist` and `lepton-symcheck` have been removed. - As a side effect of this transition, the messages by symbol checker are now translated in `lepton-schematic` GUI. - More Scheme strings have been added to translation. - Two Scheme test suites, `liblepton`'s and `lepton-netlist`'s ones, have been merged into one. - Unit test for promotable attributes has been added. - Old changelog files (*ChangeLog-1.0*) have been moved into one directory and renamed. ### Changes when building from source: - Build order has been changed and now `libleptonrenderer` is built before `liblepton`. ### Changes in `lepton-cli`: - The tool used to silently skip missing symbols on export without rendering any placeholders. Rendering of placeholders has been fixed. - In some cases, for instance, when a Scheme script was evaluated by the tool and no renderer was available, it output assertion failures for text objects during calculation of their bounds, which has been fixed. ### Changes in `lepton-netlist`: - Localization support has been added. The utility had no localization support since rewriting it in Scheme. - The famous Scheme backend `spice-noqsi` has been added to the list of backends. The directory with examples contains now its documentation and example schematics. ### Changes in `lepton-symcheck`: - Localization support has been added. The utility had no localization support since rewriting it in Scheme. ### Changes in `lepton-schematic`: - Log messages about `symversion` mismatch are no longer emitted for missing schematic symbols. - `symversion` attribute changes are now detected when a page is opened. Previous behavior was to check just the first page passed on the `lepton-schematic` command line. - Log messages related to `symversion` have been changed to be more compact and comprehensible. - Several dialogs and dock widgets now have shorter and more uniform titles. - The "Major symbol version changes" dialog has been improved by making it more informative and non-modal. A new dialog instance is opened for each page with symbol version changes. - The dialogs "Add picture", "Select picture" and "Execute script" now have file filters, which eases selection of supported files. - A new boolean configuration parameter has been added to the `schematic.gui` group: `use-toplevel-windows` ( `false` by default). Setting it to `true` allows the following widgets to behave like top-level windows (i.e. do not stay on top of the main window): - Page manager - Log window - Edit text - Color scheme editor - Object properties - Options - Font selector - Find text results - `lepton-schematic` now uses new (more compact) placeholders for missing schematic symbols. Traditional placeholders (giant red triangles with an exclamation mark and two lines of text) can be turned back on by setting the `small-placeholders` key in the `schematic.gui` group to `false`. - The same font, defined in the `font` configuration key of the `schematic.gui` group, is now used for printing and rendering of objects in GUI. - Several rendering issues, manifesting themselves on some modern distributions where new Pango library (1.44) is used, have been fixed: - Different scaling of overbars on zooming. - Wrong alignment and position of lower aligned text in printed output. - Changing of vertical spacing between paragraphs of text separated with empty lines on zooming. - Historically, text lines of the same object size with different size of glyphs, for instance, all uppercase and all lowercase, might be rendered as if they have different baseline position. For example, `-` (*minus*) and `_` (*underscore*) could be rendered on the same height, depending on alignment. This has been changed, and now logical extents of text are used to calculate and properly set its position. - Showing/hiding of hidden text can now be set individually on per page view basis. ### Changes in `lepton-upcfg`: - Fixed a logging issue when the utility is called with some file path as a command line parameter. - The utility now has its own manual page `lepton-upcfg(1)`. ### Changes in `lepton-attrib`: - The source code of the program has been transformed into a library, `libleptonattrib`, and an executable script written in Scheme. Thus, C functions of the new library can now be used in other tools. - The option `--quiet` has been removed. ### Changes in `liblepton`: - The procedure `process-gafrc()` from the module `(netlist)` has been moved to the module `(lepton rc)` to be available for other utilities. - A new Scheme function, `anyfile-config-context()`, and its C counterpart, have been added to the library. In future, they can be used to support additional configuration files, for example, files containing color schemes or component library descriptions. Notable changes in Lepton EDA 1.9.10 (20200319) ----------------------------------------------- ### General changes: - Utilities written in Python, `lepton-archive`, `lepton-tragesym` and others (please see below for more information), have been rewritten in Scheme or removed, so there is no dependency on Python any more. - C source files, Scheme modules, types, functions, variables, structure fields have been renamed to avoid using of ambiguous word "**complex**" since it is used in Scheme to designate complex numbers. The Scheme object type `'complex` has not been renamed for backwards compatibility. - Two unused old scheme scripts `print-NB-attribs.scm` and `list-keys.scm` have been removed. - Several other cleanups have been made in the source tree. - The Scheme auto-load subdirectory `gafrc.d` has been renamed to `autoload`. - Obsolete environment variables `GEDADATA` and `GEDADATARC` are no longer used in Lepton. Please use Scheme procedures `load` or `primitive-load` in *gafrc* files to load your extensions. - The directory *$HOME/.gEDA/* is no longer used for storing of user configuration files. The new location for user config files is *$XDG_CONFIG_HOME/lepton-eda/* (usually, it is *$HOME/.config/lepton-eda*). - Legacy `geda*.conf` configuration files are no longer used. Settings are now read from `lepton*.conf` files. To convert your settings to new format, please use the `lepton-upcfg` utility. - The obsolete and undocumented script `bompp.sh` has been removed. ### Changes when building from source: - The following obsolete `configure` options have been removed: - `--with-kdedatadir` (for KDE 3) - `--enable-relocatable` (non-portable) - `--with-rcdir` (no longer usable) - `--disable-deprecated` (no longer usable) - `--enable-compat-symlinks` (does not make sense any more) - Detection of installed `Guile` run-time and development packages has been improved. Previously, after introducing support for Guile 2.2, some users could encounter difficulties with building from source when Guile development headers were distributed in separate packages in their distribution and there was two different Guile versions (2.0 and 2.2) installed on their systems. They could get mysterious error messages about applying a wrong object type. Point is that Guile 2.0 and Guile 2.2 use incompatible binary code format for compiled programs. Now Lepton build system checks what development packages are installed on user's system and chooses a correct version of Guile for compilation. If it is impossible due to missing required package, it reports the error on the configure stage. - The `autogen.sh` script, while still available, is no longer required for installation from the git repository. Please use `autoreconf -ivf` instead. - Building of the Scheme API HTML documentation with multiple make jobs on FreeBSD has been fixed. - `icon-theme-installer` script has been fixed by simplifying its command line arguments checks, which makes it more portable among various build environments. - The command `make maintainer-clean` no longer removes *configure* and its helper files, as well as *ChangeLog* and *Makefile.in* files. ### Scheme API changes: - The module `(geda log-rotate)` has been renamed to `(lepton log-rotate)`. - Several `(geda *)` modules have been renamed to `(lepton *)` ones. All the functions and variables available are still re-exported in the former ones but their using is discouraged. The following renames have been made: - `(geda attrib)` => `(lepton attrib)` - `(geda config)` => `(lepton config)` - `(geda log)` => `(lepton log)` - `(geda object)` => `(lepton object)` - `(geda os)` => `(lepton os)` - `(geda repl)` => `(lepton repl)` - The following *core* (written in C) Scheme modules have been renamed: - `(geda core attrib)` => `(lepton core attrib)` - `(geda core complex)` => `(lepton core component)` - `(geda core config)` => `(lepton core config)` - `(geda core deprecated)` => `(lepton core deprecated)` - `(geda core gettext)` => `(lepton core gettext)` - `(geda core log)` => `(lepton core log)` - `(geda core object)` => `(lepton core object)` - `(geda core os)` => `(lepton core os)` - `(geda core page)` => `(lepton core page)` - `(geda core smob)` => `(lepton core smob)` - `(geda core toplevel)` => `(lepton core toplevel)` - Apart from expanding environment variables, the function `expand-env-variables` from the `(lepton os)` module now replaces **~/** (user home directory prefix) in file names in order to make such names understandable for other functions. This allows using this prefix in functions like `component-library` and `source-library`. - A couple of functions have been added to the `(lepton object)` module to work with object's "embedded" state: `object-embedded?` and `set-object-embedded!`. - The **cache** configuration context can now be accessed in Scheme code: `cache-config-context` function has been added to the `(lepton config)` module. - A new function, `component-filename`, has been added to the `(lepton object)` module. It returns the full component's symbol file path. - `config-load!()` function in the `(lepton config)` module has been modified to accept a new optional `boolean` parameter `force-load`, which is `false` by default. Configuration is no longer reloaded each time this function is called, unless you explicitly request it by `#:force-load #t`. ### Changes in `liblepton`: - The module `(lepton library component)` has been amended to support new Scheme layer around internal `%component-library` in the `component-library` procedure, which prevents loading of duplicate component libraries. - The `bitmap-directory` `gafrc` option has been removed. - The `gafrc` options listed below have been deprecated and replaced with new configuration settings. Please refer to the [Deprecated Settings](https://github.com/lepton-eda/lepton-eda/wiki/Deprecated-Settings#user-content-deprecated-gafrc) wiki document. - `bus-ripper-symname` => `[schematic]::bus-ripper-symname` - `always-promote-attributes` => `[schematic.attrib]::always-promote` - `keep-invisible` => `[schematic.attrib]::keep-invisible` - `attribute-promotion` => `[schematic.attrib]::promote` - `promote-invisible` => `[schematic.attrib]::promote-invisible` - `make-backup-files` => `[schematic.backup]::create-files` - Fixed rotation of logs broken in Lepton 1.9.8. - Fixed two long standing bugs in the procedure `component-library-search`: - Failure of the procedure in some cases when the root directory processed by the procedure contained symbol files. - Failure of the procedure with the `'out-of-range` exception if the processed path contained 2 identical components at the end and trailing slash (e.g. "/path/sym/sym/"). ### Changes in `lepton-netlist`: - The module `(netlist rename)` has been removed. All previous renaming functionality has been wholly thrown away. - The module `(netlist pin-net)` has been removed. `` records are no longer used in netlisting. - The module `(netlist traverse)` has been removed. All its functions have been moved to other appropriate modules. - New data structures, *hierarchical*, or *over-port*, or *vertical*, connections, have been introduced. They are used to produce net names for schematics with subcircuits. This fixed the issue with toplevel unnamed connections, using of which lead to wrong netlists, and resulted in the following changes in output netlists: - The `geda` backend no longer displays intermediate renamings the same way it is used for unnamed nets shown in netlists. Renamed unnamed nets of a subschematic are shown by the geda backend differently, e.g., "*hierarchical/subciruit/name/unnamed_net_at_XxY*", where X and Y are coords of one of their members. - If a net has more than one preferred attribute attached ("*net=*" or "*netname=*"), the lowest one by means of the predicate `refdes` record to get hierarchical data. For a component, it contains the link to the `` instance the component belongs to. - The `` record now also contains a new field, `parent`. For a connection, it contains the link to the `` instance the connection belongs to. - The `` record now also contains a new field, `parent`. It contains the component the `` belongs to, if any. - The unused `sources` field has been removed from the `` record. - The unused `tag` field has been removed from the `` record. - The record now contains a new field, `port-connection`, which holds a hierarchical `` a pin belongs to. - Crashes, when source file cannot be found, are now avoided. - Fixed crashes on power symbols (the symbols having one pin and no *"refdes="* attribute) having a *"net="* attribute but no *"pinnumber=* attribute attached to its pin. - Fixed crashes in the `spice-sdb` backend when processing I/O components. - Removed output of version in the `spice-sdb` backend. It has not been updated since 2007 and does not reflect the changes in the backend code. - Fixed a link to documentation in the output of the `spice-sdb` backend. - A new module, `(netlist mode)`, has been added. It contains accessor functions for current netlisting mode. - A new module, `(netlist schematic-port)` has been added. It defines a new record, ``, which contains info about connections via ports between hierarchical levels. - A new module, `(netlist schematic-named-connection)`, has been added. It contains functions for merging connections by net name. - A new module, `(netlist subschematic)`, has been added. It defines a new record, ``, which extends `<#geda-page>` internal C structure and contains various netlist related fields. - The `` record now has several new fields: - `net-map` is defined for virtual pins created from the *"net="* attribute. - `parent` contains link to the parent component of a pin. - A new field, `pins`, has been added to the `` record. For a connection object, it contains `` objects that belong to the connection. - A new field, `subschematic`, has been added to the `` record. It contains toplevel multi-page `` of ``, thus allowing recursive access to low level subschematics. - A new field, `subschematic`, has been added to the `` record. It contains its parent ` record. - A new field, `port`, has been added to the `` record. The field contains port (`` record) for components being port components in subcircuits. - A new field, `net-maps`, has been added to the `` record. It provides info on net mapping for the component pins. - A new field, `named-connection`, has been added to the `` record, which contains the parent `` of a pin instance. - Fixed wrong usage of the *"netname="* attribute instead of *"net="* when the `netname-priority` config setting is set to false (`#f`), that is, when *"net="* should be preferred. - Fixed issue with output of wrong warnings about renaming nets with the same name (shorted to themselves). - Previously, the program used to exit with error if some source file was not readable or missing, even in the interactive mode. Now, `lepton-netlist` just reports such errors as critical without exit. - The module `(netlist page)` has been eliminated in favour of the `(lepton page)` module. All functions from the former have been moved to the latter. The procedure `filename->page()` has been renamed to `file->page()`. - The unused Scheme module `(netlist repl)` has been removed. - Netlist backends can now set the desired netlist mode by defining a `request-netlist-mode` function, which should return either `'geda` or `'spice`. `lepton-netlist` no longer relies on the backend's filename when setting the operation mode. - The `spice-sdb` backend has been fixed to generate SPICE `.MODEL` lines correctly. - The `--list-backends` command line option now has a short equivalent: `-b`. ### Changes in `lepton-archive`: - The initial Python script has been rewritten in Scheme. It was broken at least since 2007, when *system-gafrc* was refactored by removing `component-library` calls from it. It parsed that file for the "component-library" strings, but could not find and save any stock symbols. The new Scheme script has the following advantages: - It eliminates issues with Python versions incompatibilities due to moving in most distributions to the more recent versions. - The previous script could only expand one environment variable in a file name. Now all environment variables are expanded recursively in file names, the tilda prefix (**~**) is expanded, too. - OS specific file name separator is now supported. - The script replaces using of system utilites *cp*, *mv*, *rm* in most cases with appropriate Scheme procedures. - Instead of direct parsing of component lines in schematic files (**"C x y ..."**), which may be wrong in some cases, it uses info on internal schematic provided by `liblepton` modules. - The new script eliminates direct setting of any environment variables to the directory where `system-gafrc` should be placed, and parsing of the lines containing `component-library` and `component-library-search` in system rc files, as it is no longer required. - `gafrc` is now used instead of `gschemrc` as rc file to update; local project's `gafrc` is processed to get info on component libraries used in the project. `gafrc` in the resulting archive is changed in that to load symbols from its local cache directory. - Symbol and SPICE file cache directory name has been changed from `gschem-files` to `cache`. - The program can now collect and cache all symbols and subschematics in a hierarchical schematic, as well as subcircuits mentioned in the *"file="* attributes of components. - RC file listing files to be archived is no longer used. The file set by the option `--files-from` (`-f`) is used instead. The script copies all files mentioned in that file and in command line to the archive, including files not living in the project directory. - Lowercase archive name is now used by default: `project-archive.tar.gz` instead of `ProjectArchive.tar.gz`. It is to avoid issues with case sensitive filesystems. - The program options now have long equivalents, please see `lepton-archive --help` for more information. - The program now supports both absolute and relative source filenames (such as "*/tmp/simulation.cmd*") or using relative paths (like "*./*" or "*../*"). - Files missing in the source library are reported. - The output archive file name can be specified without the "*.tar.gz*" suffix. The users can just use `-o project-archive` to save their project to the *project-archive.tar.gz* file. ### Changes in `lepton-schlas`: - This utility has been rewritten in Scheme and renamed to `lepton-embed`. - Its functionality has been extended: it can now embed/unembed pictures (`-p`) or components (`-c`) only, and may be instructed to leave source files intact, saving its output to a separate files with a given suffix (`-x`). ### Changes in `lepton-cli`: - A new command line option has been added for the `export` command: `--paper-names` (`-P`). It displays a list of paper size names suitable for the `--paper` option. - The default paper size is now defined in the system configuration files: the `paper` configuration key in the `export` and `schematic.printing` (`gschem.printing`) groups is set to `iso_a4`. - `lepton-cli config` can now read and write configuration stored in the **cache** configuration context: a new command-line option `--cache` (`-c`) has been added. ### Changes in `lepton-tragesym`: - The initial Python script has been rewritten in Scheme. The program now does anything the previous version did, and more: - `liblepton` functions are now used to create objects instead of dealing with symbol text format directly. - Fixed calculation of symbol width so that pins always touch symbol box even if the user specified too little width in the template file. - Dealing with "spacer"s gives better results/notifications. - The man page of the program has been updated to provide information about the source file format. Please see *lepton-tragesym(1)* for more information. ### Changes in `lepton-schematic`: - Several `(gschem *)` modules have been renamed to `(schematic *)` ones. All the functions and variables available are still re-exported in the former ones but their using is discouraged. The following renames have been made: - `(gschem action)` => `(schematic action)` - `(gschem attrib)` => `(schematic attrib)` - `(gschem builtins)` => `(schematic builtins)` - `(gschem gschemdoc)` => `(schematic gschemdoc)` - `(gschem hook)` => `(schematic hook)` - `(gschem keymap)` => `(schematic keymap)` - `(gschem selection)` => `(schematic selection)` - `(gschem symbol check)` => `(schematic symbol check)` - `(gschem util)` => `(schematic util)` - `(gschem window)` => `(schematic window)` - The following modules were simply renamed without providing any backwards compatibility: - `(gschem core gettext)` => `(schematic core gettext)` - `(gschem repl)` => `(schematic repl)` - The following *core* (written in C) Scheme modules have been renamed: - `(gschem core attrib)` => `(schematic core attrib)` - `(gschem core builtins)` => `(schematic core builtins)` - `(gschem core hook)` => `(schematic core hook)` - `(gschem core keymap)` => `(schematic core keymap)` - `(gschem core selection)` => `(schematic core selection)` - `(gschem core util)` => `(schematic core util)` - `(gschem core window)` => `(schematic core window)` - Grips can now be turned on and off at run-time. Use the new 'Options → Grips: On/Off' menu item or O-I keyboard shortcut. - In the 'Select Component' dialog, it is now possible to copy names and values of attributes to clipboard. - In tabbed GUI, tabs can now be rearranged by dragging them with mouse. - A context menu with common actions (`New`, `Open`, `Save`, `Save As`, `Page Manager`, and `Close`) has been added to the active tab's header widget. - The main menu code has been refactored and changed so that the type of selected objects is taken into account. Thus, some menu entries are not sensitive in some cases where it is inappropriate. - If *Help* → *Find Component Documentation* cannot find any documentation, a message box is displayed. No backtrace, nor Guile errors are printed to the log window. - All the `gschemrc` options are now deprecated, the settings have been migrated to new configuration system (`*.conf` files). Use `lepton-cli config` to read and modify them. New options have the same names and possible values (use `true`/`false` for booleans instead of `"enabled"` and `"disabled"`). Please refer to the [Configuration Settings](https://github.com/lepton-eda/lepton-eda/wiki/Configuration-Settings) document ("Deprecated Settings") for more information. - In the `Save As` dialog, the filter field now shows file extensions (`.sch`, `.sym`). A file's extension in the `Name` box is updated when the filter is changed. - Tree view columns in the `Page Manager` window are now automatically resized. It helps when displayed paths are long: the `Changed` column becomes visible again when you uncheck the `Show full paths` checkbox. - The `file-preview` option (`[schematic.gui]` group) processing has been fixed. The user can turn the preview area in the `Open...` dialog on and off. - The user can now change the paper size and orientation in the `Print` dialog. The combo boxes with these settings used to be set to default values and disabled. - The context menu has been reorganized and updated. - Informational messages have been added to several lepton-schematic dialog boxes. - An "untitled" page can no longer be reverted (`Page → Revert`). This operation doesn't make sense for it and has been disabled. - A new configuration parameter has been added: `show-tooltips` in the `schematic.tabs` group (`boolean`, `true` by default). It enables or disables tooltips for tab header widgets in tabbed GUI. - The `Single Attribute Editor` dialog can now be accepted by pressing the `Enter` key when the `Name` field is focused. - The save font configuration dialog has been improved so now it shows the name of selected font and full path names for configuration files. - The files *lepton-gtkrc* are now read from the system and user configuration directories. They can be used to customize the appearance of the program. - Fixed crashes on printing via the menu 'File → Print...' on some systems. - Fixed segfaults when the locale set by environment variables was not installed. - Fixed issue of incorrect main menu creation if system configuration file is missing. ### Changes in `examples`: - Three new examples of analog simulation have been added. They reside in the directory *netlist/examples/analog/*. - `RF_Amp` and `TwoStageAmp` examples have been updated to make SPICE simulation work properly. - `gTAG` example scripts and configuration files have been fixed. - Several `README` files have been updated. - The obsolete Python script `bom` has been removed. Notable changes in Lepton EDA 1.9.9 (20191003) ---------------------------------------------- ### General changes: - The version of the `libleptonrenderer` library has been fixed. - The utility `lepton-xyrs` has been removed from the distribution since it has not been maintained or changed for many years and it does not belong to schematic capture. ### Changes in `liblepton`: - Static gettext domain name is now used for translation files. ### Changes in `lepton-netlist`: - Two new procedures, `page-list->schematic` and `file-name-list->schematic` have been added to the `(lepton schematic)` module to provide users with more intuitive way of `` record creation. The previously present procedure `make-toplevel-schematic` is still there, and has been made an alias of the latter. Its `netlist-mode` argument has been made optional and is `'geda` by default. Notable changes in Lepton EDA 1.9.8 (20190928) ---------------------------------------------- ### Breaking changes: - The configure switch `--disable-gattrib` has been renamed to `--disable-attrib`. ### General changes: - A new configuration upgrade tool, `lepton-upcfg`, and C and Scheme infrastructure for it have been added to simplify moving to Lepton's new configuration system. The new tool is aimed to convert legacy `geda*.conf` files into new `lepton*.conf` files by importing and renaming the settings in them. For example, in order to produce `lepton-user.conf` from `geda-user.conf`, the user can use the command `lepton-upcfg --user`. Additionally, the user can switch between using of legacy and new configuration system using a new function, `config-set-legacy-mode!()`, which may be set in some of Scheme files loaded by the tools. - The module `(geda library)` has been renamed to `(lepton library)`. All the functions and variables available are still re-exported in the former one but its using is discouraged. - Warnings about deprecated and "dead" RC functions are now more verbose, and contain link to Configuration Settings wiki page. - Several clean-ups in the code and documentation have been made in both libraries' and GUI tools' code, removed some unused function arguments. - A main category has been added into Lepton desktop files. According to https://specifications.freedesktop.org/menu-spec/latest/apa.html, previously there was no valid main category in the desktop files. The problem is that without a main category, it is not possible to know for sure if a freedesktop compliant menu will show the applications the desktop files were made up for. This has been fixed by adding "Development" as main category for Lepton. Two additional categories have been rearranged in order "Electronics" to have priority over "Engineering". - The following rc procedures are now exported in the module `(lepton library)`: - `component-library-command` - `component-library-funcs` - `component-library-search` - `component-library` - `reset-component-library` - The following rc procedures are now exported in the module `(geda deprecated)`: - `always-promote-attributes` - `attribute-promotion` - `bitmap-directory` - `bus-ripper-symname` - `keep-invisible` - `make-backup-files` - `print-color-map` - `promote-invisible` - `scheme-directory` - Symbols with duplicated names have been moved to separate folders: - `share/lepton-eda/sym-gnetman` - `share/lepton-eda/sym-verilog` - `share/lepton-eda/sym-vhdl` Now it's possible to use `gafrc` function `component-library-search` with `share/lepton-eda/sym` without getting tons of warnings about duplicated symbols in the log. - System-wide configuration file, `lepton-system.conf`, has been added to the distribution with default settings applicable for most installations. Its legacy predecessor, `geda-system.conf`, has been added as well for backwards compatibility. - The location of log files has been changed to `$XDG_CACHE_HOME/lepton-eda/logs/`. Previously they were stored in the user's configuration directory. ### Changes when building from source: - Building of the tools with Guile 2.2 is now supported. - Lepton now requires Glib 2.38.0 or later versions for build. - It is now possible to accelerate the tools some parts of which are written in Scheme when they are launched for the first time. Previously, on first running much time would be spent on compilation of Scheme code involved. The startup time can be reduced if the code is compiled and installed in advance. To make it work, a new `make` target, `precompile` has been added. While the command `make precompile` can be used for local builds, it could be much more convenient for end users if package managers working on packaging Lepton for some distributions "precompile" the code on the package building stage. The technik of "precompilation" has been already implemented to make packages for FreeBSD: [FreeBSD port](https://github.com/graahnul-grom/freebsd-lepton-eda/tree/master/wip.pc) and [binary package](http://graahnul.beget.tech/lepton-eda-pc/lepton-eda-1.9.7.txz) made from it. In essence, it included two steps: - A relevant section has been added to the port's [`Makefile`](https://github.com/graahnul-grom/freebsd-lepton-eda/blob/master/wip.pc/Makefile), and - The list of compiled files has been added to the port's [`pkg-plist`](https://github.com/graahnul-grom/freebsd-lepton-eda/blob/master/wip.pc/pkg-plist). Package managers of other distributions could adopt this technik. Please see discussion at #339 for more information. - Fixed and improved *VPATH* (out-of-source) builds on some systems. It used to be that Lepton did not install files from the `docs/wiki/` subdirectory when the command `make install` was used, because it was assumed that the directory contained only regular files. This has been fixed by changing appropriate Makefiles to search for symlinks as well. - Build errors on FreeBSD 13.0-CURRENT on the link stage in the `utils/gschlas/` directory have been fixed. In earlier FreeBSD version Lepton EDA builds without errors. The issue happened to appear due to changing of the default linker from GNU `ld` to `ld.lld` from the `llvm` distribution. - Fixed FreeBSD build errors on the `powerpc64` architecture with base system compiler gcc-4.2: (FreeBSD bug report [#239311](https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239311)). - Fixed build failures on Gentoo with gcc-8.2.0. - Several C functions in `liblepton`, various Lepton tools, contributed code (`olib`, `sarlacc_schem`, `convert_sym`, `gmk_sym`) as well as PO-files have been fixed to avoid compilation warnings and errors. Now `lepton-eda` compiles without warnings with gcc/g++ on several platforms. Several warnings reported by clang++/llvm have been fixed as well. - The like changes as above have been done in the Scheme part of code to prevent various compilation and deprecation warnings in several modules and tools when compiled with guile-2.0 or guile-2.2. - LaTeX files are no longer generated by `make doxygen` since it was reported that several Ubuntu versions do not do TRT when building LaTeX documentation. - **Doxygen** subsystem has been cleaned up to get rid of unused files since the tools rewritten in Scheme are not covered by its functionality any more. - Fixed some portability issues in documentation building. - Building of documentation no longer depends on the `fig2dev` program. The dependency has been eliminated. - **Gettext** translation subsystem has been changed for most of the tools in that to avoid unintentional and unwanted updates of their translation *PO* files when the tools are built from sources. - Now *Lepton EDA Scheme Reference Manual* in the `HTML` format is built and installed with other files on `make && make install`. A CSS file has been added to prettify the generated HTML pages. - Some empty application-specific directories that previously could not be removed after uninstalling all files by `make uninstall` are now correctly deleted. ### Changes in `liblepton`: - `liblepton` configuration C and Scheme API has been extended with functions for removing configuration keys and groups. - A new Scheme module, `(lepton file-system)`, has been added. It exports functions that previously were global: `regular-file?()`, `directory?()`, and `file-readable?()`. The users may need to fix their scripts in which those functions were used by adding corresponding `(use-modules ...)` line.. - A new Scheme module, `(lepton rc)`, has been added. It exports functions and variables that previously were global: build-path, `geda-data-path()`, `geda-rc-path()`, `path-sep()`, `load-scheme-dir()`, and `load-rc-from-sys-config-dirs()`. The users may need to fix their scripts in which those functions and variables were used by adding corresponding `(use-modules ...)` line. - Fixed `'config-keys` unit test which previously did not work correctly on some Ubuntu versions. ### Changes in `libleptonrenderer`: - Default font name has been changed from `Arial` to `Sans`. - Changes in path rendering: - Previously, the library was not able to render zero line width paths properly since the zero value for the line width field in the path definition was interpreted as a request for the default line width. Therefore the path objects were always enlarged by some amount in size. Now, when line width of a path is set to zero, the stroke is not rendered, thus allowing drawing of filled figures without increasing their size by a half of the line width, so the object sizes strongly correspond to what the user wanted. No line is drawn when exported with `lepton-cli export` command. In the `lepton-schematic` GUI, 1 screen pixel line is used for rendering zero line width path objects to provide visual feedback to the user. - Now, path objects can be rendered with different line cap styles when the line width is non-zero. Previously, the default `square` style was always used. ### Scheme API changes - Three legacy rc procedures, `attribute-promotion`, `promote-invisible`, and `keep-invisible`, have been adjusted to return their boolean values if used with no arguments, instead of just `#t`. This allows using the results in Scheme plugins. The procedure `bitmap-directory` now returns its string value if used with no arguments. If no value has been previously set, it returns `#f`. - A new hook, `open-page-hook`, has been added to the `(gschem hook)` module. It allows to evaluate Scheme code when an existing schematic page is loaded. - New Scheme API functions for working with object selectable status have been added to the `(geda object)` module: `object-selectable?` and `set-object-selectable!`. Together with page hooks they can allow to save locking status of primitive objects without changing the current file format. - The function `arc-end-angle` has been fixed so it now correctly returns the end angle of an arc. Since its creation, it gave improper results because it was a sibling of a C function returning the sweep angle of an arc. A new function, `arc-sweep-angle`, has been added to maintain that functionality. ### Changes in `lepton-netlist`: - A few improvements have been made in option processing: - Getopt-long functions are no more directly used inside netlister modules, so the modules can now be loaded in other programs having other options. This affects unit testing and `lepton-schematic` GUI, as in those cases another set of options may be used. - Processing of some options yielding lists when several of such options are used, no more results in reversed lists. - Processing of the `-c` option has been fixed so there is now no errors when it used more than once. - The option *-w* introduced in Lepton EDA 1.9.6 has been removed. It was used to suppress warnings about missing configuration files. This is no longer needed, since the function `config-load!()` has been fixed to not complain if those files are absent. - A few improvements have been made in the SRFI-64 unit-test suite: - There is no more limit for backtrace length if an error occurs, the unit-test script uses default stack size which makes debugging a bit more convenient. - Backtrace output is now formatted properly without newline mangling. - Directories containing modules `lepton-netlist` depends on have been added to the unit-test script load path. Modules depending on `liblepton` and `symcheck` can now be used with the script. - A new record, ``, has been added. It is now the basic record for using in the backends that work with components such as **spice** ones. - `` record now contains a new field, `packages`, containing the list of schematic *packages*, where any element of the list is a `` record. The `` records now contain sets of components with same refdes. The field *packages* is intended for use in backends working with multi-slot packages, e.g. **PCB**. - The `schematic-netlist` field of the `` record has been renamed to `schematic-components` to more accurately reflect destination of the field. - Common `` structures for ``'s with default "refdes" attribute value are no longer created. Component's "refdes" value is considered to be default if the component has no attached "refdes", or its attached "refdes" is the same as the inherited one and has the suffix "?". - A new module, `(netlist schematic-connection)`, has been added. The module has to provide records and functions for working with schematic connections, that is, directly or indirectly connected groups of nets. - The `composite` field in the `` record, inherited from the `` structure, has been renamed to `sources`. The field can be used to get source file names. - The obsolete procedure `get-uref()` has been replaced with a local procedure and its using is discouraged. - A new module, `(netlist schematic toplevel)`, has been added. It contains accessors for `` record which is now obtained as a set of schematic files given on **lepton-netlist** command line. The `toplevel-schematic` variable has been replaced with same named procedure. - Arguments for `make-toplevel-schematic()` are now filenames instead of pages. This will allow reusing this function to encapsulate subschematics in future. - A new module, `(netlist deprecated)`, has been added to isolate legacy code that is a subject for deprecation in the next stable release. - A new function, `set-netlist-option!`, has been added to the `(netlist option)` module. It lets the users set arbitrary default netlister option values when the netlister modules are used by other tools, e.g., when they're loaded while working in `lepton-schematic` GUI. - A new module `(netlist page)` has been added. The new module now contains an only procedure, `filename->page()`, which opens a schematic page by filename. Depending on the form of its call, it can return either an already opened page for a given filename, or a new page, if the user so desires. - Several issues related to hierarchical names have been fixed: - Reverse order setting for refdes attribute no longer affects netnames. - Now netnames are formed using true reversed hierarchical name, before they were formed from a string representing hierarchical refdes and local netnames. Since the hierarchical refdes string might be not reversed depending of the reverse order setting for refdes, the resulting strings did not reflect hierarchy correctly. - For the same reason, the separator for the "net=" and "netname=" attributes did not affected resulting net names, which has been fixed as well. - Removing of refdes mangling was previously possible only if the refdes separator was "/". This has been fixed to support other separators. - The following fixes have been made in the VAMS example: - Deprecated gnetlistrc settings have been replaced with new configuration options. - Wrong netlister name has been fixed. - generate_netlist.scm has been moved to the example directory. - The `vams` backend code has been fixed as follows: - The code does no longer emit Scheme return values of procedures, which previously mangled the output. - The output of generic and port definitions is now going into appropriate place. - A list of attributes that cannot form generics does no longer appear in the output. Two internal (or abstract) attributes, `slot=` and `net=`, are no longer used in forming VHDL generic maps, since they are intended for internal use by netlister itself. - The `allegro` backend has been refactored so obsolete procedures are no longer used in it. - Two obsolete scripts written in **sh** and **awk**, `annotate.sh` and `unannotate.sh`, have been removed from the distribution. - Three **sh** scripts, `bompp.sh`, `bom_xref.sh`, and `sch2eaglepos.sh`, have been moved to the *contrib/* directory. - The directory *netlist/utils/* and an only pretty much obsolete utility, `mk_verilog_syms`, contained in it, have been removed from the distribution. The script was used to initially create *verilog* symbols, and output symbols in obsolete format with limited set of pin attributes. By now, initially created verilog symbols have been modified in various ways, including manual intervention and generating the symbols with some new version of the program that did not however go to the repository, so the removing is safe. - Netlister backends and associated files have been moved to a new subdirectory `share/lepton-eda/scheme/backend`. - An arbitrary backend file can be loaded by specifying its path via the new `-f` command line switch to `lepton-netlist`. The file should be named like `gnet-NAME.scm`, where `NAME` is the backend's name. It's useful for testing new and 3rd party backends, as well as running backends from different installation paths. ### Changes in `lepton-schematic`: - The command line option *-p* has been removed. It was used to automatically place the main window with some default widget sizes. - Several configuration settings have been changed to ensure reasonable default values: - The **rubber band** mode and **magnetic net** mode status bar indicators are now shown by default (`schematic.status-bar::show-rubber-band=true`, `schematic.status-bar::show-magnetic-net=true`). - The tabbed GUI is enabled (`schematic.gui::use-tabs=true`). - Monospace font is used in the log window (`schematic.log-window::font=Monospace 11`). - Monospace font is used in the macro widget entry (`schematic.macro-widget::font=Monospace 11`). - The attribute attachment code has been rewritten in Scheme, changed and fixed in several ways: - Now attributes can be attached to any non-text objects. - Only visible attributes can be now attached. - If attributes are already attached or no attribute is selected, no action is undertaken. - Information about successful attachment is now printed to the log. - Successfully attached attributes and the object they are attached to are deselected after the attachment operation. - The attribute detachment behaviour has been changed. Before, attributes of selected objects (visible and invisible, selected or not) were all unconditionally stripped. The detachment code has been rewritten in Scheme, changed and fixed in several ways: - Now only selected visible attributes are detached from their respective parent objects. - There is no need to select parent objects in order to detach their attributes any more. - The info about successfully detached attributes is now output to the log. - If there is no selection, the selected attributes are not attached to any object, or selection does not include any attributes, nothing is undertaken. - Just detached attributes get unselected and their color is changed to the color of detached attributes. - Several improvements/fixes with regard to locking/unlocking of components and their attributes have been introduced: - Previously, when a component was locked, its attributes were also locked, but they changed the locking status after saving and reopening of schematic. Now, they become locked along with the component they're attached to. - Previously, toggling of locking status of a component and its attributes required selecting them all to do it properly. Otherwise, the locking status of not selected attributes would not change. Now, it is sufficient to select only the component to lock or unlock it together with the attributes, without having to additionally select them. - The action 'File → Save All' and processing of "untitled" schematics have been improved: - It used to be that on saving all files, all opened pages were silently saved, even if there were new "untitled" pages among them, that is, the pages newly created under the default file name and not yet saved to disk. Now such files are skipped from saving. - When constructing file name for a new "untitled" page, the names of already opened files and existing files in the current directory are taken into account. These names are not reused to prevent possible consequent data loss. The skipped names are printed to the log. - A message indicating the result of the "save all" operation is now shown in the status bar. - If tabbed GUI is enabled in configuration, the header of each tab widget correctly updates to reflect the status of its page, if it is saved or not. - "Save As" dialog box is now opened for new "untitled" pages on the "save all" operation, prompting the user to save them. - In the 'Edit Attributes' dialog, it is now possible to copy names and values of inherited attributes to clipboard. The feature was first requested on *launchpad* in [#1405314](https://bugs.launchpad.net/geda/+bug/1405314). - Distinct parts of the `system-gschemrc` configuration file are moved to separate files under the `conf/schematic/` subdirectory to simplify dealing with certain aspects of `lepton-schematic` behaviour and searching for appropriate settings. The new files are loaded from `system-gschemrc`: - `attribs.scm` - `deprecated.scm` - `keys.scm` - `menu.scm` - `options.scm` - `stroke.scm` - The following Scheme functions are now deprecated and do nothing: - `gschem-image` - `gschem-pdf` - `gschem-use-rc-values` - Several `gschemrc` settings has been changed as follows: - `add-attribute-offset` is now deprecated and does nothing. - `image-color` is now deprecated and does nothing. - `image-size` is now deprecated and does nothing. - `logging-destination` is now deprecated and does nothing. - `log-window-type` is now deprecated and does nothing. - `raise-dialog-boxes-on-exp` is now deprecated and does nothing. - `window-size` is now deprecated and does nothing. - `warp-cursor` is now "disabled" by default. - `fast-mousepan` is now "disabled" by default. - `log-window` is now "later" by default. - `undo-levels` is now "20" by default. - `undo-panzoom` is now "disabled" by default. - The `sys-doc-dir()` function code in the module `(gschem gschemdoc)` module responsible for searching for system documentation directories has been known to fail in some circumstances when it tried to guess where the documentation files are installed. The guess-work has been eliminated by using fixed compile-time variables in the code. - The geometry (size and position) of `lepton-schematic`'s main window can now be stored in the **cache** configuration context, in the `schematic.window-geometry` group. The geometry is saved on exit and restored on startup if the (new) `[schematic.gui]::restore-window-geometry` configuration key is set to `true` (which is so by default). - The **macro widget** has been improved in several ways: - A new configuration group, `schematic.macro-widget`, has been added for setting up the properties of the widget. - The history of Scheme expressions executed via the `:` prompt is now saved in the configuration file in the *cache* configuration context (usually `$XDG_CACHE_HOME/lepton-eda/gui.conf`). The commands are stored in the `history` key and can be accessed by choosing appropriate items from drop-down list in the macro widget. The history length is set in the `history-length` configuration key in the `schematic.macro-widget` group in the *user* configuration context. The default value is 10. - The macro widget now supports auto-completion of text. - A new configuration key, `font`, in the `schematic.macro-widget` group in the *user* configuration context can now be used for setting up the font of the widget. - As a side effect of refactoring of the widget, the program no longer crashes on evaluating of the command `(file-quit)` in the prompt. - New accelerator keys have been added to facilitate keyboard navigation in the following dialogs: - `Single Attribute Editor` - `Edit Attributes` - `Select Component` - `Add Text` - `Edit Text` - `Object Properties` - `Options` - `Arc Params` - The log window can now be cleared by choosing "Clear Log Window" menu item in the context menu. The user can cancel the action in the confirmation dialog. - Long lines in the log window can now be wrapped by clicking the "Wrap Long Lines" menu item in the log window's context menu. - Schematic page filename and more verbose information is now displayed in the page revert dialog. - If you select 'Print to File' option in the print dialog, the output PDF file name is now derived from the name of the current page instead of previous default name "output.pdf". - File filters in the dialog boxes 'Open...' and 'Save As...' now keep their last chosen values while the program is running. Previously, the filters were always set to choosing schematic files when the user opened the dialogs. - Wrong behaviour of the program when the value of **draw-grips** is set to "disabled" in `gschemrc` has been fixed, so now this setting prohibits drawing grips of selected objects still allowing the user to resize them. - A new menu allowing exporting of netlists has been added to the program. As of now, the only item in the menu allows exporting of `allegro` netlists. Messages about processing are sent to log to provide the user with some feedback information in the log window. - Fixed segmentation faults in the `always-promote-attributes` rc function (called from the `gafrc` configuration file) when used with improper arguments. - Avoided GTK warnings on output of some message strings to the status bar containing characters which are treated specially by GTK, such as '<' and '>'. - Page "changed" indicator is now shown in the tab headers as well: the file name shown is output in bolder font and an asterisk is added to emphasize that the file has been changed. - Fixed font preview in the font selection dialog. Previously, if a custom font name was specified in the configuration key `font` in the `schematic.gui` configuration group, the text became invisible in the preview widget of the dialog, because the "Size" field was always initially set to zero. This has been fixed by setting the initial font size to non-zero value. - Fixed page "changed" status indication. Previously, after successful *Edit* → *Embed* and *Edit* → *Unembed* operations the "changed" status of the page would not reflect in the page manager and in the window's title. Now, both are correctly updated so that the status is visible to the user. - Page manager visual appearance has been improved in several ways: - When working on hierarchical schematics, full schematic paths used to clutter the view most of the time. Now they can be shown at any time or hidden away by checking the "Show full paths" checkbox. By default, they are hidden. The state of the "Show full paths" checkbox is stored in the `show-full-paths` key of the `schematic.page-manager` group in the **cache** configuration context. - Minimal "Filename" column width has been reduced. - Scrollbars are now shown only when needed. - Superfluous "Right click on the filename for more options..." label has been removed. - The "Update" button has been removed from the page manager dialog, and a similar item has been added to the context menu. - Fixed a broken output of translated strings to the log when the program is compiled using guile-2.2. It is a [known issue](https://lists.gnu.org/archive/html/bug-guile/2017-01/msg00020.htm) in guile-2.2. The function `scm_puts()` broke translated Unicode strings and output them as sets of bytes. Their further transformation by gtk functions resulted in unreadable text in the log window. - Fixed segfaults triggered on some systems by the sequence Control+x Control+v when a component was selected. - Fixed errors triggered by the function `file-quit` on startup, for example, using the following command: `lepton-schematic -c '(file-quit)'`. - Fixed a bug of searching for `gschem-gtkrc` in wrong system config directories. - The file `gschem.scm`, that defined some previously global Scheme functions, has been transformed into two modules — `(schematic gui keymap)` and `(schematic gui strokes)`. While this simplifies Lepton code a little and eliminates a superfluous step of loading the file with auxiliary functions, the functions are no more global, so the users may have to fix up their extensions, if they want to use those functions, by making sure the necessary modules are loaded within them. - Exceptions in the (gschem gschemdoc) module are now catched and reported to the user in a message box. - The menu item *Help* → *Find Component Documentation* is now sensitive only if a component is selected, providing the user with a useful feedback. - The action `&repeat-last-action` (the /repeat/ key *.*) has been improved, so it now does as following: - It now displays a log message when there is no last action to repeat rather than warning about an invalid action. - If an invalid action is requested, instead of using the Scheme function `error()` to report the failure, it just prints a warning to the log. - Deprecated export scripts `image.scm`, `print.scm` and the `--output` command line option have been removed. Schematics can be exported by using `lepton-cli export` or via the 'File → Write Image...' dialog box. - Current schematic's full file path can be shown in the main window's title if the `title-show-path` configuration key (boolean) in the `schematic.gui` group is set to `true`. - Close confirmation dialog has been improved: - It can be resized. - "Show full paths" checkbox has been added. - The `Write Image...` dialog box has been improved as follows: - Image color mode can now be selected (greyscale or color). - 1024x768 has been added to the list of image sizes. - Selected directory, image size, image type and color mode are saved and restored when this dialog is opened next time. - New names are now used for temporary files created by undo subsystem in `$TMP`: `lepton-schematic.save*` instead of `gschem.save*`. ### Changes in `lepton-attrib`: - The program no longer loads `gattribrc` files since for many years they provided no useful settings for the user. Previously available Scheme functions `quit()`, `exit()`, and `gattrib-version()` have been removed as well. - Separate menu description *XML* file has been removed. Now the menu structure is defined in the source code only. - The size and position of the main window is now saved in the **cache** configuration context, in the group `attrib.window-geometry`, and restored on launching of the program. ### Changes in `lepton-symcheck`: - The program no longer requires specifying any file name when interactive mode is requested, which may be convenient, for example, for debugging its functions. - A simple error is output instead of Scheme backtrace when neither interactive mode nor input files are specified on command line. ### Changes in `lepton-cli`: - Default font name for the `export` command has been changed from `Arial` to `Sans` (`export::font=Sans`). ### Changes in `lepton-schlas`: - The program no longer loads `system-gschlasrc` since for many years it provided no useful settings for the user. Previously available Scheme functions `quit()`, `exit()`, and `gschlas-version()` have been removed as well. ### Changes in `lepton-schdiff`: - Default font name has been changed from `Arial` to `Sans`. ### Changes in `gmk_sym`: - Non-working `-d` (debug) option has been removed. Notable changes in Lepton EDA 1.9.7 (20181211) ---------------------------------------------- ### Changes in `lepton-schematic`: - A new action, `edit-object-properties`, has been added. It is a replacement for four legacy actions which opened the same dialog: `edit-color`, `edit-linetype`, `edit-filltype`, `edit-pin-type`. The action is now bound to the shortcut E-O. - Fixed icon name for "Down Symbol" entry in pop-up menu. - Improved diagnostics of input file errors: - If `--verbose` (`-v`) command line option is passed to `lepton-schematic`, it prints input files line by line as they are parsed in the terminal, which facilitates debugging of broken schematics. - "Failed to load file" dialog error message has been improved. It now reports line number in the schematic file where parsing was stopped due to an error. - Several changes in the `lepton-schematic` menu make it more organized and easier to navigate through: - A new shortcut, O-F, for 'Options → Font', has been added. - A new shortcut, T-I, for 'Attributes → Show/Hide Hidden Text', has been added while retaining the legacy one, E-N. - Shortcut for 'Help → Find Component Documentation' has been changed to H-O. - Shortcut for 'Options → Options' has been changed to O-O. - Shortcut for 'Attributes → Find Text' has been changed to T-F. - Obsolete 'Edit Pin Type' entry in pop-up menu has been replaced with 'Object Properties'. - Some issues with using of 'Help' menus have been fixed: - Fixed doc searching bug in `lepton-schematic`'s module `gschemdoc` which failed due to wrong guessing on the installed documentation paths. - Fixed blocking of `lepton-schematic` GUI on using 'Help' menu entries on systems where documentation viewer may not return control until the web browser is closed. ### Changes in `lepton-netlist`: - A new test schematic for the `verilog` backend has been added. It allows checking changes in verilog module declarations. - Log initialisation has been moved from the `(netlist)` module to the `lepton-netlist` executable file to prevent repetition of the initialisation on every loading of the module and using the wrong log domain when the module is loaded, e.g., in `lepton-schematic` GUI. - Output of `lepton-netlist` version has been unified and placed into one procedure, `lepton-netlist-version`. Version is now output once per run, and the procedure can be used interactively in `lepton-netlist` REPL. - `lepton-netlist` interactive mode can now be used without specifying any file name on command line; the user can now load, traverse, and introspect arbitrary schematics data in its REPL. - Some backward compatibility variables have been provided to ensure compatibility with legacy geda backends. - `schematic-packages` and `schematic-non-unique-packages` fields have been removed from the `` record since they are derivatives from its other structures. Two substitution procedures retrieving those data, `schematic-package-names` and `schematic-non-unique-package-names`, have been provided to provide the same functionality. - New procedure `netlist-error` is now used instead of `error` in many backends for reporting errors. This simplifies error output by avoiding improper output of the program execution stack where it is not necessary. - The program now catches errors in loaded code (specified by options `-g`, `-l`, `-m`, `-c`) and exits with appropriate error message. ### Changes in `liblepton`: - The library has now facilities to load schematics in a verbose manner, which is now used in `lepton-schematic` (see above) for debugging. Notable changes in Lepton EDA 1.9.6 (20181101) ---------------------------------------------- ### Breaking changes: - All `(gnetlist module-name)` Scheme modules have been renamed to `(netlist module-name)`. ### Changes when building from source: - More portable gcc flags (namely, `AX_GCC_FLAGS`) are used now. `-std=c99` substitutes for `-std=gnu99`, and `-Werror=uninitialized` is now used instead of `-Werror=maybe-uninitialized`. ### Changes in `lepton-schematic`: - A new configuration key `text-sizes` in `schematic.gui` group has been added. It can be set to a semicolon-separated list of text size values. Those values will appear in *Text Entry...* ('Add → Text)' and *Text* ('Edit → Text') dialogs instead of default built-in values. - The middle mouse button can now be used to display the popup menu. Set `(middle-button "popup")` in `gschemrc` configuration file for this to work. - The maximum number of recent files to show in the `File → Open Recent` menu can now be configured using `max-recent-files` key in the `schematic.gui` group. - Processing of `-q` (`--quiet`) command line option has been fixed. ### Changes in `lepton-netlist`: - `lepton-netlist --list-backends` standard output now contains just the list of backend names, making it more script-friendly. - A bug in the function `get-all-connections`, which led to wrong netlists, has been fixed. The function now ignores pins of *graphical* components if they are connected to nets. - Filtering of "no-connect" packages and nets has been added: - A new `symbol=nc` attribute has been added to the list of processed attributes. Please see the [Attributes](https://github.com/lepton-eda/lepton-eda/wiki/Attributes) page in the lepton wiki for more information on how it works and about backward compatibility. - A new function, `package-nc?` has been added to the `(netlist package)` module to filter the "no-connect" packages. - The `` record in the `(netlist schematic)` module has been changed to contain the field `nc-nets` providing the names of nets connected to the "no-connect" symbols. - Appropriate functions of the `drc2` backend have been modified accordingly to support the new attribute. - The "no-connect" symbols in the distribution (`nc-*.sym`) have been updated to reflect the above change. - Some netlister test schematics have been fixed to check for the new and legacy "no-connect" symbols. - Output of the `geda` backend has been changed. Now it outputs additional information on graphical symbols and "no-connect" symbols. - Error output of the `bom2` backend has been fixed. - Log file names are now prefixed with `netlist` instead of `gnetlist`. - Reduced output to log files by removing disclaimer. - Fixed netlister name in the output of many backends. - A new command line option, *-w*, has been added to prevent "annoying" warnings about missing configuration files. - A new module, `(netlist error)`, and a new function in it, `netlist-error()`, have been added. The function is recommended for using in code of backends instead of `error()`, since the latter outputs Scheme execution stacks awful for mere users and absolutely unnecessary in cases where there are no programming error. - The program now exits with exit code *1* when neither backend nor interactive mode are given. ### Changes in `lepton-schdiff`: - A non-portable invocation of `mktemp` has been fixed. - Temporary file names are now prefixed with strings "lepton-schdiff-old", "lepton-schdiff-new", and "lepton-schdiff-diff" to facilitate debugging. - `lepton-cli export` is now invoked instead of deprecated Scheme scripts. - A new command line option, *-d [VIEWER]*, has been added to specify the image viewing program. By default, `display` from the **ImageMagick** package is used. - The script now uses the schematic font name set in the `schematic.gui::font` configuration key to output images. By default, if that key is not set, *Arial* is used. Notable changes in Lepton EDA 1.9.5 (20180820) ---------------------------------------------- ### Changes when building from source: - The version of the `libleptonrenderer` library, mistakenly broken in the previous release, has been fixed. - Fixed build on systems with several versions of `guile` package installed. On such systems, the user can specify the right program binary on the `configure` stage, e.g., `./configure GUILE=/usr/bin/guile-2.0`. ### Changes in `lepton-schematic`: - Log window scrolling has been fixed so that the last line of the log is shown correctly. ### Changes in `lepton-netlist`: - A new backend, *tEDAx*, aimed to support for the `pcb-rnd` program, has been added. - The patch preventing using of some `bash`-specific constructs has been applied. - Duplicate backend name output by the `--list-backends` command line option has been avoided. Notable changes in Lepton EDA 1.9.4 (20180812) ---------------------------------------------- ### Breaking changes: - `gaf` has been renamed to `lepton-cli`, `gschem` has been renamed to `lepton-schematic`, `gnetlist` has been renamed to `lepton-netlist`, `gsch2pcb` has been renamed to `lepton-sch2pcb`, `gsymcheck` has been renamed to `lepton-symcheck`, `grenum` has been renamed to `lepton-renum`, `refdes-renum` has been renamed to `lepton-refdes_renum`, `tragesym` has been renamed to `lepton-tragesym`, `pcb_backannotate` has been renamed to `lepton-pcb_backannotate`, `garchive` has been renamed to `lepton-archive`, `gsymfix` has been renamed to `lepton-symfix`, `schdiff` has been renamed to `lepton-schdiff`, `gschlas` has been renamed to `lepton-schlas`, `gxyrs` has been renamed to `lepton-xyrs`, `gattrib` has been renamed to `lepton-attrib`. - By default, backward compatibility symlinks are not created for major renamed tools, namely, `gaf`, `gattrib`, `gnetlist`, `gsch2pcb`, `gschem`, and `gsymcheck`, though the user can change that. A new configure option, `--enable-compat-symlinks`, can be used to enable their creation. - The users have now use `info lepton-scheme` to open texinfo manual on Lepton EDA Scheme API instead of `info geda-scheme`. ### General changes: - Compatibility with various non-Linux systems has been improved by avoiding of hardcoding paths for such interpreters as Perl, Python, or bash. - `lepton-eda` can now be compiled in C++ mode basically by using `./configure CC=g++ && make CC=g++`. - The same readline history file ".lepton_history" residing in the user configuration directory is used for `lepton-schematic`, `lepton-netlist`, and `lepton-symcheck`. - A new section about 'Makefile' creation has been added to CONTRIBUTING.md to facilitate non-gnu-make builds. - Fixed `--disable-deprecated` configure option. - Fixed non-working Scheme API procedure `reset-source-library`. ### Changes in `lepton-cli`: - Fixed Postscript output in landscape orientation. - Fixed `--layout` option processing for export. ### Changes in `lepton-netlist`: - All `lepton-netlist` (previously known as `gnetlist`) functionality has been reimplemented in Scheme. - Fixed processing of the `graphical` attribute. - Fixed a regression in the `verilog` backend. - A new example and [a wiki page for it](https://github.com/lepton-eda/lepton-eda/wiki/Verilog-example) have been added for the `verilog` backend. ### Changes in `lepton-schematic`: - view-find-text-state action has been added ('View → Find Text State'). It helps when docking windows GUI is turned off (in that case all widgets are not always visible). - "Freestyle" colors gain default values. Now there is no need to share the color schemes if one use that colors in their schematics. - A new widget that allows the users to change the schematic font has been added ('Options → Font...'). The user can click the "Apply" button to preview the chosen font and then cick the "Save..." button to save the settings either to the local or user configuraion file. It changes `font` key in `schematic.gui` group mentioned below. - A new configuration key `font` in `schematic.gui` group has been added. The user can now choose the font for schematic text. - Program-specific settings are now stored in separate configuration file in `$XDG_CACHE_HOME` directory. - A new widget for changing color scheme has been added. The user can now open 'View → Color scheme editor...', choose the colors she wants, and save the resulting color scheme under appropriate file name. - File save dialog now displays proper names for new files. - File save dialog is no longer opened after 'File → Save' for existing files if they have already been saved under default name. - Some duplicated log messages and superfluous newlines are no longer displayed in the log window. - Orphaned pages visible only in Scheme are no longer created after 'Page → Revert'. - Tabbed GUI support has been added to `lepton-schematic`: each schematic page can be now displayed in its own tab. By default, it is disabled and can be turned on by setting `schematic.gui::use-tabs` configuration key to `true`. Two other configuration keys related to tabbed GUI are `schematic.tabs::show-close-button` and `schematic.tabs::show-up-button`. They determine whether to show "close" and "hierarchy up" buttons on each tab, respectively. - Non-working options "-r" and "--config-file" have been removed. - A new hook, `switch-action-mode-hook`, has been added, which can be used to yield user subroutines on mode switch. Please check `info lepton-scheme` for details. - 'Text Entry...' dialog now respects the `text-size` option value. - Freestyle colors have now appropriate names in GUI. - A new configuration key `modify-viewport` in `schematic.undo` group has been added. It allows to change panning and zooming on undo/redo operations if `undo-panzoom` is set to "disabled" in `gschemrc` configuration file. The default value is "false". - Fixed naming of exported files in non-UTF-8 locales. - Warnings about missing standard menu items no longer clutter the log window when they are commented out in `system-gschemrc`. - A new widget to check symbols using `lepton-symcheck` functionality has been added. Use 'Attributes → Find Specific Text...' or T, Shift+F, choose 'Check Symbol:' on the combo-box at left, and press the button 'Find'. A message dialog with info about wrong floating attributes will appear. Closing it with the 'OK' button will lead to opening a window with info on objects having errors or warnings if such objects exist. If you select any of them, the canvas will be panned and zoomed to have it centered on the page. - Support for showing widgets as dialogs has been added. Now the users may decide, what type of GUI they prefer to use: dialog boxes (as it was before 1.9.2) or docking widgets. The type of GUI is controlled by the `use-docks` configuration key in the `schematic.gui` group. By default it's `true`: use docking widgets. If it's `false` then the widgets will be shown as dialog boxes. - A new module, `(schematic undo)` has been added, which contains a new procedure, `undo-save-state`. It saves current state onto the undo stack. Now it's possible to support undo/redo operations while modifying a schematic by scripts written in Scheme. - Filtering support has been added to hotkeys dialog. The user can quickly search by a desired keystroke or an action name in the `Filter:` entry. When searching for hotkeys, the user has to enter space between letters. - A regression in the multiattrib dialog box, resulted in the wrong height of the value textview, has been fixed. - A new `font` configuration key in the `schematic.log-window` group is now used to select the font used in the log window. - Scrollbars in the log window are no longer shown if the text fits in the window. - Automatic scrolling is now used in text properties and object properties widgets. - Color selection combo box keeps updated in line with the current color scheme. - Several new statusbar settings can now be used to adjust the statusbar appearance. The user can change one of the settings in the `schematic.status-bar` configuration group in order to get her favorite view: - Rubberband and magnetic net mode indicators can be now turned on by setting `show-rubber-band` and/or `show-magnetic-net` configuration keys to `true`, accordingly. - Indication of mouse button assignment can be switched off by setting `show-mouse-buttons` configuration key to `false`. - The user can now affect the font style used for the active action text with two new keys: `status-active-color` and `status-bold-font`. Please see [the Configuration Settings HowTo](https://github.com/lepton-eda/lepton-eda/wiki/Configuration-Settings) for more information on the above settings. - All status bar elements have now tooltip descriptions. ### Changes in `lepton-symcheck`: - `lepton-symcheck` (previously known as `gsymcheck`) functionality has been fully reimplemented in Scheme. - Fixed wrong evaluation of amount of failed checks. - No Scheme rc files are parsed for the utility any more. Useless rc procedures `gsymcheck-version`, `quit` and `exit` have been removed. - A new option, `--interactive`, has been added, which allows working with the tool functions in an interactive REPL. - Improvements and new checks in the utility: - Improved error messages about various objects. - Added checks for zero sized primitives. - Added checks for forbidden objects inside symbols (nets, buses, components). - Improved checks for duplicated floating attributes. - An incorrect warning message about a trailing backslash in text objects has been fixed. - Improved checks for the `pinseq` attribute multiplicity. - Improved special checks for `device` and `graphical` attributes. - Output messages about required floating attributes (`refdes`, `device`, and `footprint`) have been unified and have now severity `'warning` for all of them. - Improved checks for symbol slotting: added checks for the `numslots` attribute and for duplicate pin numbers in the `slotdef` attributes. Checks for duplicates in wrongly formed slots are avoided. - Refactored checks for duplicates in `slotdef`, `net`, and `pinnumber`. - Misleading warnings about matching pin number in `net` and `pinnumber` attributes are removed. ### Changes in `lepton-sch2pcb`: - Environment variable `GNETLIST` is no longer used in `lepton-sch2pcb` to custom netlister executable name. It has been replaced with `NETLISTER`. - New options, `--backend-cmd`, `--backend-net`, and `--backend-pcb` can be used to customize backend names. Default backend names are *pcbpins*, *PCB*, and *gsch2pcb*, respectively. ### Changes in `gmk_sym`: - Using of both dot and clock in generated symbols for the `verilog` backend is now allowed. The user should use a new directive *BOTH* to make this work. ### Changes when building from source: - Lepton now requires GTK+ 2.24.0, Glib 2.25.0, Gio 2.25.0, Gdk-pixbuf 2.21.0 or later versions for build. - Fixed option `--enable-contrib` of the *configure* script. ### Changes related to building under Cygwin: - An error in Cygwin port for Windows has been fixed. Information on how to build `lepton-eda` under Cygwin can be found [in the lepton-eda wiki](https://github.com/lepton-eda/lepton-eda/wiki/Lepton-EDA-and-Cygwin). Notable changes in Lepton EDA 1.9.3 (20170226) ---------------------------------------------- ### Breaking changes: - `libgeda` has been renamed to `liblepton` and `libgedacairo` has been renamed to `libleptonrenderer`. - Most legacy `gnetlist` API functions have been implemented in Scheme. Some backends may need to be adjusted slightly to take advantage of the improved API. - Direct output file access in `gnetlist` backends is now discouraged. Backends should write netlist data to the current Scheme output port, unless the backend is generating several files. The `output-filename` parameter to the main backend entry procedure is still meaningful; it reflects the output filename requested or is set to `#f` if `gnetlist` is generating the netlist to standard output. ### General changes: - Lepton core tools will now automatically rotate per-user log files. 250 log files per tool will be retained from the last 24 hours, and 50 log files per tool from all time. - gEDA/gaf tools now search for data and configuration files in the standard XDG directories. By default, these are: - `/usr/local/share/gEDA/` and `/usr/share/gEDA` for system data - `/etc/xdg/gEDA/` for system configuration - `$HOME/.local/share/gEDA/` for per-user data - `$HOME/.config/gEDA/` for per-user configuration. However, gEDA/gaf tools will still use `$HOME/.gEDA` for per-user files if that directory exists, they still obey the `$GEDADATA` and `$GEDADATARC` environment variables, and by default the search path includes the installation prefix selected when compiling Lepton. - Lepton tools will now search for Scheme code in the `scheme` subdirectory of the per-user data directory before anywhere else, to allow easy low-level Lepton customisation. - The `world-size` rc function has been deprecated, and no longer does anything. ### Changes in `gschem`: - The default editor view bounds have been expanded to allow symbols to be drawn without needing to translate them to the origin. - The multi-attribute editor now allows navigation between its controls with Tab and Shift+Tab, a tooltip for hinting how to add a literal linefeed or tab character, and a horizontal scrollbar to suppress window resizing. - You can now launch a Scheme Read-Eval-Print Loop (REPL) in gschem's controlling terminal with 'File → REPL' or with F, Shift+R. - Fix a crash when closing schematic pages, and several possible crashes when no page is open. - When undoing an operation the page is zoomed and scaled correctly, even if the `gschem` window was resized since the operation being undone. - 'File → Revert' will now detect changes to symbol libraries since the the page was loaded. This is helpful when trying to fix things up when symbols weren't found. - Faster page redraw operations. - Junction dots are now drawn slightly larger to ensure that they are clearly visible. ### Changes in `gnetlist`: - `gnetlist` will no longer warn if some of the symbols in a merged component (i.e. symbols with the same `refdes` attribute) are missing an attribute. For example, you can now attach a `footprint` attribute to only one symbol in a merged component without warnings. `gnetlist` continues to warn when it finds conflicting values, however. - The `gnetlist` REPL is now compatible with Geiser. Packages, package pins and pin nets can now be pretty-printed in the REPL. - All rc functions related to hierarchy have been deprecated, and have been replaced with config file settings. - The `drc` backend has been extensively rewritten and improved. - The `makedepend` backend has been fixed and can now generate Make rules for hierarchical schematics. It can also work with non-numbered schematic names. - The `spice-sdb` backend now emits verbose info to standard error, so that verbose messages don't end up in the netlist. - The `vams` (Verilog AMS) backend now generates entity files correctly. - The `redac` backend no longer duplicates connection info. - Several backends no longer emit trailing whitespace. - Changes for backend authors: - A new `object-id` function has been added to allow backends to access the object identifiers used during netlist generation. - The `gnetlist-version` function has been removed. - Internal changes: - A new Scheme test suite has been added, using the SRFI-64 framework. - "Graphical" netlists are no longer used during netlist generation. - Schematic page tree creation and transformation procedures are now accessible from Scheme. - A new `(gnetlist schematic)` module provides procedures for working with schematics as first-class objects during netlisting. - The new `(gnetlist option)` and `(gnetlist config)` modules provide procedures for working with `gnetlist`'s command-line arguments and configuration data. ### Scheme API changes - A new procedure, `log!`, has been added to the `(geda log)` module. It allows Scheme code to emit log messages in the same way that the tools' C code does. - Two new Scheme procedures for working with source library have been added to the `(geda library)` module: `source-library-contents` and `set-source-library-contents!`. - Accessing Lepton values (objects, pages, etc.) via the Scheme API is now much faster. Please check `info geda-scheme` for full details. ### Changes when building from source: - Lepton requires Guile 2.0 or later for build. However, running the full test suite requires Guile 2.0.13. - The Lepton source tarball no longer includes `libintl`. When building Lepton with internationalisation support, GNU `gettext` 0.18 or later is required. - The configure script now supports an `--enable-contrib` switch. Unless this is specified, the tools in the `contrib` directory will not be compiled or installed. - The configure script now supports an `--enable-relocatable` switch. When specified, Lepton tools do not have the configured prefix compiled into them. This option is not supported on BSD systems. - The configure script now supports a `--disable-deprecated` switch. When specified, various deprecated features and behaviour are disabled, which may break backward-compatibility with some configurations. ---------------------------------------------------------------- Please see [NEWS-1.9.2.txt](docs/news/NEWS-1.9.2.txt) for info on pre-1.9.3 changes (before *Lepton EDA* has forked from *geda-gaf*). lepton-eda-1.9.16/version.h0000644000175000017500000000041214101262377012417 00000000000000/* Date part of package version string. */ #define PACKAGE_DATE_VERSION "20210731" /* Dotted part of package version string. */ #define PACKAGE_DOTTED_VERSION "1.9.16" /* Current git commit. */ #define PACKAGE_GIT_COMMIT "13cbc49cd5af2c89d7b0fb6c8865171879b669e6" lepton-eda-1.9.16/utils/0000755000175000017500000000000014101262654012002 500000000000000lepton-eda-1.9.16/utils/Makefile.am0000644000175000017500000000033614101257250013754 00000000000000if ENABLE_ATTRIB ATTRIB_SCRIPT_DIR=attrib endif SUBDIRS = \ ${ATTRIB_SCRIPT_DIR} \ sch2pcb \ tragesym \ symfix \ archive \ embed \ pcb_backannotate \ refdes_renum \ schdiff \ upcfg \ symcheck \ cli \ netlist lepton-eda-1.9.16/utils/symcheck/0000755000175000017500000000000014101262654013610 500000000000000lepton-eda-1.9.16/utils/symcheck/Makefile.am0000644000175000017500000000074014101257250015561 00000000000000SUBDIRS = \ tests \ docs bin_SCRIPTS = \ lepton-symcheck EXTRA_DIST = \ lepton-symcheck.scm do_subst = sed -e 's,[@]libdir[@],$(libdir),g' \ -e 's,[@]GUILE[@],$(GUILE),g' \ -e 's,[@]LEPTON_SCHEME_MODULE_DIRECTORY[@],$(LEPTON_SCHEME_MODULE_DIRECTORY),g' \ -e 's,[@]localedir[@],$(localedir),g' \ -e 's,[@]ccachedir[@],@LEPTON_SCM_PRECOMPILE_DIR@,g' lepton-symcheck: lepton-symcheck.scm $(do_subst) < $(srcdir)/$@.scm > $@ chmod +x $@ CLEANFILES = \ lepton-symcheck lepton-eda-1.9.16/utils/symcheck/docs/0000755000175000017500000000000014101262654014540 500000000000000lepton-eda-1.9.16/utils/symcheck/docs/Makefile.am0000644000175000017500000000150414101257250016510 00000000000000dist_man_MANS = \ lepton-symcheck.1 EXTRA_DIST = \ lepton-symcheck.1.in .1.in.1: d=`$(GUILE) -c '(setlocale LC_ALL "C") \ (display (strftime "%B %-d, %Y" \ (car (strptime "%Y%m%d" (cadr (program-arguments))))))' $(DATE_VERSION)` ; \ v="$(DOTTED_VERSION).$(DATE_VERSION)" ; \ y=`echo $(DATE_VERSION)| sed -e"s/\(....\).*/\1/"`; \ sed -e"s:[@]DATE@:$$d:" -e"s:[@]VERSION@:$$v:" -e"s:[@]YEAR@:$$y:" < $< > $@ # Rules for converting man->html html_man_files = $(dist_man_MANS:%.1=%.html) SUFFIXES = .1.in .1 .html docsmandir=$(docdir)/man dist_docsman_DATA=$(html_man_files) if ENABLE_GROFF_HTML .1.html: rm -rf $@.tmp && \ LC_NUMERIC=C $(GROFF) -man -T html $< >$@.tmp && \ mv -f $@.tmp $@ else .1.html: @echo "No working groff available: cannot create $@" @! : endif CLEANFILES = $(dist_man_MANS) $(html_man_files) lepton-eda-1.9.16/utils/symcheck/docs/lepton-symcheck.1.in0000644000175000017500000000515614101257250020257 00000000000000.TH lepton-symcheck 1 "@DATE@" "Lepton EDA" @VERSION@ .SH NAME lepton-symcheck \- Lepton EDA Symbol Checker .SH SYNOPSIS .B lepton-symcheck [\fIOPTION\fR ...] \fIFILE\fR ... .SH DESCRIPTION .PP .B lepton-symcheck is a symbol checker for Lepton EDA. It checks one or more symbol \fIFILE\fRs passed on the command line. Here is a list of checks that .B lepton-symcheck performs: .IP \[bu] 2 Checks for \f[I]graphical\f[] attribute (if present does varied tests) .IP \[bu] Checks for the \f[I]device\f[] attribute .IP \[bu] Checks for various other missing attributes (\f[I]pinlabel\f[], \f[I]pintype\f[], \f[I]pinseq\f[], \f[I]footprint\f[], \f[I]refdes\f[]) .IP \[bu] Checks to make sure that the active pin end is on the 100 unit grid. .IP \[bu] Checks the uses of the various attributes (duplicates, incorrect syntax, invalid values, etc...) .IP \[bu] Checks for obsolete, old, and forbidden attributes .IP \[bu] Checks for any nets or buses within a symbol .IP \[bu] Checks for any other connections within a symbol .IP \[bu] Checks to make sure the number of pins is the correct number .SH OPTIONS .B lepton-symcheck accepts the following options: .TP 8 .BR \-q ", " \-\-quiet Quiet mode on. This mode turns off all warnings/notes/messages. .TP 8 .BR \-v ", " \-\-verbose Verbose mode 1. This mode will show all error messages. .TP 8 .B -vv Verbose mode 2. This mode will show all error and warning messages. .TP 8 .B -vvv Verbose mode 3. This mode will show all error, warning, and info messages. .TP 8 .BR \-V ", " \-\-version Print version information. .TP 8 .BR -h ", " \-\-help Print a help message. .SH EXAMPLES Here are some examples on how to run .BR lepton-symcheck : To get usage information run: .RS lepton-symcheck \-\-help .RE To actually check a symbol with just error counts, run: .RS lepton-symcheck \f[I]symbolfilename.sym\f[] .RE To get the actuall error messages, run: .RS lepton-symcheck \-v \f[I]symbolfilename.sym\f[] .RE To see all the error messages and warnings, run: .RS lepton-symcheck \-vv \f[I]symbolfilename.sym\f[] .RE To see all the error messages, warnings, and parse info, run: .RS lepton-symcheck \-vvv \f[I]symbolfilename.sym\f[] .RE .SH AUTHORS See the `AUTHORS' file included with this program. .SH COPYRIGHT .nf Copyright \(co 2012-2017 gEDA Contributors. Copyright \(co 2017-@YEAR@ Lepton Developers. License GPLv2+: GNU GPL version 2 or later. Please see the `COPYING' file included with this program for full details. .PP This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. .SH SEE ALSO .BR lepton-schematic (1), .BR lepton-netlist (1) lepton-eda-1.9.16/utils/symcheck/docs/Makefile.in0000644000175000017500000005243014101262632016525 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = utils/symcheck/docs ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/guile.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lepton-assert.m4 \ $(top_srcdir)/m4/lepton-attrib.m4 \ $(top_srcdir)/m4/lepton-awk.m4 \ $(top_srcdir)/m4/lepton-cairo.m4 \ $(top_srcdir)/m4/lepton-contrib.m4 \ $(top_srcdir)/m4/lepton-data-dirs.m4 \ $(top_srcdir)/m4/lepton-desktop-i18n.m4 \ $(top_srcdir)/m4/lepton-desktop.m4 \ $(top_srcdir)/m4/lepton-doxygen.m4 \ $(top_srcdir)/m4/lepton-gcc-flags.m4 \ $(top_srcdir)/m4/lepton-git-version.m4 \ $(top_srcdir)/m4/lepton-git.m4 \ $(top_srcdir)/m4/lepton-groff.m4 \ $(top_srcdir)/m4/lepton-guile.m4 \ $(top_srcdir)/m4/lepton-host.m4 \ $(top_srcdir)/m4/lepton-stroke.m4 \ $(top_srcdir)/m4/lepton-uri-viewer.m4 \ $(top_srcdir)/m4/lepton-windows.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/liblepton.m4 \ $(top_srcdir)/m4/libleptonattrib.m4 \ $(top_srcdir)/m4/libleptongui.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pcb-data-dirs.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(dist_docsman_DATA) \ $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } man1dir = $(mandir)/man1 am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docsmandir)" NROFF = nroff MANS = $(dist_man_MANS) DATA = $(dist_docsman_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(dist_man_MANS) $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITMAP_DIRECTORY = @BITMAP_DIRECTORY@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@ CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@ CAIRO_PNG_CFLAGS = @CAIRO_PNG_CFLAGS@ CAIRO_PNG_LIBS = @CAIRO_PNG_LIBS@ CAIRO_PS_CFLAGS = @CAIRO_PS_CFLAGS@ CAIRO_PS_LIBS = @CAIRO_PS_LIBS@ CAIRO_SVG_CFLAGS = @CAIRO_SVG_CFLAGS@ CAIRO_SVG_LIBS = @CAIRO_SVG_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE_VERSION = @DATE_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DESKTOP_I18N = @DESKTOP_I18N@ DESKTOP_I18N_CREATE = @DESKTOP_I18N_CREATE@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@ DESKTOP_I18N_SCRIPT = @DESKTOP_I18N_SCRIPT@ DLLTOOL = @DLLTOOL@ DOT = @DOT@ DOTTED_VERSION = @DOTTED_VERSION@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GDK_CFLAGS = @GDK_CFLAGS@ GDK_LIBS = @GDK_LIBS@ GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@ GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@ GETTEXT = @GETTEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GIT = @GIT@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GROFF = @GROFF@ GTKEXTRA_CFLAGS = @GTKEXTRA_CFLAGS@ GTKEXTRA_LIBS = @GTKEXTRA_LIBS@ GTKSHEET_CFLAGS = @GTKSHEET_CFLAGS@ GTKSHEET_LIBS = @GTKSHEET_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GUILD = @GUILD@ GUILE = @GUILE@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@ GUILE_LDFLAGS = @GUILE_LDFLAGS@ GUILE_LIBS = @GUILE_LIBS@ GUILE_LTLIBS = @GUILE_LTLIBS@ GUILE_PKG_NAME = @GUILE_PKG_NAME@ GUILE_SNARF = @GUILE_SNARF@ GUILE_TOOLS = @GUILE_TOOLS@ HAVE_GIT_REPO = @HAVE_GIT_REPO@ ICON_THEME_INSTALLER = @ICON_THEME_INSTALLER@ INKSCAPE = @INKSCAPE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEPTONDATADIR = @LEPTONDATADIR@ LEPTON_SCHEME_MODULE_DIRECTORY = @LEPTON_SCHEME_MODULE_DIRECTORY@ LEPTON_SCM_PRECOMPILE_DIR = @LEPTON_SCM_PRECOMPILE_DIR@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBLEPTONATTRIB_MAJOR = @LIBLEPTONATTRIB_MAJOR@ LIBLEPTONATTRIB_SHLIB_VERSION = @LIBLEPTONATTRIB_SHLIB_VERSION@ LIBLEPTONGUI_MAJOR = @LIBLEPTONGUI_MAJOR@ LIBLEPTONGUI_SHLIB_VERSION = @LIBLEPTONGUI_SHLIB_VERSION@ LIBLEPTON_GETTEXT_DOMAIN = @LIBLEPTON_GETTEXT_DOMAIN@ LIBLEPTON_MAJOR = @LIBLEPTON_MAJOR@ LIBLEPTON_SHLIB_VERSION = @LIBLEPTON_SHLIB_VERSION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSTROKE_CPPFLAGS = @LIBSTROKE_CPPFLAGS@ LIBSTROKE_LDFLAGS = @LIBSTROKE_LDFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ M4 = @M4@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MINGW_CFLAGS = @MINGW_CFLAGS@ MINGW_GUI_LDFLAGS = @MINGW_GUI_LDFLAGS@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCBDATADIR = @PCBDATADIR@ PCBLIBPATH = @PCBLIBPATH@ PCBM4DIR = @PCBM4DIR@ PDFLATEX = @PDFLATEX@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ URI_VIEWER = @URI_VIEWER@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDOWS_LIBTOOL_FLAGS = @WINDOWS_LIBTOOL_FLAGS@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ dist_man_MANS = \ lepton-symcheck.1 EXTRA_DIST = \ lepton-symcheck.1.in # Rules for converting man->html html_man_files = $(dist_man_MANS:%.1=%.html) SUFFIXES = .1.in .1 .html docsmandir = $(docdir)/man dist_docsman_DATA = $(html_man_files) CLEANFILES = $(dist_man_MANS) $(html_man_files) all: all-am .SUFFIXES: .SUFFIXES: .1.in .1 .html $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/symcheck/docs/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign utils/symcheck/docs/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-man1: $(dist_man_MANS) @$(NORMAL_INSTALL) @list1=''; \ list2='$(dist_man_MANS)'; \ test -n "$(man1dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.1[a-z]*$$/p'; \ fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ done | \ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ sed 'N;N;s,\n, ,g' | { \ list=; while read file base inst; do \ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ fi; \ done; \ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ while read files; do \ test -z "$$files" || { \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ done; } uninstall-man1: @$(NORMAL_UNINSTALL) @list=''; test -n "$(man1dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \ sed -n '/\.1[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) install-dist_docsmanDATA: $(dist_docsman_DATA) @$(NORMAL_INSTALL) @list='$(dist_docsman_DATA)'; test -n "$(docsmandir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(docsmandir)'"; \ $(MKDIR_P) "$(DESTDIR)$(docsmandir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docsmandir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(docsmandir)" || exit $$?; \ done uninstall-dist_docsmanDATA: @$(NORMAL_UNINSTALL) @list='$(dist_docsman_DATA)'; test -n "$(docsmandir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(docsmandir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(MANS) $(DATA) installdirs: for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docsmandir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dist_docsmanDATA install-man install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-man1 install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-dist_docsmanDATA uninstall-man uninstall-man: uninstall-man1 .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am \ install-dist_docsmanDATA install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-man1 \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags-am uninstall uninstall-am uninstall-dist_docsmanDATA \ uninstall-man uninstall-man1 .PRECIOUS: Makefile .1.in.1: d=`$(GUILE) -c '(setlocale LC_ALL "C") \ (display (strftime "%B %-d, %Y" \ (car (strptime "%Y%m%d" (cadr (program-arguments))))))' $(DATE_VERSION)` ; \ v="$(DOTTED_VERSION).$(DATE_VERSION)" ; \ y=`echo $(DATE_VERSION)| sed -e"s/\(....\).*/\1/"`; \ sed -e"s:[@]DATE@:$$d:" -e"s:[@]VERSION@:$$v:" -e"s:[@]YEAR@:$$y:" < $< > $@ @ENABLE_GROFF_HTML_TRUE@.1.html: @ENABLE_GROFF_HTML_TRUE@ rm -rf $@.tmp && \ @ENABLE_GROFF_HTML_TRUE@ LC_NUMERIC=C $(GROFF) -man -T html $< >$@.tmp && \ @ENABLE_GROFF_HTML_TRUE@ mv -f $@.tmp $@ @ENABLE_GROFF_HTML_FALSE@.1.html: @ENABLE_GROFF_HTML_FALSE@ @echo "No working groff available: cannot create $@" @ENABLE_GROFF_HTML_FALSE@ @! : # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/symcheck/docs/lepton-symcheck.10000644000175000017500000000517114101262654017653 00000000000000.TH lepton-symcheck 1 "July 31, 2021" "Lepton EDA" 1.9.16.20210731 .SH NAME lepton-symcheck \- Lepton EDA Symbol Checker .SH SYNOPSIS .B lepton-symcheck [\fIOPTION\fR ...] \fIFILE\fR ... .SH DESCRIPTION .PP .B lepton-symcheck is a symbol checker for Lepton EDA. It checks one or more symbol \fIFILE\fRs passed on the command line. Here is a list of checks that .B lepton-symcheck performs: .IP \[bu] 2 Checks for \f[I]graphical\f[] attribute (if present does varied tests) .IP \[bu] Checks for the \f[I]device\f[] attribute .IP \[bu] Checks for various other missing attributes (\f[I]pinlabel\f[], \f[I]pintype\f[], \f[I]pinseq\f[], \f[I]footprint\f[], \f[I]refdes\f[]) .IP \[bu] Checks to make sure that the active pin end is on the 100 unit grid. .IP \[bu] Checks the uses of the various attributes (duplicates, incorrect syntax, invalid values, etc...) .IP \[bu] Checks for obsolete, old, and forbidden attributes .IP \[bu] Checks for any nets or buses within a symbol .IP \[bu] Checks for any other connections within a symbol .IP \[bu] Checks to make sure the number of pins is the correct number .SH OPTIONS .B lepton-symcheck accepts the following options: .TP 8 .BR \-q ", " \-\-quiet Quiet mode on. This mode turns off all warnings/notes/messages. .TP 8 .BR \-v ", " \-\-verbose Verbose mode 1. This mode will show all error messages. .TP 8 .B -vv Verbose mode 2. This mode will show all error and warning messages. .TP 8 .B -vvv Verbose mode 3. This mode will show all error, warning, and info messages. .TP 8 .BR \-V ", " \-\-version Print version information. .TP 8 .BR -h ", " \-\-help Print a help message. .SH EXAMPLES Here are some examples on how to run .BR lepton-symcheck : To get usage information run: .RS lepton-symcheck \-\-help .RE To actually check a symbol with just error counts, run: .RS lepton-symcheck \f[I]symbolfilename.sym\f[] .RE To get the actuall error messages, run: .RS lepton-symcheck \-v \f[I]symbolfilename.sym\f[] .RE To see all the error messages and warnings, run: .RS lepton-symcheck \-vv \f[I]symbolfilename.sym\f[] .RE To see all the error messages, warnings, and parse info, run: .RS lepton-symcheck \-vvv \f[I]symbolfilename.sym\f[] .RE .SH AUTHORS See the `AUTHORS' file included with this program. .SH COPYRIGHT .nf Copyright \(co 2012-2017 gEDA Contributors. Copyright \(co 2017-2021 Lepton Developers. License GPLv2+: GNU GPL version 2 or later. Please see the `COPYING' file included with this program for full details. .PP This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. .SH SEE ALSO .BR lepton-schematic (1), .BR lepton-netlist (1) lepton-eda-1.9.16/utils/symcheck/docs/lepton-symcheck.html0000644000175000017500000001532114101262654020455 00000000000000 lepton-symcheck

lepton-symcheck

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
AUTHORS
COPYRIGHT
SEE ALSO

NAME

lepton-symcheck - Lepton EDA Symbol Checker

SYNOPSIS

lepton-symcheck [OPTION ...] FILE ...

DESCRIPTION

lepton-symcheck is a symbol checker for Lepton EDA. It checks one or more symbol FILEs passed on the command line.

Here is a list of checks that lepton-symcheck performs:

Checks for graphical attribute (if present does varied tests)

Checks for the device attribute

Checks for various other missing attributes (pinlabel, pintype, pinseq, footprint, refdes)

Checks to make sure that the active pin end is on the 100 unit grid.

Checks the uses of the various attributes (duplicates, incorrect syntax, invalid values, etc...)

Checks for obsolete, old, and forbidden attributes

Checks for any nets or buses within a symbol

Checks for any other connections within a symbol

Checks to make sure the number of pins is the correct number

OPTIONS

lepton-symcheck accepts the following options:
-q
, --quiet

Quiet mode on. This mode turns off all warnings/notes/messages.

-v, --verbose

Verbose mode 1. This mode will show all error messages.

-vv

Verbose mode 2. This mode will show all error and warning messages.

-vvv

Verbose mode 3. This mode will show all error, warning, and info messages.

-V, --version

Print version information.

-h, --help

Print a help message.

EXAMPLES

Here are some examples on how to run lepton-symcheck:

To get usage information run:

lepton-symcheck --help

To actually check a symbol with just error counts, run:

lepton-symcheck symbolfilename.sym

To get the actuall error messages, run:

lepton-symcheck -v symbolfilename.sym

To see all the error messages and warnings, run:

lepton-symcheck -vv symbolfilename.sym

To see all the error messages, warnings, and parse info, run:

lepton-symcheck -vvv symbolfilename.sym

AUTHORS

See the ’AUTHORS’ file included with this program.

COPYRIGHT

Copyright © 2012-2017 gEDA Contributors.
Copyright © 2017-2021 Lepton Developers.
License GPLv2+: GNU GPL version 2 or later. Please see the ’COPYING’
file included with this program for full details.

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

SEE ALSO

lepton-schematic(1), lepton-netlist(1)


lepton-eda-1.9.16/utils/symcheck/Makefile.in0000644000175000017500000006332714101262632015604 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = utils/symcheck ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/guile.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lepton-assert.m4 \ $(top_srcdir)/m4/lepton-attrib.m4 \ $(top_srcdir)/m4/lepton-awk.m4 \ $(top_srcdir)/m4/lepton-cairo.m4 \ $(top_srcdir)/m4/lepton-contrib.m4 \ $(top_srcdir)/m4/lepton-data-dirs.m4 \ $(top_srcdir)/m4/lepton-desktop-i18n.m4 \ $(top_srcdir)/m4/lepton-desktop.m4 \ $(top_srcdir)/m4/lepton-doxygen.m4 \ $(top_srcdir)/m4/lepton-gcc-flags.m4 \ $(top_srcdir)/m4/lepton-git-version.m4 \ $(top_srcdir)/m4/lepton-git.m4 \ $(top_srcdir)/m4/lepton-groff.m4 \ $(top_srcdir)/m4/lepton-guile.m4 \ $(top_srcdir)/m4/lepton-host.m4 \ $(top_srcdir)/m4/lepton-stroke.m4 \ $(top_srcdir)/m4/lepton-uri-viewer.m4 \ $(top_srcdir)/m4/lepton-windows.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/liblepton.m4 \ $(top_srcdir)/m4/libleptonattrib.m4 \ $(top_srcdir)/m4/libleptongui.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pcb-data-dirs.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(bindir)" SCRIPTS = $(bin_SCRIPTS) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir distdir-am am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITMAP_DIRECTORY = @BITMAP_DIRECTORY@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@ CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@ CAIRO_PNG_CFLAGS = @CAIRO_PNG_CFLAGS@ CAIRO_PNG_LIBS = @CAIRO_PNG_LIBS@ CAIRO_PS_CFLAGS = @CAIRO_PS_CFLAGS@ CAIRO_PS_LIBS = @CAIRO_PS_LIBS@ CAIRO_SVG_CFLAGS = @CAIRO_SVG_CFLAGS@ CAIRO_SVG_LIBS = @CAIRO_SVG_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE_VERSION = @DATE_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DESKTOP_I18N = @DESKTOP_I18N@ DESKTOP_I18N_CREATE = @DESKTOP_I18N_CREATE@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@ DESKTOP_I18N_SCRIPT = @DESKTOP_I18N_SCRIPT@ DLLTOOL = @DLLTOOL@ DOT = @DOT@ DOTTED_VERSION = @DOTTED_VERSION@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GDK_CFLAGS = @GDK_CFLAGS@ GDK_LIBS = @GDK_LIBS@ GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@ GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@ GETTEXT = @GETTEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GIT = @GIT@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GROFF = @GROFF@ GTKEXTRA_CFLAGS = @GTKEXTRA_CFLAGS@ GTKEXTRA_LIBS = @GTKEXTRA_LIBS@ GTKSHEET_CFLAGS = @GTKSHEET_CFLAGS@ GTKSHEET_LIBS = @GTKSHEET_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GUILD = @GUILD@ GUILE = @GUILE@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@ GUILE_LDFLAGS = @GUILE_LDFLAGS@ GUILE_LIBS = @GUILE_LIBS@ GUILE_LTLIBS = @GUILE_LTLIBS@ GUILE_PKG_NAME = @GUILE_PKG_NAME@ GUILE_SNARF = @GUILE_SNARF@ GUILE_TOOLS = @GUILE_TOOLS@ HAVE_GIT_REPO = @HAVE_GIT_REPO@ ICON_THEME_INSTALLER = @ICON_THEME_INSTALLER@ INKSCAPE = @INKSCAPE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEPTONDATADIR = @LEPTONDATADIR@ LEPTON_SCHEME_MODULE_DIRECTORY = @LEPTON_SCHEME_MODULE_DIRECTORY@ LEPTON_SCM_PRECOMPILE_DIR = @LEPTON_SCM_PRECOMPILE_DIR@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBLEPTONATTRIB_MAJOR = @LIBLEPTONATTRIB_MAJOR@ LIBLEPTONATTRIB_SHLIB_VERSION = @LIBLEPTONATTRIB_SHLIB_VERSION@ LIBLEPTONGUI_MAJOR = @LIBLEPTONGUI_MAJOR@ LIBLEPTONGUI_SHLIB_VERSION = @LIBLEPTONGUI_SHLIB_VERSION@ LIBLEPTON_GETTEXT_DOMAIN = @LIBLEPTON_GETTEXT_DOMAIN@ LIBLEPTON_MAJOR = @LIBLEPTON_MAJOR@ LIBLEPTON_SHLIB_VERSION = @LIBLEPTON_SHLIB_VERSION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSTROKE_CPPFLAGS = @LIBSTROKE_CPPFLAGS@ LIBSTROKE_LDFLAGS = @LIBSTROKE_LDFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ M4 = @M4@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MINGW_CFLAGS = @MINGW_CFLAGS@ MINGW_GUI_LDFLAGS = @MINGW_GUI_LDFLAGS@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCBDATADIR = @PCBDATADIR@ PCBLIBPATH = @PCBLIBPATH@ PCBM4DIR = @PCBM4DIR@ PDFLATEX = @PDFLATEX@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ URI_VIEWER = @URI_VIEWER@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDOWS_LIBTOOL_FLAGS = @WINDOWS_LIBTOOL_FLAGS@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = \ tests \ docs bin_SCRIPTS = \ lepton-symcheck EXTRA_DIST = \ lepton-symcheck.scm do_subst = sed -e 's,[@]libdir[@],$(libdir),g' \ -e 's,[@]GUILE[@],$(GUILE),g' \ -e 's,[@]LEPTON_SCHEME_MODULE_DIRECTORY[@],$(LEPTON_SCHEME_MODULE_DIRECTORY),g' \ -e 's,[@]localedir[@],$(localedir),g' \ -e 's,[@]ccachedir[@],@LEPTON_SCM_PRECOMPILE_DIR@,g' CLEANFILES = \ lepton-symcheck all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/symcheck/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign utils/symcheck/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-binSCRIPTS: $(bin_SCRIPTS) @$(NORMAL_INSTALL) @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n' \ -e 'h;s|.*|.|' \ -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) { files[d] = files[d] " " $$1; \ if (++n[d] == $(am__install_max)) { \ print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ else { print "f", d "/" $$4, $$1 } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 's,.*/,,;$(transform)'`; \ dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir) mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(SCRIPTS) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(bindir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-binSCRIPTS install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-binSCRIPTS .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ check-am clean clean-generic clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-binSCRIPTS install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ uninstall-am uninstall-binSCRIPTS .PRECIOUS: Makefile lepton-symcheck: lepton-symcheck.scm $(do_subst) < $(srcdir)/$@.scm > $@ chmod +x $@ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/symcheck/lepton-symcheck.scm0000644000175000017500000000330514101257250017336 00000000000000#!/usr/bin/env sh export GUILE_LOAD_COMPILED_PATH="@ccachedir@:${GUILE_LOAD_COMPILED_PATH}" exec @GUILE@ -s "$0" "$@" !# ;;; Lepton EDA Symbol Checker ;;; Scheme API ;;; Copyright (C) 2017-2021 Lepton EDA Contributors ;;; ;;; This program is free software; you can redistribute it and/or modify ;;; it under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 2 of the License, or ;;; (at your option) any later version. ;;; ;;; This program is distributed in the hope that it will be useful, ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with this program; if not, write to the Free Software ;;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. (eval-when (expand load eval) (unless (getenv "LIBLEPTON") (add-to-load-path "@LEPTON_SCHEME_MODULE_DIRECTORY@"))) (use-modules (lepton ffi)) ;;; Initialize liblepton library. (liblepton_init) ;;; Localization. (define %textdomain "lepton-symcheck") (textdomain %textdomain) (bindtextdomain %textdomain "@localedir@") (bind-textdomain-codeset %textdomain "UTF-8") ;;; At compile time of this program guile won't be aware of these ;;; modules, since it compiles the code before loading the above ;;; extension. Let's make it quiet here. (define with-toplevel (@@ (lepton core toplevel) %with-toplevel)) (define make-toplevel (@@ (lepton core toplevel) %make-toplevel)) (primitive-eval '(use-modules (symcheck check))) (with-toplevel (make-toplevel) check-all-symbols) lepton-eda-1.9.16/utils/symcheck/tests/0000755000175000017500000000000014101262654014752 500000000000000lepton-eda-1.9.16/utils/symcheck/tests/graphical_incorrect.sym0000644000175000017500000000203214101257250021417 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1200 5 10 0 0 0 0 graphical=1 T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 slotdef=2:4,5,6 T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=1 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? lepton-eda-1.9.16/utils/symcheck/tests/graphical_incorrect2.sym0000644000175000017500000000212614101257250021505 00000000000000v 20150930 2 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 1 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 1 device=7400 T 1200 1100 5 10 0 0 0 0 1 footprint=unspecified T 500 1200 5 10 0 0 0 0 1 graphical=2 T 500 1100 5 10 0 0 0 0 1 slot=1 T 500 1300 5 10 0 0 0 0 1 numslots=4 T 500 1500 5 10 0 0 0 0 1 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 1 slotdef=2:4,5,6 T 500 1900 5 10 0 0 0 0 1 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 1 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 0 1 { T 1085 350 5 8 0 0 0 0 1 pinseq=3 T 1085 550 5 8 1 1 0 0 1 pinnumber=3 T 1085 350 5 8 0 0 0 0 1 pinlabel=C T 1085 350 5 8 0 0 0 0 1 pintype=out } P 300 300 0 300 1 0 1 { T 0 150 5 8 0 0 0 0 1 pinseq=2 T 100 350 5 8 1 1 0 0 1 pinnumber=2 T 0 150 5 8 0 0 0 0 1 pinlabel=B T 0 150 5 8 0 0 0 0 1 pintype=in } P 300 700 0 700 1 0 1 { T 0 550 5 8 0 0 0 0 1 pinseq=1 T 100 750 5 8 1 1 0 0 1 pinnumber=1 T 0 550 5 8 0 0 0 0 1 pinlabel=A T 0 550 5 8 0 0 0 0 1 pintype=in } T 300 900 8 10 1 1 0 0 1 refdes=U? lepton-eda-1.9.16/utils/symcheck/tests/Makefile.am0000644000175000017500000000721214101257250016724 00000000000000EXTRA_DIST = buses.sym \ component.sym \ connections1.sym connections2.sym connections3.sym \ correct.sym \ duplicate_pinnumber.sym \ duplicate_pinnumber_no_slots.sym \ duplicate_pinseq.sym \ graphical_correct.sym \ graphical_incorrect.sym \ graphical_incorrect1.sym \ graphical_incorrect2.sym \ invalid_slotdef1.sym invalid_slotdef2.sym invalid_slotdef3.sym \ invalid_slotdef4.sym \ invalid_slotdef5.sym \ labelinside.sym lots_of_errors.sym \ many_slotdefs.sym missing_device.sym missing_footprint.sym \ missing_numslots.sym missing_pinlabel.sym missing_pinnumber.sym \ missing_pinseq.sym missing_slotdef.sym multiple_footprint.sym \ multiple_pinlabel.sym multiple_pinnumber.sym \ multiple_pinseq.sym multiple_pintype.sym multiple_refdes.sym \ nameinside.sym nets.sym noslots.sym old_symbol.sym oldpins.sym \ oldslot.sym typeinside.sym urefinside.sym zero_pinnumber.sym \ zero_pinseq.sym zero_slotnum.sym zero_slots.sym \ duplicate_net.sym pin_offgrid.sym pintypes.sym \ misplaced_attributes.sym text_errors.sym \ zero_arc.sym \ zero_boxes.sym \ zero_circle.sym \ zero_line.sym \ zero_path.sym \ zero_picture.sym \ runtest.sh \ buses.output \ component.output \ connections1.output connections2.output \ connections3.output correct.output duplicate_net.output \ duplicate_pinnumber.output \ duplicate_pinnumber_no_slots.output \ duplicate_pinseq.output \ graphical_correct.output \ graphical_incorrect.output \ graphical_incorrect1.output \ graphical_incorrect2.output \ invalid_slotdef1.output \ invalid_slotdef2.output invalid_slotdef3.output \ invalid_slotdef4.output \ invalid_slotdef5.output \ labelinside.output lots_of_errors.output \ many_slotdefs.output missing_device.output \ missing_footprint.output missing_numslots.output \ missing_pinlabel.output missing_pinnumber.output \ missing_pinseq.output missing_slotdef.output \ multiple_footprint.output multiple_pinlabel.output \ multiple_pinnumber.output multiple_pinseq.output \ multiple_pintype.output multiple_refdes.output \ nameinside.output nets.output noslots.output oldpins.output \ oldslot.output old_symbol.output typeinside.output \ urefinside.output zero_pinnumber.output zero_pinseq.output \ zero_slotnum.output zero_slots.output pin_offgrid.output \ zero_arc.output \ zero_boxes.output \ zero_circle.output \ zero_line.output \ zero_path.output \ zero_picture.output \ pintypes.output misplaced_attributes.output text_errors.output check_SCRIPTS = tests tests: # Cleanup rm -f $(builddir)/new_* abs_builddir='$(abs_builddir)'; export abs_builddir; \ abs_top_builddir='$(abs_top_builddir)'; export abs_top_builddir; \ LIBLEPTON='$(abs_top_builddir)/liblepton/src/liblepton'; export LIBLEPTON; \ export LEPTON_INHIBIT_RC_FILES="inhibit"; \ abs_srcdir='$(abs_srcdir)'; export abs_srcdir; \ abs_top_srcdir='$(abs_top_srcdir)'; export abs_top_srcdir; \ fail=0 ; \ pass=0 ; \ ERRORLOG=${abs_builddir}/error.log; export ERRORLOG; \ [ -e $$ERRORLOG ] && rm $$ERRORLOG; \ for file in $(abs_srcdir)/*.sym; do \ base=`basename $$file`; \ $(SHELL) $(srcdir)/runtest.sh $$file; \ if [ $$? -ne 0 ]; then \ echo "FAIL: $$base"; \ fail=`expr $$fail + 1`; \ else \ echo "PASS: $$base"; \ pass=`expr $$pass + 1`; \ fi; \ done ; \ echo "passed: $$pass" ; \ echo "failed: $$fail" ; \ exit $$fail CLEANFILES = *.log lepton-eda-1.9.16/utils/symcheck/tests/zero_slots.output0000644000175000017500000000030514101257250020351 00000000000000ERROR: Duplicate pin number 0: slotdef=1:1,0,3 ERROR: Zero pin number in slotdef=1:1,0,3 ERROR: Duplicate pin number 0: slotdef=4:12,13,0 ERROR: Zero pin number in slotdef=4:12,13,0 4 ERRORS found lepton-eda-1.9.16/utils/symcheck/tests/missing_pinnumber.sym0000644000175000017500000000172414101257250021154 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 900 5 10 0 0 0 0 device=7400 T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 slotdef=2:4,5,6 T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? lepton-eda-1.9.16/utils/symcheck/tests/invalid_slotdef2.sym0000644000175000017500000000176114101257250020655 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 slotdef=a: T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=1 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? lepton-eda-1.9.16/utils/symcheck/tests/duplicate_net.output0000644000175000017500000000033214101257250020766 00000000000000ERROR: Duplicate pin number in net= attribute 5: net=INVALID:1,5 ERROR: Duplicate pin number in net= attribute 5: net=INVALID:5,6,6 ERROR: Duplicate pin number in one net= attribute 6: net=INVALID:5,6,6 3 ERRORS found lepton-eda-1.9.16/utils/symcheck/tests/correct.sym0000644000175000017500000000176614101257250017073 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 slotdef=2:4,5,6 T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=1 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? lepton-eda-1.9.16/utils/symcheck/tests/multiple_pinnumber.sym0000644000175000017500000000203114101257250021326 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 slotdef=2:4,5,6 T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 350 5 8 0 0 0 0 pinnumber=3 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=1 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? lepton-eda-1.9.16/utils/symcheck/tests/invalid_slotdef5.output0000644000175000017500000000054514101257250021407 00000000000000ERROR: Duplicate pin number 3: slotdef=1:1,2,3 ERROR: Duplicate slot number 2: slotdef=2:3,4,5 ERROR: Duplicate pin number 9: slotdef=3:9,9,8 ERROR: Duplicate pin number 9: slotdef=3:9,9,8 ERROR: Too many pins in slotdef=4:12,13,14,15 (must be 3) ERROR: Duplicate pin number 3: slotdef=2:3,4,5 ERROR: Duplicate slot number 2: slotdef=2:3,4,5 7 ERRORS found lepton-eda-1.9.16/utils/symcheck/tests/zero_slotnum.output0000644000175000017500000000020014101257250020700 00000000000000ERROR: Missing slotdef=2:... (there should be 4 slotdef= attributes) ERROR: Found a zero slot in slotdef=0:4,5,6 2 ERRORS found lepton-eda-1.9.16/utils/symcheck/tests/connections1.output0000644000175000017500000000022714101257250020554 00000000000000ERROR: Object with forbidden connections: pin ERROR: Object with forbidden connections: net ERROR: Object forbidden inside symbols: net 3 ERRORS found lepton-eda-1.9.16/utils/symcheck/tests/lots_of_errors.sym0000644000175000017500000000145414101257250020465 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device_missing=7400 T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=5 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3,5,6 T 500 1700 5 10 0 0 0 0 slotdef=2:4,5 T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 1900 5 10 0 0 0 0 slotdef=8:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=a L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 550 5 8 1 1 0 0 pinnumbe=3 } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pineq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=1 } T 300 900 8 10 1 1 0 0 uref=U? lepton-eda-1.9.16/utils/symcheck/tests/invalid_slotdef3.sym0000644000175000017500000000176314101257250020660 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 slotdef=2:3,4,5 T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=1 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? lepton-eda-1.9.16/utils/symcheck/tests/invalid_slotdef2.output0000644000175000017500000000022414101257250021376 00000000000000ERROR: Missing slotdef=2:... (there should be 4 slotdef= attributes) ERROR: Invalid slotdef=a: attribute (the format is #:#,#,#,...) 2 ERRORS found lepton-eda-1.9.16/utils/symcheck/tests/pintypes.output0000644000175000017500000000055114101257250020024 00000000000000ERROR: Invalid pin attribute value: pintype=i ERROR: Invalid pin attribute value: pintype=iox ERROR: Invalid pin attribute value: pintype=abc ERROR: Duplicate pin attribute on one pin: pintype ERROR: Duplicate pin attribute on one pin: pintype ERROR: Duplicate pin attribute on one pin: pintype ERROR: Duplicate pin attribute on one pin: pintype 7 ERRORS found lepton-eda-1.9.16/utils/symcheck/tests/multiple_pinlabel.sym0000644000175000017500000000203414101257250021120 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 slotdef=2:4,5,6 T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out T 1085 350 5 8 0 0 0 0 pinlabel=extra } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=1 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? lepton-eda-1.9.16/utils/symcheck/tests/old_symbol.sym0000644000175000017500000000155614101257250017572 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slot1=1,2,3 T 500 1700 5 10 0 0 0 0 slot2=4,5,6 T 500 1900 5 10 0 0 0 0 slot3=9,10,8 T 500 2100 5 10 0 0 0 0 slot4=12,13,11 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 550 5 8 1 1 0 0 pin3=3 T 1085 550 5 8 0 1 0 0 pinlabel=just a label } P 300 300 0 300 1 { T 100 350 5 8 1 1 0 0 pin2=2 T 100 350 5 8 0 1 0 0 pinlabel=123just a label } P 300 700 0 700 1 { T 100 750 5 8 1 1 0 0 pin1=1 T 100 750 5 8 0 1 0 0 pintype=123just a type } T 300 900 8 10 1 1 0 0 uref=U? lepton-eda-1.9.16/utils/symcheck/tests/oldslot.sym0000644000175000017500000000174614101257250017110 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slot1=1,2,3 T 500 1700 5 10 0 0 0 0 slot2=4,5,6 T 500 1900 5 10 0 0 0 0 slot3=9,10,8 T 500 2100 5 10 0 0 0 0 slot4=12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=1 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? lepton-eda-1.9.16/utils/symcheck/tests/multiple_pintype.sym0000644000175000017500000000203114101257250021017 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 slotdef=2:4,5,6 T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=1 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? lepton-eda-1.9.16/utils/symcheck/tests/zero_picture.output0000644000175000017500000000072514101257250020666 00000000000000Warning: Missing required attribute: device Warning: Missing required attribute: footprint Warning: Missing required attribute: refdes ERROR: Zero sized picture at (0 . 0) ERROR: Picture file "x.png" does not exist or is not readable. ERROR: Zero sized picture at (0 . 100) ERROR: Picture file "y.png" does not exist or is not readable. ERROR: Zero sized picture at (0 . 0) ERROR: Picture file "z.png" does not exist or is not readable. 3 warnings found 6 ERRORS found lepton-eda-1.9.16/utils/symcheck/tests/zero_arc.output0000644000175000017500000000042014101257250017750 00000000000000Warning: Missing required attribute: device Warning: Missing required attribute: footprint Warning: Missing required attribute: refdes ERROR: Zero radius arc at (0 . 0) ERROR: Zero angle arc at (500 . 0) ERROR: Zero angle arc at (1000 . 0) 3 warnings found 3 ERRORS found lepton-eda-1.9.16/utils/symcheck/tests/zero_path.output0000644000175000017500000000064114101257250020144 00000000000000Warning: Missing required attribute: device Warning: Missing required attribute: footprint Warning: Missing required attribute: refdes ERROR: Zero length path element: (curveto (0 . 200) (0 . 200) (0 . 200)) ERROR: Zero length path element: (lineto (0 . 200)) ERROR: Zero length path element: (curveto (0 . 200) (0 . 200) (0 . 200)) ERROR: Zero length path element: (lineto (0 . 100)) 3 warnings found 4 ERRORS found lepton-eda-1.9.16/utils/symcheck/tests/duplicate_pinnumber_no_slots.sym0000644000175000017500000000147714101257250023402 00000000000000v 20170226 2 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 1 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 1200 900 5 10 0 0 0 0 1 device=7400 T 1200 1100 5 10 0 0 0 0 1 footprint=unspecified L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 0 1 { T 1085 350 5 8 0 0 0 0 1 pinseq=3 T 1085 550 5 8 1 1 0 0 1 pinnumber=3 T 1085 350 5 8 0 0 0 0 1 pinlabel=C T 1085 350 5 8 0 0 0 0 1 pintype=out } P 300 300 0 300 1 0 1 { T 0 150 5 8 0 0 0 0 1 pinseq=2 T 100 350 5 8 1 1 0 0 1 pinnumber=2 T 0 150 5 8 0 0 0 0 1 pinlabel=B T 0 150 5 8 0 0 0 0 1 pintype=in } P 300 700 0 700 1 0 1 { T 0 550 5 8 0 0 0 0 1 pinseq=1 T 100 750 5 8 1 1 0 0 1 pinnumber=2 T 0 550 5 8 0 0 0 0 1 pinlabel=A T 0 550 5 8 0 0 0 0 1 pintype=in } T 300 900 8 10 1 1 0 0 1 refdes=U? lepton-eda-1.9.16/utils/symcheck/tests/runtest.sh0000755000175000017500000000201514101257250016727 00000000000000#!/bin/sh export LANG=C INPUT=$1 rundir=${abs_builddir}/run SYMCHECK=${abs_top_builddir}/utils/symcheck/lepton-symcheck # Hack to enable `make distcheck' # create temporary run directory and required subdirs mkdir -m 0700 -p ${rundir} rc=$? if test $rc -ne 0 ; then echo "Failed to create directory ${rundir} with appropriate permissions" echo "mkdir returned $rc" exit 1 fi symbasename=`basename $INPUT .sym` in="${INPUT}" ref="${abs_srcdir}/${symbasename}.output" new="${rundir}/new_${symbasename}.output" tmpfile=${rundir}/tmp$$ # ERRORLOG is a variable exported in Makefile cd ${rundir} && GUILE_LOAD_PATH="${abs_top_srcdir}/liblepton/scheme:${abs_top_builddir}/liblepton/scheme" \ ${SYMCHECK} -vv ${in} 1> ${tmpfile} 2>> ${ERRORLOG} cat ${tmpfile} | \ grep -v "Checking: " | \ grep -v '^$' > ${new} diff "${ref}" "${new}" status=$? # Don't remove temporaries if something went wrong. # Just exit with non-zero code. if test $status -ne 0; then exit 2 fi rm -f ${tmpfile} rm -rf $rundir exit 0 lepton-eda-1.9.16/utils/symcheck/tests/invalid_slotdef4.sym0000644000175000017500000000177114101257250020660 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 slotdef=2:3,4,5 T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,14,15 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=1 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? lepton-eda-1.9.16/utils/symcheck/tests/multiple_refdes.sym0000644000175000017500000000203414101257250020602 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 slotdef=2:4,5,6 T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=1 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? T 300 1000 8 10 0 0 0 0 refdes=second lepton-eda-1.9.16/utils/symcheck/tests/zero_arc.sym0000644000175000017500000000014714101257250017226 00000000000000v 20150930 2 A 0 0 0 0 90 3 0 1 0 -1 -1 A 500 0 500 0 0 3 0 1 0 -1 -1 A 1000 0 500 360 0 3 0 1 0 -1 -1 lepton-eda-1.9.16/utils/symcheck/tests/invalid_slotdef1.output0000644000175000017500000000022314101257250021374 00000000000000ERROR: Missing slotdef=2:... (there should be 4 slotdef= attributes) ERROR: Invalid slotdef=a attribute (the format is #:#,#,#,...) 2 ERRORS found lepton-eda-1.9.16/utils/symcheck/tests/multiple_footprint.sym0000644000175000017500000000210714101257250021357 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 slotdef=2:4,5,6 T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=1 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? T 300 1000 8 10 0 0 0 0 footprint=first T 300 1000 8 10 0 0 0 0 footprint=second lepton-eda-1.9.16/utils/symcheck/tests/connections1.sym0000644000175000017500000000201514101257250020021 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 slotdef=2:4,5,6 T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=1 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? N 1300 500 1300 1000 4 lepton-eda-1.9.16/utils/symcheck/tests/zero_boxes.output0000644000175000017500000000041414101257250020326 00000000000000Warning: Missing required attribute: device Warning: Missing required attribute: footprint Warning: Missing required attribute: refdes ERROR: Zero sized box at (0 . 0) ERROR: Zero sized box at (0 . 0) ERROR: Zero sized box at (0 . 100) 3 warnings found 3 ERRORS found lepton-eda-1.9.16/utils/symcheck/tests/zero_pinseq.sym0000644000175000017500000000176614101257250017770 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 slotdef=2:4,5,6 T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=0 T 100 750 5 8 1 1 0 0 pinnumber=1 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? lepton-eda-1.9.16/utils/symcheck/tests/missing_slotdef.output0000644000175000017500000000012314101257250021335 00000000000000ERROR: Missing slotdef=2:... (there should be 4 slotdef= attributes) 1 ERROR found lepton-eda-1.9.16/utils/symcheck/tests/multiple_pinlabel.output0000644000175000017500000000016714101257250021655 00000000000000ERROR: Duplicate pin attribute on one pin: pinlabel ERROR: Duplicate pin attribute on one pin: pinlabel 2 ERRORS found lepton-eda-1.9.16/utils/symcheck/tests/missing_footprint.output0000644000175000017500000000011714101257250021724 00000000000000Warning: Missing required attribute: footprint 1 warning found No errors found lepton-eda-1.9.16/utils/symcheck/tests/multiple_pintype.output0000644000175000017500000000016514101257250021555 00000000000000ERROR: Duplicate pin attribute on one pin: pintype ERROR: Duplicate pin attribute on one pin: pintype 2 ERRORS found lepton-eda-1.9.16/utils/symcheck/tests/misplaced_attributes.sym0000644000175000017500000000251014101257250021625 00000000000000v 20080110 1 P 1100 5100 1400 5100 1 0 0 { T 1300 5150 5 8 1 1 0 6 1 pinnumber=1 T 1300 5050 5 8 0 1 0 8 1 pinseq=1 T 1450 5100 9 8 1 1 0 0 1 pinlabel=pin_ok T 1450 5100 5 8 0 1 0 2 1 pintype=in } P 1100 4300 1400 4300 1 0 0 { T 1300 4350 5 8 1 0 0 6 1 footprint=2 T 1300 4250 5 8 0 0 0 8 1 label=2 T 1450 4300 9 8 1 0 0 0 1 type=out T 1450 4300 5 8 0 0 0 2 1 xxxxx=out T 1500 3600 5 10 1 0 0 0 1 pintype=io T 1500 3400 5 10 1 0 0 0 1 pinseq=2 T 1500 4000 5 10 1 0 0 0 1 pinlabel=xxxx T 1500 3800 5 10 1 0 0 0 1 pinnumber=2 } B 1400 2500 2400 2900 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 { T 2300 2600 5 10 1 0 0 0 1 pintype=io T 2300 2300 5 10 1 0 0 0 1 pinlabel=attached to box } T 3800 5600 8 10 1 1 0 6 1 refdes=U? T 1400 5600 9 10 1 0 0 0 1 symbol structure test T 1400 5800 5 10 0 0 0 0 1 device=symbol_structure_test T 1400 6200 5 10 0 0 0 0 1 documentation=none T 1400 6400 5 10 0 0 0 0 1 description=many attributes are attached the wrong way T 1400 6000 5 10 0 0 0 0 1 numslots=0 V 5103 3599 600 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 { T 5100 3600 5 10 1 1 0 0 1 comment=attached to circle } T 4600 5500 8 10 1 0 0 0 1 pinlabel=not attached T 4600 5200 8 10 1 0 0 0 1 pinseq=3 T 4600 4900 8 10 1 0 0 0 1 pinnumber=3 T 4600 4600 8 10 1 0 0 0 1 pintype=io B 4500 4500 2200 1200 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 T 4500 5800 9 10 1 0 0 0 1 not attached pin labels lepton-eda-1.9.16/utils/symcheck/tests/missing_pinseq.sym0000644000175000017500000000172614101257250020456 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 slotdef=2:4,5,6 T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=1 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? lepton-eda-1.9.16/utils/symcheck/tests/zero_pinnumber.output0000644000175000017500000000010614101257250021203 00000000000000ERROR: Prohibited zero value pin attribute: pinnumber=0 1 ERROR found lepton-eda-1.9.16/utils/symcheck/tests/old_symbol.output0000644000175000017500000000244514101257250020320 00000000000000ERROR: Missing slotdef=3:... (there should be 4 slotdef= attributes) ERROR: Missing slotdef=2:... (there should be 4 slotdef= attributes) ERROR: Missing slotdef=1:... (there should be 4 slotdef= attributes) Warning: Missing required attribute: refdes ERROR: Obsolete slot#=# attribute: slot1=1,2,3 Warning: Unknown attribute: slot1=1,2,3 ERROR: Obsolete slot#=# attribute: slot2=4,5,6 Warning: Unknown attribute: slot2=4,5,6 ERROR: Obsolete slot#=# attribute: slot3=9,10,8 Warning: Unknown attribute: slot3=9,10,8 ERROR: Obsolete slot#=# attribute: slot4=12,13,11 Warning: Unknown attribute: slot4=12,13,11 ERROR: Missing pin attribute: pinnumber Warning: Missing pin attribute: pintype ERROR: Missing pin attribute: pinseq Warning: Unknown attribute: pin3=3 ERROR: Obsolete pin#=# attribute: pin3=3 ERROR: Missing pin attribute: pinnumber Warning: Missing pin attribute: pintype ERROR: Missing pin attribute: pinseq Warning: Unknown attribute: pin2=2 ERROR: Obsolete pin#=# attribute: pin2=2 Warning: Missing pin attribute: pinlabel ERROR: Missing pin attribute: pinnumber ERROR: Missing pin attribute: pinseq Warning: Unknown attribute: pin1=1 ERROR: Obsolete pin#=# attribute: pin1=1 ERROR: Invalid pin attribute value: pintype=123just a type Warning: Obsolete attribute: uref=U? 12 warnings found 17 ERRORS found lepton-eda-1.9.16/utils/symcheck/tests/nets.output0000644000175000017500000000007214101257250017120 00000000000000ERROR: Object forbidden inside symbols: net 1 ERROR found lepton-eda-1.9.16/utils/symcheck/tests/missing_pinlabel.sym0000644000175000017500000000201714101257250020737 00000000000000v 20070708 1 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 1 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 1 device=7400 T 1200 1100 5 10 0 0 0 0 1 footprint=unspecified T 500 1100 5 10 0 0 0 0 1 slot=1 T 500 1300 5 10 0 0 0 0 1 numslots=4 T 500 1500 5 10 0 0 0 0 1 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 1 slotdef=2:4,5,6 T 500 1900 5 10 0 0 0 0 1 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 1 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 0 1 { T 1085 350 5 8 0 0 0 0 1 pinseq=3 T 1085 550 5 8 1 1 0 0 1 pinnumber=3 T 1085 350 5 8 0 0 0 0 1 pinlabel=C T 1085 350 5 8 0 0 0 0 1 pintype=out } P 300 300 0 300 1 0 1 { T 0 150 5 8 0 0 0 0 1 pinseq=2 T 100 350 5 8 1 1 0 0 1 pinnumber=2 T 0 150 5 8 0 0 0 0 1 pinlabel=B T 0 150 5 8 0 0 0 0 1 pintype=in } P 300 700 0 700 1 0 1 { T 0 550 5 8 0 0 0 0 1 pinseq=1 T 100 750 5 8 1 1 0 0 1 pinnumber=1 T 0 550 5 8 0 0 0 0 1 pintype=in } T 300 900 8 10 1 1 0 0 1 refdes=U? lepton-eda-1.9.16/utils/symcheck/tests/zero_pinnumber.sym0000644000175000017500000000176614101257250020470 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 slotdef=2:4,5,6 T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=0 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? lepton-eda-1.9.16/utils/symcheck/tests/connections3.output0000644000175000017500000000007214101257250020554 00000000000000ERROR: Object forbidden inside symbols: bus 1 ERROR found lepton-eda-1.9.16/utils/symcheck/tests/noslots.output0000644000175000017500000000002014101257250017641 00000000000000No errors found lepton-eda-1.9.16/utils/symcheck/tests/many_slotdefs.sym0000644000175000017500000000211414101257250020265 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 slotdef=2:4,5,6 T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,11 T 500 2300 5 10 0 0 0 0 slotdef=5:12,13,11 T 500 2500 5 10 0 0 0 0 slotdef=6:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=1 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? lepton-eda-1.9.16/utils/symcheck/tests/connections2.sym0000644000175000017500000000211214101257250020020 00000000000000v 20070708 1 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 1 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 1 device=7400 T 1200 1100 5 10 0 0 0 0 1 footprint=unspecified T 500 1100 5 10 0 0 0 0 1 slot=1 T 500 1300 5 10 0 0 0 0 1 numslots=4 T 500 1500 5 10 0 0 0 0 1 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 1 slotdef=2:4,5,6 T 500 1900 5 10 0 0 0 0 1 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 1 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 0 1 { T 1085 350 5 8 0 0 0 0 1 pinseq=3 T 1085 550 5 8 1 1 0 0 1 pinnumber=3 T 1085 350 5 8 0 0 0 0 1 pinlabel=C T 1085 350 5 8 0 0 0 0 1 pintype=out } P 300 300 0 300 1 0 1 { T 0 150 5 8 0 0 0 0 1 pinseq=2 T 100 350 5 8 1 1 0 0 1 pinnumber=2 T 0 150 5 8 0 0 0 0 1 pinlabel=B T 0 150 5 8 0 0 0 0 1 pintype=in } P 300 700 0 700 1 0 1 { T 0 550 5 8 0 0 0 0 1 pinseq=1 T 100 750 5 8 1 1 0 0 1 pinnumber=1 T 0 550 5 8 0 0 0 0 1 pinlabel=A T 0 550 5 8 0 0 0 0 1 pintype=in } T 300 900 8 10 1 1 0 0 1 refdes=U? P 1300 800 1300 500 1 0 1 lepton-eda-1.9.16/utils/symcheck/tests/zero_boxes.sym0000644000175000017500000000021614101257250017576 00000000000000v 20170226 2 B 0 0 0 0 3 10 1 0 -1 -1 0 -1 -1 -1 -1 -1 B 0 0 100 0 3 10 1 0 -1 -1 0 -1 -1 -1 -1 -1 B 0 0 0 100 3 10 1 0 -1 -1 0 -1 -1 -1 -1 -1lepton-eda-1.9.16/utils/symcheck/tests/component.sym0000644000175000017500000000005414101257250017421 00000000000000v 20150930 2 C 0 0 1 0 0 some-component.sym lepton-eda-1.9.16/utils/symcheck/tests/urefinside.output0000644000175000017500000000016214101257250020304 00000000000000Warning: Missing required attribute: refdes Warning: Obsolete attribute: uref=U? 2 warnings found No errors found lepton-eda-1.9.16/utils/symcheck/tests/zero_slots.sym0000644000175000017500000000176514101257250017634 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slotdef=1:1,0,3 T 500 1700 5 10 0 0 0 0 slotdef=2:4,5,6 T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,0 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=1 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? lepton-eda-1.9.16/utils/symcheck/tests/oldpins.output0000644000175000017500000000075314101257250017625 00000000000000ERROR: Missing pin attribute: pinnumber ERROR: Missing pin attribute: pinseq Warning: Unknown attribute: pin3=3 ERROR: Obsolete pin#=# attribute: pin3=3 ERROR: Missing pin attribute: pinnumber ERROR: Missing pin attribute: pinseq Warning: Unknown attribute: pin2=2 ERROR: Obsolete pin#=# attribute: pin2=2 ERROR: Missing pin attribute: pinnumber ERROR: Missing pin attribute: pinseq Warning: Unknown attribute: pin1=1 ERROR: Obsolete pin#=# attribute: pin1=1 3 warnings found 9 ERRORS found lepton-eda-1.9.16/utils/symcheck/tests/buses.sym0000644000175000017500000000203214101257250016536 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 slotdef=2:4,5,6 T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 1085 350 5 8 0 0 0 0 pinlabel=B T 1085 350 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=1 T 1085 350 5 8 0 0 0 0 pinlabel=A T 1085 350 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? U 900 1000 1200 1000 10 lepton-eda-1.9.16/utils/symcheck/tests/zero_line.sym0000644000175000017500000000013514101257250017405 00000000000000v 20150930 2 L 0 0 0 0 3 0 1 0 -1 -1 L 0 0 0 100 3 0 1 0 -1 -1 L 0 100 100 100 3 0 1 0 -1 -1 lepton-eda-1.9.16/utils/symcheck/tests/duplicate_pinnumber.sym0000644000175000017500000000176614101257250021463 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 slotdef=2:4,5,6 T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=2 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? lepton-eda-1.9.16/utils/symcheck/tests/nameinside.sym0000644000175000017500000000205514101257250017536 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 slotdef=2:4,5,6 T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 name=this a forbidden attribute T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=1 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? lepton-eda-1.9.16/utils/symcheck/tests/zero_circle.sym0000644000175000017500000000007014101257250017715 00000000000000v 20150930 2 V 300 300 0 3 0 1 0 -1 -1 0 -1 -1 -1 -1 -1 lepton-eda-1.9.16/utils/symcheck/tests/graphical_incorrect1.output0000644000175000017500000000026014101257250022231 00000000000000Warning: Graphical symbols should have device=none ERROR: Duplicate floating attribute: graphical ERROR: Duplicate floating attribute: graphical 1 warning found 2 ERRORS found lepton-eda-1.9.16/utils/symcheck/tests/missing_device.sym0000644000175000017500000000172314101257250020413 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 slotdef=2:4,5,6 T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=1 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? lepton-eda-1.9.16/utils/symcheck/tests/Makefile.in0000644000175000017500000004762314101262632016747 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = utils/symcheck/tests ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/guile.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lepton-assert.m4 \ $(top_srcdir)/m4/lepton-attrib.m4 \ $(top_srcdir)/m4/lepton-awk.m4 \ $(top_srcdir)/m4/lepton-cairo.m4 \ $(top_srcdir)/m4/lepton-contrib.m4 \ $(top_srcdir)/m4/lepton-data-dirs.m4 \ $(top_srcdir)/m4/lepton-desktop-i18n.m4 \ $(top_srcdir)/m4/lepton-desktop.m4 \ $(top_srcdir)/m4/lepton-doxygen.m4 \ $(top_srcdir)/m4/lepton-gcc-flags.m4 \ $(top_srcdir)/m4/lepton-git-version.m4 \ $(top_srcdir)/m4/lepton-git.m4 \ $(top_srcdir)/m4/lepton-groff.m4 \ $(top_srcdir)/m4/lepton-guile.m4 \ $(top_srcdir)/m4/lepton-host.m4 \ $(top_srcdir)/m4/lepton-stroke.m4 \ $(top_srcdir)/m4/lepton-uri-viewer.m4 \ $(top_srcdir)/m4/lepton-windows.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/liblepton.m4 \ $(top_srcdir)/m4/libleptonattrib.m4 \ $(top_srcdir)/m4/libleptongui.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pcb-data-dirs.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITMAP_DIRECTORY = @BITMAP_DIRECTORY@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@ CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@ CAIRO_PNG_CFLAGS = @CAIRO_PNG_CFLAGS@ CAIRO_PNG_LIBS = @CAIRO_PNG_LIBS@ CAIRO_PS_CFLAGS = @CAIRO_PS_CFLAGS@ CAIRO_PS_LIBS = @CAIRO_PS_LIBS@ CAIRO_SVG_CFLAGS = @CAIRO_SVG_CFLAGS@ CAIRO_SVG_LIBS = @CAIRO_SVG_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE_VERSION = @DATE_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DESKTOP_I18N = @DESKTOP_I18N@ DESKTOP_I18N_CREATE = @DESKTOP_I18N_CREATE@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@ DESKTOP_I18N_SCRIPT = @DESKTOP_I18N_SCRIPT@ DLLTOOL = @DLLTOOL@ DOT = @DOT@ DOTTED_VERSION = @DOTTED_VERSION@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GDK_CFLAGS = @GDK_CFLAGS@ GDK_LIBS = @GDK_LIBS@ GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@ GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@ GETTEXT = @GETTEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GIT = @GIT@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GROFF = @GROFF@ GTKEXTRA_CFLAGS = @GTKEXTRA_CFLAGS@ GTKEXTRA_LIBS = @GTKEXTRA_LIBS@ GTKSHEET_CFLAGS = @GTKSHEET_CFLAGS@ GTKSHEET_LIBS = @GTKSHEET_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GUILD = @GUILD@ GUILE = @GUILE@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@ GUILE_LDFLAGS = @GUILE_LDFLAGS@ GUILE_LIBS = @GUILE_LIBS@ GUILE_LTLIBS = @GUILE_LTLIBS@ GUILE_PKG_NAME = @GUILE_PKG_NAME@ GUILE_SNARF = @GUILE_SNARF@ GUILE_TOOLS = @GUILE_TOOLS@ HAVE_GIT_REPO = @HAVE_GIT_REPO@ ICON_THEME_INSTALLER = @ICON_THEME_INSTALLER@ INKSCAPE = @INKSCAPE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEPTONDATADIR = @LEPTONDATADIR@ LEPTON_SCHEME_MODULE_DIRECTORY = @LEPTON_SCHEME_MODULE_DIRECTORY@ LEPTON_SCM_PRECOMPILE_DIR = @LEPTON_SCM_PRECOMPILE_DIR@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBLEPTONATTRIB_MAJOR = @LIBLEPTONATTRIB_MAJOR@ LIBLEPTONATTRIB_SHLIB_VERSION = @LIBLEPTONATTRIB_SHLIB_VERSION@ LIBLEPTONGUI_MAJOR = @LIBLEPTONGUI_MAJOR@ LIBLEPTONGUI_SHLIB_VERSION = @LIBLEPTONGUI_SHLIB_VERSION@ LIBLEPTON_GETTEXT_DOMAIN = @LIBLEPTON_GETTEXT_DOMAIN@ LIBLEPTON_MAJOR = @LIBLEPTON_MAJOR@ LIBLEPTON_SHLIB_VERSION = @LIBLEPTON_SHLIB_VERSION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSTROKE_CPPFLAGS = @LIBSTROKE_CPPFLAGS@ LIBSTROKE_LDFLAGS = @LIBSTROKE_LDFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ M4 = @M4@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MINGW_CFLAGS = @MINGW_CFLAGS@ MINGW_GUI_LDFLAGS = @MINGW_GUI_LDFLAGS@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCBDATADIR = @PCBDATADIR@ PCBLIBPATH = @PCBLIBPATH@ PCBM4DIR = @PCBM4DIR@ PDFLATEX = @PDFLATEX@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ URI_VIEWER = @URI_VIEWER@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDOWS_LIBTOOL_FLAGS = @WINDOWS_LIBTOOL_FLAGS@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = buses.sym \ component.sym \ connections1.sym connections2.sym connections3.sym \ correct.sym \ duplicate_pinnumber.sym \ duplicate_pinnumber_no_slots.sym \ duplicate_pinseq.sym \ graphical_correct.sym \ graphical_incorrect.sym \ graphical_incorrect1.sym \ graphical_incorrect2.sym \ invalid_slotdef1.sym invalid_slotdef2.sym invalid_slotdef3.sym \ invalid_slotdef4.sym \ invalid_slotdef5.sym \ labelinside.sym lots_of_errors.sym \ many_slotdefs.sym missing_device.sym missing_footprint.sym \ missing_numslots.sym missing_pinlabel.sym missing_pinnumber.sym \ missing_pinseq.sym missing_slotdef.sym multiple_footprint.sym \ multiple_pinlabel.sym multiple_pinnumber.sym \ multiple_pinseq.sym multiple_pintype.sym multiple_refdes.sym \ nameinside.sym nets.sym noslots.sym old_symbol.sym oldpins.sym \ oldslot.sym typeinside.sym urefinside.sym zero_pinnumber.sym \ zero_pinseq.sym zero_slotnum.sym zero_slots.sym \ duplicate_net.sym pin_offgrid.sym pintypes.sym \ misplaced_attributes.sym text_errors.sym \ zero_arc.sym \ zero_boxes.sym \ zero_circle.sym \ zero_line.sym \ zero_path.sym \ zero_picture.sym \ runtest.sh \ buses.output \ component.output \ connections1.output connections2.output \ connections3.output correct.output duplicate_net.output \ duplicate_pinnumber.output \ duplicate_pinnumber_no_slots.output \ duplicate_pinseq.output \ graphical_correct.output \ graphical_incorrect.output \ graphical_incorrect1.output \ graphical_incorrect2.output \ invalid_slotdef1.output \ invalid_slotdef2.output invalid_slotdef3.output \ invalid_slotdef4.output \ invalid_slotdef5.output \ labelinside.output lots_of_errors.output \ many_slotdefs.output missing_device.output \ missing_footprint.output missing_numslots.output \ missing_pinlabel.output missing_pinnumber.output \ missing_pinseq.output missing_slotdef.output \ multiple_footprint.output multiple_pinlabel.output \ multiple_pinnumber.output multiple_pinseq.output \ multiple_pintype.output multiple_refdes.output \ nameinside.output nets.output noslots.output oldpins.output \ oldslot.output old_symbol.output typeinside.output \ urefinside.output zero_pinnumber.output zero_pinseq.output \ zero_slotnum.output zero_slots.output pin_offgrid.output \ zero_arc.output \ zero_boxes.output \ zero_circle.output \ zero_line.output \ zero_path.output \ zero_picture.output \ pintypes.output misplaced_attributes.output text_errors.output check_SCRIPTS = tests CLEANFILES = *.log all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/symcheck/tests/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign utils/symcheck/tests/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am $(MAKE) $(AM_MAKEFLAGS) $(check_SCRIPTS) check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: check-am install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags-am uninstall uninstall-am .PRECIOUS: Makefile tests: # Cleanup rm -f $(builddir)/new_* abs_builddir='$(abs_builddir)'; export abs_builddir; \ abs_top_builddir='$(abs_top_builddir)'; export abs_top_builddir; \ LIBLEPTON='$(abs_top_builddir)/liblepton/src/liblepton'; export LIBLEPTON; \ export LEPTON_INHIBIT_RC_FILES="inhibit"; \ abs_srcdir='$(abs_srcdir)'; export abs_srcdir; \ abs_top_srcdir='$(abs_top_srcdir)'; export abs_top_srcdir; \ fail=0 ; \ pass=0 ; \ ERRORLOG=${abs_builddir}/error.log; export ERRORLOG; \ [ -e $$ERRORLOG ] && rm $$ERRORLOG; \ for file in $(abs_srcdir)/*.sym; do \ base=`basename $$file`; \ $(SHELL) $(srcdir)/runtest.sh $$file; \ if [ $$? -ne 0 ]; then \ echo "FAIL: $$base"; \ fail=`expr $$fail + 1`; \ else \ echo "PASS: $$base"; \ pass=`expr $$pass + 1`; \ fi; \ done ; \ echo "passed: $$pass" ; \ echo "failed: $$fail" ; \ exit $$fail # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/symcheck/tests/missing_slotdef.sym0000644000175000017500000000171614101257250020616 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3 T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,14 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=1 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? lepton-eda-1.9.16/utils/symcheck/tests/urefinside.sym0000644000175000017500000000176414101257250017565 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 slotdef=2:4,5,6 T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=1 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 uref=U? lepton-eda-1.9.16/utils/symcheck/tests/missing_pinlabel.output0000644000175000017500000000011114101257250021460 00000000000000Warning: Missing pin attribute: pinlabel 1 warning found No errors found lepton-eda-1.9.16/utils/symcheck/tests/labelinside.sym0000644000175000017500000000204114101257250017670 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 slotdef=2:4,5,6 T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 label=this obsolete T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=1 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? lepton-eda-1.9.16/utils/symcheck/tests/component.output0000644000175000017500000000032614101257250020153 00000000000000Warning: Missing required attribute: device Warning: Missing required attribute: footprint Warning: Missing required attribute: refdes ERROR: Object forbidden inside symbols: complex 3 warnings found 1 ERROR found lepton-eda-1.9.16/utils/symcheck/tests/zero_slotnum.sym0000644000175000017500000000176614101257250020172 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 slotdef=0:4,5,6 T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=1 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? lepton-eda-1.9.16/utils/symcheck/tests/connections3.sym0000644000175000017500000000201614101257250020024 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 slotdef=2:4,5,6 T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=1 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? U 1300 500 1300 1000 10 lepton-eda-1.9.16/utils/symcheck/tests/missing_numslots.sym0000644000175000017500000000172314101257250021040 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1100 5 10 0 0 0 0 slot=1 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 slotdef=2:4,5,6 T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=1 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? lepton-eda-1.9.16/utils/symcheck/tests/missing_pinnumber.output0000644000175000017500000000006614101257250021702 00000000000000ERROR: Missing pin attribute: pinnumber 1 ERROR found lepton-eda-1.9.16/utils/symcheck/tests/invalid_slotdef4.output0000644000175000017500000000024714101257250021405 00000000000000ERROR: Duplicate pin number 3: slotdef=1:1,2,3 ERROR: Duplicate pin number 3: slotdef=2:3,4,5 ERROR: Too many pins in slotdef=4:12,13,14,15 (must be 3) 3 ERRORS found lepton-eda-1.9.16/utils/symcheck/tests/multiple_pinseq.output0000644000175000017500000000016314101257250021362 00000000000000ERROR: Duplicate pin attribute on one pin: pinseq ERROR: Duplicate pin attribute on one pin: pinseq 2 ERRORS found lepton-eda-1.9.16/utils/symcheck/tests/graphical_incorrect2.output0000644000175000017500000000016414101257250022235 00000000000000Warning: Set 'graphical=1' if you want the symbol to be graphical, current value: 2 1 warning found No errors found lepton-eda-1.9.16/utils/symcheck/tests/multiple_footprint.output0000644000175000017500000000023414101257250022106 00000000000000ERROR: Duplicate floating attribute: footprint ERROR: Duplicate floating attribute: footprint ERROR: Duplicate floating attribute: footprint 3 ERRORS found lepton-eda-1.9.16/utils/symcheck/tests/duplicate_pinnumber.output0000644000175000017500000000020314101257250022174 00000000000000ERROR: Duplicate pin attribute in the symbol: pinnumber=2 ERROR: Duplicate pin attribute in the symbol: pinnumber=2 2 ERRORS found lepton-eda-1.9.16/utils/symcheck/tests/invalid_slotdef3.output0000644000175000017500000000024314101257250021400 00000000000000ERROR: Duplicate pin number 3: slotdef=1:1,2,3 ERROR: Duplicate pin number 3: slotdef=2:3,4,5 ERROR: Not enough pins in slotdef=4:12,13 (must be 3) 3 ERRORS found lepton-eda-1.9.16/utils/symcheck/tests/invalid_slotdef1.sym0000644000175000017500000000176014101257250020653 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 slotdef=a T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=1 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? lepton-eda-1.9.16/utils/symcheck/tests/duplicate_pinnumber_no_slots.output0000644000175000017500000000033114101257250024116 00000000000000ERROR: Duplicate pin attribute in the symbol: pinnumber=2 ERROR: Duplicate pin number 2: pinnumber=2 ERROR: Duplicate pin attribute in the symbol: pinnumber=2 ERROR: Duplicate pin number 2: pinnumber=2 4 ERRORS found lepton-eda-1.9.16/utils/symcheck/tests/graphical_correct.sym0000644000175000017500000000203214101257250021070 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=none T 500 1200 5 10 0 0 0 0 graphical=1 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 slotdef=2:4,5,6 T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=1 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? lepton-eda-1.9.16/utils/symcheck/tests/graphical_incorrect1.sym0000644000175000017500000000217514101257250021510 00000000000000v 20150930 2 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 1 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 1 device=7400 T 1200 1100 5 10 0 0 0 0 1 footprint=unspecified T 500 1200 5 10 0 0 0 0 1 graphical=2 T 500 1100 5 10 0 0 0 0 1 slot=1 T 500 1300 5 10 0 0 0 0 1 numslots=4 T 500 1500 5 10 0 0 0 0 1 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 1 slotdef=2:4,5,6 T 500 1900 5 10 0 0 0 0 1 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 1 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 0 1 { T 1085 350 5 8 0 0 0 0 1 pinseq=3 T 1085 550 5 8 1 1 0 0 1 pinnumber=3 T 1085 350 5 8 0 0 0 0 1 pinlabel=C T 1085 350 5 8 0 0 0 0 1 pintype=out } P 300 300 0 300 1 0 1 { T 0 150 5 8 0 0 0 0 1 pinseq=2 T 100 350 5 8 1 1 0 0 1 pinnumber=2 T 0 150 5 8 0 0 0 0 1 pinlabel=B T 0 150 5 8 0 0 0 0 1 pintype=in } P 300 700 0 700 1 0 1 { T 0 550 5 8 0 0 0 0 1 pinseq=1 T 100 750 5 8 1 1 0 0 1 pinnumber=1 T 0 550 5 8 0 0 0 0 1 pinlabel=A T 0 550 5 8 0 0 0 0 1 pintype=in } T 300 900 8 10 1 1 0 0 1 refdes=U? T 1500 1200 5 10 0 0 0 0 1 graphical=1 lepton-eda-1.9.16/utils/symcheck/tests/oldpins.sym0000644000175000017500000000161114101257250017067 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 slotdef=2:4,5,6 T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pin3=3 T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pin2=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pin1=1 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? lepton-eda-1.9.16/utils/symcheck/tests/multiple_pinnumber.output0000644000175000017500000000017114101257250022061 00000000000000ERROR: Duplicate pin attribute on one pin: pinnumber ERROR: Duplicate pin attribute on one pin: pinnumber 2 ERRORS found lepton-eda-1.9.16/utils/symcheck/tests/pin_offgrid.sym0000644000175000017500000000374314101257250017715 00000000000000v 20071229 1 P 701 3600 401 3600 1 0 1 { T 400 3600 5 10 0 0 0 0 1 pintype=in T 755 3595 5 10 1 1 0 0 1 pinlabel=Test: pin x1, x2 offgrid, whichend 1 T 605 3645 5 10 1 1 0 6 1 pinnumber=1 T 400 3600 5 10 0 0 0 0 1 pinseq=1 } P 400 4000 700 4000 1 0 0 { T 400 4000 5 10 0 0 0 0 1 pintype=in T 755 3995 5 10 1 1 0 0 1 pinlabel=Test: Pin OK T 605 4045 5 10 1 1 0 6 1 pinnumber=2 T 400 4000 5 10 0 0 0 0 1 pinseq=2 } P 410 2800 700 2800 1 0 0 { T 400 2800 5 10 0 0 0 0 1 pintype=in T 755 2795 5 10 1 1 0 0 1 pinlabel=Test: x1 offgrid T 605 2845 5 10 1 1 0 6 1 pinnumber=3 T 400 2800 5 10 0 0 0 0 1 pinseq=3 } P 400 2420 700 2400 1 0 0 { T 400 2400 5 10 0 0 0 0 1 pintype=in T 755 2395 5 10 1 1 0 0 1 pinlabel=Test: y1 offgrid T 605 2445 5 10 1 1 0 6 1 pinnumber=4 T 400 2400 5 10 0 0 0 0 1 pinseq=4 } P 400 2000 710 2000 1 0 0 { T 400 2000 5 10 0 0 0 0 1 pintype=in T 755 1995 5 10 1 1 0 0 1 pinlabel=Test: x2 offgrid T 605 2045 5 10 1 1 0 6 1 pinnumber=5 T 400 2000 5 10 0 0 0 0 1 pinseq=5 } P 400 1600 700 1620 1 0 0 { T 400 1600 5 10 0 0 0 0 1 pintype=in T 755 1595 5 10 1 1 0 0 1 pinlabel=Test: y2 offgrid T 605 1645 5 10 1 1 0 6 1 pinnumber=6 T 400 1600 5 10 0 0 0 0 1 pinseq=6 } P 404 1204 700 1200 1 0 0 { T 400 1200 5 10 0 0 0 0 1 pintype=in T 755 1195 5 10 1 1 0 0 1 pinlabel=Test: x1, y1 offgrid T 605 1245 5 10 1 1 0 6 1 pinnumber=7 T 400 1200 5 10 0 0 0 0 1 pinseq=7 } P 400 800 706 806 1 0 0 { T 400 800 5 10 0 0 0 0 1 pintype=in T 755 795 5 10 1 1 0 0 1 pinlabel=Test: x2, y2 offgrid T 605 845 5 10 1 1 0 6 1 pinnumber=8 T 400 800 5 10 0 0 0 0 1 pinseq=8 } P 400 3204 700 3204 1 0 0 { T 400 3200 5 10 0 0 0 0 1 pintype=in T 755 3195 5 10 1 1 0 0 1 pinlabel=Test: pin y1,y2 offgrid, whichend 0 T 605 3245 5 10 1 1 0 6 1 pinnumber=9 T 400 3200 5 10 0 0 0 0 1 pinseq=9 } B 700 500 3100 3900 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 T 700 4500 9 10 1 0 0 0 1 pin_ongrid test T 700 4700 9 10 1 0 0 0 1 refdes=X? T 700 4900 9 10 1 0 0 0 1 footprint=xx T 700 5100 9 10 1 0 0 0 1 device=xx T 700 5300 9 10 1 0 0 0 1 numslots=0 lepton-eda-1.9.16/utils/symcheck/tests/connections2.output0000644000175000017500000000076614101257250020565 00000000000000ERROR: Not enough pins in slotdef=1:1,2,3 (must be 4) ERROR: Not enough pins in slotdef=2:4,5,6 (must be 4) ERROR: Not enough pins in slotdef=3:9,10,8 (must be 4) ERROR: Not enough pins in slotdef=4:12,13,11 (must be 4) ERROR: Object with forbidden connections: pin Warning: Missing pin attribute: pinlabel ERROR: Missing pin attribute: pinnumber Warning: Missing pin attribute: pintype ERROR: Missing pin attribute: pinseq ERROR: Object with forbidden connections: pin 2 warnings found 8 ERRORS found lepton-eda-1.9.16/utils/symcheck/tests/text_errors.sym0000644000175000017500000000233114101257250017777 00000000000000v 20081221 2 B 300 0 900 1700 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 0 200 300 200 1 0 0 { T 0 200 5 10 0 0 0 0 1 pintype=in T 355 195 5 10 1 1 0 0 1 pinlabel=\_Reset T 205 245 5 10 1 1 0 6 1 pinnumber=1 T 0 200 5 10 0 0 0 0 1 pinseq=1 } T 1300 200 9 10 1 0 0 0 1 Single overbar "\\_" P 0 600 300 600 1 0 0 { T 0 600 5 10 0 0 0 0 1 pintype=in T 355 595 5 10 1 1 0 0 1 pinlabel=a\b T 205 645 5 10 1 1 0 6 1 pinnumber=2 T 0 600 5 10 0 0 0 0 1 pinseq=2 } T 1300 600 9 10 1 0 0 0 1 Single backslash "\\" P 0 1000 300 1000 1 0 0 { T 0 1000 5 10 0 0 0 0 1 pintype=in T 355 995 5 10 1 1 0 0 1 pinlabel=ab\c\d\ T 205 1045 5 10 1 1 0 6 1 pinnumber=3 T 0 1000 5 10 0 0 0 0 1 pinseq=3 } T 1300 1000 9 10 1 0 0 0 1 more single backslashes T 300 2900 9 10 1 0 0 0 1 name1=value1 T 300 2700 9 10 1 2 0 0 1 value_invisible=value_invisible T 300 2500 9 10 1 1 0 0 1 name_invisible=name_invisible T 300 2300 9 10 1 0 0 0 1 Regular text T 300 2100 9 10 1 2 0 0 1 text with value_invisible T 300 1900 9 10 1 1 0 0 1 text with name_invisible P 0 1400 300 1400 1 0 0 { T 0 1400 5 10 0 0 0 0 1 pintype=in T 355 1395 5 10 1 1 0 0 1 pinlabel=R/\_W\_ T 205 1445 5 10 1 1 0 6 1 pinnumber=4 T 0 1400 5 10 0 0 0 0 1 pinseq=4 } T 1300 1400 9 10 1 0 0 0 1 valid overbars "\\_" lepton-eda-1.9.16/utils/symcheck/tests/pin_offgrid.output0000644000175000017500000000121314101257250020433 00000000000000Warning: Non-connectible end of pin is off grid (x2=701,y2=3600) ERROR: Connectible end of pin is off grid (x1=401,y1=3600) ERROR: Connectible end of pin is off grid (x1=410,y1=2800) ERROR: Connectible end of pin is off grid (x1=400,y1=2420) Warning: Non-connectible end of pin is off grid (x2=710,y2=2000) Warning: Non-connectible end of pin is off grid (x2=700,y2=1620) ERROR: Connectible end of pin is off grid (x1=404,y1=1204) Warning: Non-connectible end of pin is off grid (x2=706,y2=806) Warning: Non-connectible end of pin is off grid (x2=700,y2=3204) ERROR: Connectible end of pin is off grid (x1=400,y1=3204) 5 warnings found 5 ERRORS found lepton-eda-1.9.16/utils/symcheck/tests/invalid_slotdef5.sym0000644000175000017500000000213514101257250020654 00000000000000v 20150930 2 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 1 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 1 device=7400 T 1200 1100 5 10 0 0 0 0 1 footprint=unspecified T 500 1100 5 10 0 0 0 0 1 slot=1 T 500 1300 5 10 0 0 0 0 1 numslots=4 T 500 1500 5 10 0 0 0 0 1 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 1 slotdef=2:3,4,5 T 500 1900 5 10 0 0 0 0 1 slotdef=3:9,9,8 T 500 2100 5 10 0 0 0 0 1 slotdef=4:12,13,14,15 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 0 1 { T 1085 350 5 8 0 0 0 0 1 pinseq=3 T 1085 550 5 8 1 1 0 0 1 pinnumber=3 T 1085 350 5 8 0 0 0 0 1 pinlabel=C T 1085 350 5 8 0 0 0 0 1 pintype=out } P 300 300 0 300 1 0 1 { T 0 150 5 8 0 0 0 0 1 pinseq=2 T 100 350 5 8 1 1 0 0 1 pinnumber=2 T 0 150 5 8 0 0 0 0 1 pinlabel=B T 0 150 5 8 0 0 0 0 1 pintype=in } P 300 700 0 700 1 0 1 { T 0 550 5 8 0 0 0 0 1 pinseq=1 T 100 750 5 8 1 1 0 0 1 pinnumber=1 T 0 550 5 8 0 0 0 0 1 pinlabel=A T 0 550 5 8 0 0 0 0 1 pintype=in } T 300 900 8 10 1 1 0 0 1 refdes=U? T 1800 1700 5 10 0 0 0 0 1 slotdef=2:3,4,5 lepton-eda-1.9.16/utils/symcheck/tests/labelinside.output0000644000175000017500000000012114101257250020415 00000000000000Warning: Obsolete attribute: label=this obsolete 1 warning found No errors found lepton-eda-1.9.16/utils/symcheck/tests/missing_footprint.sym0000644000175000017500000000170714101257250021202 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 slotdef=2:4,5,6 T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=1 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? lepton-eda-1.9.16/utils/symcheck/tests/zero_pinseq.output0000644000175000017500000000010314101257250020500 00000000000000ERROR: Prohibited zero value pin attribute: pinseq=0 1 ERROR found lepton-eda-1.9.16/utils/symcheck/tests/multiple_refdes.output0000644000175000017500000000014714101257250021335 00000000000000ERROR: Duplicate floating attribute: refdes ERROR: Duplicate floating attribute: refdes 2 ERRORS found lepton-eda-1.9.16/utils/symcheck/tests/noslots.sym0000644000175000017500000000142014101257250017116 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 1200 1100 5 10 0 0 0 0 footprint=unspecified L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=1 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? lepton-eda-1.9.16/utils/symcheck/tests/duplicate_pinseq.output0000644000175000017500000000017514101257250021504 00000000000000ERROR: Duplicate pin attribute in the symbol: pinseq=1 ERROR: Duplicate pin attribute in the symbol: pinseq=1 2 ERRORS found lepton-eda-1.9.16/utils/symcheck/tests/typeinside.output0000644000175000017500000000011214101257250020317 00000000000000ERROR: Forbidden attribute: type=this a forbidden attribute 1 ERROR found lepton-eda-1.9.16/utils/symcheck/tests/pintypes.sym0000644000175000017500000000636014101257250017300 00000000000000v 20080110 1 P 100 4100 400 4100 1 0 0 { T 300 4150 5 8 1 1 0 6 1 pinnumber=1 T 300 4050 5 8 0 1 0 8 1 pinseq=1 T 450 4100 9 8 1 1 0 0 1 pinlabel=in_ok T 450 4100 5 8 0 1 0 2 1 pintype=in } P 100 3700 400 3700 1 0 0 { T 300 3750 5 8 1 1 0 6 1 pinnumber=2 T 300 3650 5 8 0 1 0 8 1 pinseq=2 T 450 3700 9 8 1 1 0 0 1 pinlabel=out_ok T 450 3700 5 8 0 1 0 2 1 pintype=out } P 100 3300 400 3300 1 0 0 { T 300 3350 5 8 1 1 0 6 1 pinnumber=3 T 300 3250 5 8 0 1 0 8 1 pinseq=3 T 450 3300 9 8 1 1 0 0 1 pinlabel=io_ok T 450 3300 5 8 0 1 0 2 1 pintype=io } P 100 2900 400 2900 1 0 0 { T 300 2950 5 8 1 1 0 6 1 pinnumber=4 T 300 2850 5 8 0 1 0 8 1 pinseq=4 T 450 2900 9 8 1 1 0 0 1 pinlabel=oc_ok T 450 2900 5 8 0 1 0 2 1 pintype=oc } P 100 2500 400 2500 1 0 0 { T 300 2550 5 8 1 1 0 6 1 pinnumber=5 T 300 2450 5 8 0 1 0 8 1 pinseq=5 T 450 2500 9 8 1 1 0 0 1 pinlabel=oe_ok T 450 2500 5 8 0 1 0 2 1 pintype=oe } P 100 2100 400 2100 1 0 0 { T 300 2150 5 8 1 1 0 6 1 pinnumber=6 T 300 2050 5 8 0 1 0 8 1 pinseq=6 T 450 2100 9 8 1 1 0 0 1 pinlabel=pas_ok T 450 2100 5 8 0 1 0 2 1 pintype=pas } P 100 1700 400 1700 1 0 0 { T 300 1750 5 8 1 1 0 6 1 pinnumber=7 T 300 1650 5 8 0 1 0 8 1 pinseq=7 T 450 1700 9 8 1 1 0 0 1 pinlabel=tp_ok T 450 1700 5 8 0 1 0 2 1 pintype=tp } P 100 1300 400 1300 1 0 0 { T 300 1350 5 8 1 1 0 6 1 pinnumber=8 T 300 1250 5 8 0 1 0 8 1 pinseq=8 T 450 1300 9 8 1 1 0 0 1 pinlabel=tri_ok T 450 1300 5 8 0 1 0 2 1 pintype=tri } P 100 900 400 900 1 0 0 { T 300 950 5 8 1 1 0 6 1 pinnumber=9 T 300 850 5 8 0 1 0 8 1 pinseq=9 T 525 900 9 8 1 1 0 0 1 pinlabel=clk_ok T 525 900 5 8 0 1 0 2 1 pintype=clk } L 500 900 400 975 3 0 0 0 -1 -1 L 500 900 400 825 3 0 0 0 -1 -1 P 100 500 400 500 1 0 0 { T 300 550 5 8 1 1 0 6 1 pinnumber=10 T 300 450 5 8 0 1 0 8 1 pinseq=10 T 450 500 9 8 1 1 0 0 1 pinlabel=clk_ok T 450 500 5 8 0 1 0 2 1 pintype=pwr } P 3100 4100 2800 4100 1 0 0 { T 2900 4150 5 8 1 1 0 0 1 pinnumber=11 T 2900 4050 5 8 0 1 0 2 1 pinseq=11 T 2750 4100 9 8 1 1 0 6 1 pinlabel=substring of valid pintype T 2750 4100 5 8 0 1 0 8 1 pintype=i } P 3100 3700 2800 3700 1 0 0 { T 2900 3750 5 8 1 1 0 0 1 pinnumber=12 T 2900 3650 5 8 0 1 0 2 1 pinseq=12 T 2750 3700 9 8 1 1 0 6 1 pinlabel=superstring of valid pintype T 2750 3700 5 8 0 1 0 8 1 pintype=iox } P 3100 3300 2800 3300 1 0 0 { T 2900 3350 5 8 1 1 0 0 1 pinnumber=13 T 2900 3250 5 8 0 1 0 2 1 pinseq=13 T 2750 3300 9 8 1 1 0 6 1 pinlabel=completely different T 2750 3300 5 8 0 1 0 8 1 pintype=abc } B 400 100 2400 4400 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 T 2800 4600 8 10 1 1 0 6 1 refdes=U? T 400 4600 9 10 1 0 0 0 1 pintype_check T 400 4800 5 10 0 0 0 0 1 device=pintype_check T 400 5000 5 10 0 0 0 0 1 footprint=none T 400 5200 5 10 0 0 0 0 1 documentation=none T 400 5400 5 10 0 0 0 0 1 description=pintype check for lepton-symcheck T 400 5600 5 10 0 0 0 0 1 numslots=0 P 3100 2900 2800 2900 1 0 0 { T 2900 2950 5 8 1 1 0 0 1 pinnumber=14 T 2900 2850 5 8 0 1 0 2 1 pinseq=14 T 2750 2900 9 8 1 1 0 6 1 pinlabel=duplicate but same T 2750 2900 5 8 0 1 0 8 1 pintype=pas T 2100 2800 5 10 0 1 0 0 1 pintype=pas } P 3100 2500 2800 2500 1 0 0 { T 2900 2550 5 8 1 1 0 0 1 pinnumber=15 T 2900 2450 5 8 0 1 0 2 1 pinseq=15 T 2750 2500 9 8 1 1 0 6 1 pinlabel=duplicate but different T 2750 2500 5 8 0 1 0 8 1 pintype=in T 2300 2400 5 10 0 1 0 0 1 pintype=out } lepton-eda-1.9.16/utils/symcheck/tests/lots_of_errors.output0000644000175000017500000000202114101257250021204 00000000000000ERROR: Missing slotdef=5:... (there should be 5 slotdef= attributes) ERROR: Missing slotdef=4:... (there should be 5 slotdef= attributes) Warning: Missing required attribute: device Warning: Missing required attribute: footprint Warning: Missing required attribute: refdes Warning: Unknown attribute: device_missing=7400 ERROR: Too many pins in slotdef=1:1,2,3,5,6 (must be 3) ERROR: Not enough pins in slotdef=2:4,5 (must be 3) ERROR: Slot number 8 (slotdef=8:9,10,8) is greater than the maximum slot number (5) ERROR: Invalid slotdef=a attribute (the format is #:#,#,#,...) Warning: Missing pin attribute: pinlabel ERROR: Missing pin attribute: pinnumber Warning: Missing pin attribute: pintype Warning: Unknown attribute: pinnumbe=3 Warning: Missing pin attribute: pinlabel Warning: Missing pin attribute: pintype ERROR: Missing pin attribute: pinseq Warning: Unknown attribute: pineq=2 Warning: Missing pin attribute: pinlabel Warning: Missing pin attribute: pintype Warning: Obsolete attribute: uref=U? 13 warnings found 8 ERRORS found lepton-eda-1.9.16/utils/symcheck/tests/many_slotdefs.output0000644000175000017500000000027314101257250021021 00000000000000ERROR: Slot number 5 (slotdef=5:12,13,11) is greater than the maximum slot number (4) ERROR: Slot number 6 (slotdef=6:12,13,11) is greater than the maximum slot number (4) 2 ERRORS found lepton-eda-1.9.16/utils/symcheck/tests/graphical_incorrect.output0000644000175000017500000000012314101257250022146 00000000000000Warning: Graphical symbols should have device=none 1 warning found No errors found lepton-eda-1.9.16/utils/symcheck/tests/missing_numslots.output0000644000175000017500000000002014101257250021555 00000000000000No errors found lepton-eda-1.9.16/utils/symcheck/tests/oldslot.output0000644000175000017500000000123014101257250017624 00000000000000ERROR: Missing slotdef=4:... (there should be 4 slotdef= attributes) ERROR: Missing slotdef=3:... (there should be 4 slotdef= attributes) ERROR: Missing slotdef=2:... (there should be 4 slotdef= attributes) ERROR: Missing slotdef=1:... (there should be 4 slotdef= attributes) ERROR: Obsolete slot#=# attribute: slot1=1,2,3 Warning: Unknown attribute: slot1=1,2,3 ERROR: Obsolete slot#=# attribute: slot2=4,5,6 Warning: Unknown attribute: slot2=4,5,6 ERROR: Obsolete slot#=# attribute: slot3=9,10,8 Warning: Unknown attribute: slot3=9,10,8 ERROR: Obsolete slot#=# attribute: slot4=12,13,11 Warning: Unknown attribute: slot4=12,13,11 4 warnings found 8 ERRORS found lepton-eda-1.9.16/utils/symcheck/tests/duplicate_net.sym0000644000175000017500000000220614101257250020240 00000000000000v 20080110 1 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 1 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 1 device=7400 T 500 2300 5 10 0 0 0 0 1 footprint=unspecified T 500 1100 5 10 0 0 0 0 1 slot=1 T 500 1300 5 10 0 0 0 0 1 numslots=4 T 500 1500 5 10 0 0 0 0 1 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 1 slotdef=2:4,5,6 T 500 1900 5 10 0 0 0 0 1 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 1 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 0 1 { T 1085 350 5 8 0 0 0 0 1 pinseq=3 T 1085 550 5 8 1 1 0 0 1 pinnumber=3 T 1085 350 5 8 0 0 0 0 1 pinlabel=C T 1085 350 5 8 0 0 0 0 1 pintype=out } P 300 300 0 300 1 0 1 { T 0 150 5 8 0 0 0 0 1 pinseq=2 T 100 350 5 8 1 1 0 0 1 pinnumber=2 T 0 150 5 8 0 0 0 0 1 pinlabel=B T 0 150 5 8 0 0 0 0 1 pintype=in } P 300 700 0 700 1 0 1 { T 0 550 5 8 0 0 0 0 1 pinseq=1 T 100 750 5 8 1 1 0 0 1 pinnumber=1 T 0 550 5 8 0 0 0 0 1 pinlabel=A T 0 550 5 8 0 0 0 0 1 pintype=in } T 300 900 8 10 1 1 0 0 1 refdes=U? T 1800 1100 8 10 1 0 0 0 1 net=INVALID:1,5 T 1800 900 8 10 1 0 0 0 1 net=INVALID:5,6,6 lepton-eda-1.9.16/utils/symcheck/tests/typeinside.sym0000644000175000017500000000205514101257250017577 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 slotdef=2:4,5,6 T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 type=this a forbidden attribute T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=1 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? lepton-eda-1.9.16/utils/symcheck/tests/graphical_correct.output0000644000175000017500000000002014101257250021613 00000000000000No errors found lepton-eda-1.9.16/utils/symcheck/tests/zero_path.sym0000644000175000017500000000024014101257250017407 00000000000000v 20170226 2 H 3 10 1 0 -1 -1 0 -1 -1 -1 -1 -1 10 M 0,0 L 0,100 L 0,100 M 0,200 C 0,200 0,200 0,200 L 0,200 L 200,0 C 200,0 200,200 0,200 C 0,200 0,200 0,200 z lepton-eda-1.9.16/utils/symcheck/tests/misplaced_attributes.output0000644000175000017500000000110614101257250022355 00000000000000Warning: Missing required attribute: footprint ERROR: Wrongly attached attribute: footprint=2 Warning: Obsolete attribute: label=2 ERROR: Forbidden attribute: type=out Warning: Unknown attribute: xxxxx=out ERROR: Misplaced pin attribute: pintype=io ERROR: Misplaced pin attribute: pinlabel=attached to box ERROR: Wrongly attached attribute: comment=attached to circle ERROR: Misplaced pin attribute: pinlabel=not attached ERROR: Misplaced pin attribute: pinseq=3 ERROR: Misplaced pin attribute: pinnumber=3 ERROR: Misplaced pin attribute: pintype=io 3 warnings found 9 ERRORS found lepton-eda-1.9.16/utils/symcheck/tests/nameinside.output0000644000175000017500000000011214101257250020256 00000000000000ERROR: Forbidden attribute: name=this a forbidden attribute 1 ERROR found lepton-eda-1.9.16/utils/symcheck/tests/missing_pinseq.output0000644000175000017500000000006314101257250021177 00000000000000ERROR: Missing pin attribute: pinseq 1 ERROR found lepton-eda-1.9.16/utils/symcheck/tests/correct.output0000644000175000017500000000002014101257250017601 00000000000000No errors found lepton-eda-1.9.16/utils/symcheck/tests/zero_picture.sym0000644000175000017500000000012314101257250020126 00000000000000v 20170226 2 G 0 0 100 0 0 0 0 x.png G 0 0 0 100 0 0 0 y.png G 0 0 0 0 0 0 0 z.png lepton-eda-1.9.16/utils/symcheck/tests/zero_line.output0000644000175000017500000000031114101257250020131 00000000000000Warning: Missing required attribute: device Warning: Missing required attribute: footprint Warning: Missing required attribute: refdes ERROR: Zero length line at (0 . 0) 3 warnings found 1 ERROR found lepton-eda-1.9.16/utils/symcheck/tests/zero_circle.output0000644000175000017500000000031714101257250020451 00000000000000Warning: Missing required attribute: device Warning: Missing required attribute: footprint Warning: Missing required attribute: refdes ERROR: Zero radius circle at (300 . 300) 3 warnings found 1 ERROR found lepton-eda-1.9.16/utils/symcheck/tests/missing_device.output0000644000175000017500000000011414101257250021134 00000000000000Warning: Missing required attribute: device 1 warning found No errors found lepton-eda-1.9.16/utils/symcheck/tests/text_errors.output0000644000175000017500000000162414101257250020533 00000000000000Warning: Missing required attribute: device Warning: Missing required attribute: footprint Warning: Missing required attribute: refdes Warning: Text with unbalanced overbar markers '\_' in it': pinlabel=\_Reset Warning: Text with a '\' in it, consider to escape it with '\\': pinlabel=a\b Warning: Text with a trailing '\', consider to escape it with '\\': pinlabel=ab\c\d\ Warning: Text with a '\' in it, consider to escape it with '\\': pinlabel=ab\c\d\ Warning: Text with a '\' in it, consider to escape it with '\\': pinlabel=ab\c\d\ Warning: Unknown attribute: name1=value1 Warning: Unknown attribute: value_invisible=value_invisible Warning: Unknown attribute: name_invisible=name_invisible Warning: Simple text object with only SHOW_NAME or SHOW_VALUE set: text with value_invisible Warning: Simple text object with only SHOW_NAME or SHOW_VALUE set: text with name_invisible 13 warnings found No errors found lepton-eda-1.9.16/utils/symcheck/tests/nets.sym0000644000175000017500000000201514101257250016367 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 slotdef=2:4,5,6 T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=1 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? N 800 1000 1100 1000 4 lepton-eda-1.9.16/utils/symcheck/tests/multiple_pinseq.sym0000644000175000017500000000202614101257250020632 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 slotdef=2:4,5,6 T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 350 5 8 0 0 0 0 pinseq=3 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=1 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? lepton-eda-1.9.16/utils/symcheck/tests/duplicate_pinseq.sym0000644000175000017500000000176614101257250020763 00000000000000v 20020527 L 300 200 300 800 3 0 0 0 -1 -1 T 300 0 9 8 1 0 0 0 7400 L 300 800 700 800 3 0 0 0 -1 -1 T 500 900 5 10 0 0 0 0 device=7400 T 1200 1100 5 10 0 0 0 0 footprint=unspecified T 500 1100 5 10 0 0 0 0 slot=1 T 500 1300 5 10 0 0 0 0 numslots=4 T 500 1500 5 10 0 0 0 0 slotdef=1:1,2,3 T 500 1700 5 10 0 0 0 0 slotdef=2:4,5,6 T 500 1900 5 10 0 0 0 0 slotdef=3:9,10,8 T 500 2100 5 10 0 0 0 0 slotdef=4:12,13,11 L 300 200 700 200 3 0 0 0 -1 -1 A 700 500 300 270 180 3 0 0 0 -1 -1 V 1050 500 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 P 1100 500 1300 500 1 { T 1085 350 5 8 0 0 0 0 pinseq=1 T 1085 550 5 8 1 1 0 0 pinnumber=3 T 1085 350 5 8 0 0 0 0 pinlabel=C T 1085 350 5 8 0 0 0 0 pintype=out } P 300 300 0 300 1 { T 0 150 5 8 0 0 0 0 pinseq=2 T 100 350 5 8 1 1 0 0 pinnumber=2 T 0 150 5 8 0 0 0 0 pinlabel=B T 0 150 5 8 0 0 0 0 pintype=in } P 300 700 0 700 1 { T 0 550 5 8 0 0 0 0 pinseq=1 T 100 750 5 8 1 1 0 0 pinnumber=1 T 0 550 5 8 0 0 0 0 pinlabel=A T 0 550 5 8 0 0 0 0 pintype=in } T 300 900 8 10 1 1 0 0 refdes=U? lepton-eda-1.9.16/utils/symcheck/tests/buses.output0000644000175000017500000000007214101257250017270 00000000000000ERROR: Object forbidden inside symbols: bus 1 ERROR found lepton-eda-1.9.16/utils/schdiff/0000755000175000017500000000000014101262653013407 500000000000000lepton-eda-1.9.16/utils/schdiff/Makefile.am0000644000175000017500000000012314101257250015354 00000000000000SUBDIRS = \ docs bin_SCRIPTS = \ lepton-schdiff EXTRA_DIST = \ lepton-schdiff lepton-eda-1.9.16/utils/schdiff/docs/0000755000175000017500000000000014101262654014340 500000000000000lepton-eda-1.9.16/utils/schdiff/docs/Makefile.am0000644000175000017500000000150214101257250016306 00000000000000dist_man_MANS = \ lepton-schdiff.1 EXTRA_DIST = \ lepton-schdiff.1.in .1.in.1: d=`$(GUILE) -c '(setlocale LC_ALL "C") \ (display (strftime "%B %-d, %Y" \ (car (strptime "%Y%m%d" (cadr (program-arguments))))))' $(DATE_VERSION)` ; \ v="$(DOTTED_VERSION).$(DATE_VERSION)" ; \ y=`echo $(DATE_VERSION)| sed -e"s/\(....\).*/\1/"`; \ sed -e"s:[@]DATE@:$$d:" -e"s:[@]VERSION@:$$v:" -e"s:[@]YEAR@:$$y:" < $< > $@ # Rules for converting man->html html_man_files = $(dist_man_MANS:%.1=%.html) SUFFIXES = .1.in .1 .html docsmandir=$(docdir)/man dist_docsman_DATA=$(html_man_files) if ENABLE_GROFF_HTML .1.html: rm -rf $@.tmp && \ LC_NUMERIC=C $(GROFF) -man -T html $< >$@.tmp && \ mv -f $@.tmp $@ else .1.html: @echo "No working groff available: cannot create $@" @! : endif CLEANFILES = $(dist_man_MANS) $(html_man_files) lepton-eda-1.9.16/utils/schdiff/docs/lepton-schdiff.10000644000175000017500000000423214101262654017250 00000000000000.TH lepton-schdiff 1 "July 31, 2021" "Lepton EDA" 1.9.16.20210731 .SH NAME .B lepton-schdiff \- Graphical diff tool for schematics .SH SYNOPSIS .B lepton-schdiff .I [-d VIEWER] infile1.sch infile2.sch .SH DESCRIPTION The .B lepton-schdiff program will use .B ImageMagick(1) to display a graphical diff of two schematic files. It's most useful when combined with a revision control system so it can compare two revisions of the same file, review changes, etc. However, it is limited in that it can only compare two files at a time; it cannot diff entire directories nor can it diff an entire revision (unless that revision affected only one file). \fIVIEWER\fR command, if specified, will be used to display the result. By default, it's .B display program from the ImageMagick package. .B lepton-schdiff can easily be configured to work with most revision control systems. Here are instructions for three: .B git: Use the .B difftool command exactly as you would use .B diff , but supply the .B \-x lepton-schdiff option. .B mercurial: Use the .B lepton-schdiff command exactly as you would use .B diff , but add the following lines to your .hgrc: .RS [extensions] hgext.extdiff = [extdiff] cmd.schdiff = lepton-schdiff .RE .B subversion: Use the .B diff command like normal, but supply the .B --diff-cmd lepton-schdiff option. .B Note: To make lepton-schdiff work properly, all page contents should be enclosed in some form of bounding box (e.g. a title block), otherwise the symbols in exported images could have different relative positions and/or sizes, resulting in a difference image that is rather hard to comprehend. .SH EXAMPLES .TP Use git to view the changes to a file between two revisions git difftool \-x lepton-schdiff 182110f 039e012 cpu.sch .TP Use mercurial to see all the changes since a specific revision hg schdiff \-r 8442880f9835 cpld.sch .TP Use subversion to review a specific revision svn diff \-\-diff-cmd lepton-schdiff \-c 49 power.sch .SH BUGS If you find one, please report it at https://github.com/lepton-eda/lepton-eda/issues .SH AUTHOR Alan Somers .SH SEE ALSO .B composite(1), display(1), git(1), lepton-schematic(1), hg(1), svn(1) lepton-eda-1.9.16/utils/schdiff/docs/lepton-schdiff.html0000644000175000017500000001030114101262654020046 00000000000000 lepton-schdiff

lepton-schdiff

NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
BUGS
AUTHOR
SEE ALSO

NAME

lepton-schdiff - Graphical diff tool for schematics

SYNOPSIS

lepton-schdiff [-d VIEWER] infile1.sch infile2.sch

DESCRIPTION

The lepton-schdiff program will use ImageMagick(1) to display a graphical diff of two schematic files. It’s most useful when combined with a revision control system so it can compare two revisions of the same file, review changes, etc. However, it is limited in that it can only compare two files at a time; it cannot diff entire directories nor can it diff an entire revision (unless that revision affected only one file).

VIEWER command, if specified, will be used to display the result. By default, it’s display program from the ImageMagick package.

lepton-schdiff can easily be configured to work with most revision control systems. Here are instructions for three:

git: Use the difftool command exactly as you would use diff , but supply the -x lepton-schdiff option.

mercurial: Use the lepton-schdiff command exactly as you would use diff , but add the following lines to your .hgrc:

[extensions]
hgext.extdiff =
[extdiff]
cmd.schdiff = lepton-schdiff

subversion: Use the diff command like normal, but supply the --diff-cmd lepton-schdiff option.

Note: To make lepton-schdiff work properly, all page contents should be enclosed in some form of bounding box (e.g. a title block), otherwise the symbols in exported images could have different relative positions and/or sizes, resulting in a difference image that is rather hard to comprehend.

EXAMPLES

Use git to view the changes to a file between two revisions

git difftool -x lepton-schdiff 182110f 039e012 cpu.sch

Use mercurial to see all the changes since a specific revision

hg schdiff -r 8442880f9835 cpld.sch

Use subversion to review a specific revision

svn diff --diff-cmd lepton-schdiff -c 49 power.sch

BUGS

If you find one, please report it at https://github.com/lepton-eda/lepton-eda/issues

AUTHOR

Alan Somers

SEE ALSO

composite(1), display(1), git(1), lepton-schematic(1), hg(1), svn(1)


lepton-eda-1.9.16/utils/schdiff/docs/Makefile.in0000644000175000017500000005242314101262632016327 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = utils/schdiff/docs ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/guile.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lepton-assert.m4 \ $(top_srcdir)/m4/lepton-attrib.m4 \ $(top_srcdir)/m4/lepton-awk.m4 \ $(top_srcdir)/m4/lepton-cairo.m4 \ $(top_srcdir)/m4/lepton-contrib.m4 \ $(top_srcdir)/m4/lepton-data-dirs.m4 \ $(top_srcdir)/m4/lepton-desktop-i18n.m4 \ $(top_srcdir)/m4/lepton-desktop.m4 \ $(top_srcdir)/m4/lepton-doxygen.m4 \ $(top_srcdir)/m4/lepton-gcc-flags.m4 \ $(top_srcdir)/m4/lepton-git-version.m4 \ $(top_srcdir)/m4/lepton-git.m4 \ $(top_srcdir)/m4/lepton-groff.m4 \ $(top_srcdir)/m4/lepton-guile.m4 \ $(top_srcdir)/m4/lepton-host.m4 \ $(top_srcdir)/m4/lepton-stroke.m4 \ $(top_srcdir)/m4/lepton-uri-viewer.m4 \ $(top_srcdir)/m4/lepton-windows.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/liblepton.m4 \ $(top_srcdir)/m4/libleptonattrib.m4 \ $(top_srcdir)/m4/libleptongui.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pcb-data-dirs.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(dist_docsman_DATA) \ $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } man1dir = $(mandir)/man1 am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docsmandir)" NROFF = nroff MANS = $(dist_man_MANS) DATA = $(dist_docsman_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(dist_man_MANS) $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITMAP_DIRECTORY = @BITMAP_DIRECTORY@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@ CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@ CAIRO_PNG_CFLAGS = @CAIRO_PNG_CFLAGS@ CAIRO_PNG_LIBS = @CAIRO_PNG_LIBS@ CAIRO_PS_CFLAGS = @CAIRO_PS_CFLAGS@ CAIRO_PS_LIBS = @CAIRO_PS_LIBS@ CAIRO_SVG_CFLAGS = @CAIRO_SVG_CFLAGS@ CAIRO_SVG_LIBS = @CAIRO_SVG_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE_VERSION = @DATE_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DESKTOP_I18N = @DESKTOP_I18N@ DESKTOP_I18N_CREATE = @DESKTOP_I18N_CREATE@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@ DESKTOP_I18N_SCRIPT = @DESKTOP_I18N_SCRIPT@ DLLTOOL = @DLLTOOL@ DOT = @DOT@ DOTTED_VERSION = @DOTTED_VERSION@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GDK_CFLAGS = @GDK_CFLAGS@ GDK_LIBS = @GDK_LIBS@ GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@ GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@ GETTEXT = @GETTEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GIT = @GIT@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GROFF = @GROFF@ GTKEXTRA_CFLAGS = @GTKEXTRA_CFLAGS@ GTKEXTRA_LIBS = @GTKEXTRA_LIBS@ GTKSHEET_CFLAGS = @GTKSHEET_CFLAGS@ GTKSHEET_LIBS = @GTKSHEET_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GUILD = @GUILD@ GUILE = @GUILE@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@ GUILE_LDFLAGS = @GUILE_LDFLAGS@ GUILE_LIBS = @GUILE_LIBS@ GUILE_LTLIBS = @GUILE_LTLIBS@ GUILE_PKG_NAME = @GUILE_PKG_NAME@ GUILE_SNARF = @GUILE_SNARF@ GUILE_TOOLS = @GUILE_TOOLS@ HAVE_GIT_REPO = @HAVE_GIT_REPO@ ICON_THEME_INSTALLER = @ICON_THEME_INSTALLER@ INKSCAPE = @INKSCAPE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEPTONDATADIR = @LEPTONDATADIR@ LEPTON_SCHEME_MODULE_DIRECTORY = @LEPTON_SCHEME_MODULE_DIRECTORY@ LEPTON_SCM_PRECOMPILE_DIR = @LEPTON_SCM_PRECOMPILE_DIR@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBLEPTONATTRIB_MAJOR = @LIBLEPTONATTRIB_MAJOR@ LIBLEPTONATTRIB_SHLIB_VERSION = @LIBLEPTONATTRIB_SHLIB_VERSION@ LIBLEPTONGUI_MAJOR = @LIBLEPTONGUI_MAJOR@ LIBLEPTONGUI_SHLIB_VERSION = @LIBLEPTONGUI_SHLIB_VERSION@ LIBLEPTON_GETTEXT_DOMAIN = @LIBLEPTON_GETTEXT_DOMAIN@ LIBLEPTON_MAJOR = @LIBLEPTON_MAJOR@ LIBLEPTON_SHLIB_VERSION = @LIBLEPTON_SHLIB_VERSION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSTROKE_CPPFLAGS = @LIBSTROKE_CPPFLAGS@ LIBSTROKE_LDFLAGS = @LIBSTROKE_LDFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ M4 = @M4@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MINGW_CFLAGS = @MINGW_CFLAGS@ MINGW_GUI_LDFLAGS = @MINGW_GUI_LDFLAGS@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCBDATADIR = @PCBDATADIR@ PCBLIBPATH = @PCBLIBPATH@ PCBM4DIR = @PCBM4DIR@ PDFLATEX = @PDFLATEX@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ URI_VIEWER = @URI_VIEWER@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDOWS_LIBTOOL_FLAGS = @WINDOWS_LIBTOOL_FLAGS@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ dist_man_MANS = \ lepton-schdiff.1 EXTRA_DIST = \ lepton-schdiff.1.in # Rules for converting man->html html_man_files = $(dist_man_MANS:%.1=%.html) SUFFIXES = .1.in .1 .html docsmandir = $(docdir)/man dist_docsman_DATA = $(html_man_files) CLEANFILES = $(dist_man_MANS) $(html_man_files) all: all-am .SUFFIXES: .SUFFIXES: .1.in .1 .html $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/schdiff/docs/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign utils/schdiff/docs/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-man1: $(dist_man_MANS) @$(NORMAL_INSTALL) @list1=''; \ list2='$(dist_man_MANS)'; \ test -n "$(man1dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.1[a-z]*$$/p'; \ fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ done | \ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ sed 'N;N;s,\n, ,g' | { \ list=; while read file base inst; do \ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ fi; \ done; \ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ while read files; do \ test -z "$$files" || { \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ done; } uninstall-man1: @$(NORMAL_UNINSTALL) @list=''; test -n "$(man1dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \ sed -n '/\.1[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) install-dist_docsmanDATA: $(dist_docsman_DATA) @$(NORMAL_INSTALL) @list='$(dist_docsman_DATA)'; test -n "$(docsmandir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(docsmandir)'"; \ $(MKDIR_P) "$(DESTDIR)$(docsmandir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docsmandir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(docsmandir)" || exit $$?; \ done uninstall-dist_docsmanDATA: @$(NORMAL_UNINSTALL) @list='$(dist_docsman_DATA)'; test -n "$(docsmandir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(docsmandir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(MANS) $(DATA) installdirs: for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docsmandir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dist_docsmanDATA install-man install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-man1 install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-dist_docsmanDATA uninstall-man uninstall-man: uninstall-man1 .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am \ install-dist_docsmanDATA install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-man1 \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags-am uninstall uninstall-am uninstall-dist_docsmanDATA \ uninstall-man uninstall-man1 .PRECIOUS: Makefile .1.in.1: d=`$(GUILE) -c '(setlocale LC_ALL "C") \ (display (strftime "%B %-d, %Y" \ (car (strptime "%Y%m%d" (cadr (program-arguments))))))' $(DATE_VERSION)` ; \ v="$(DOTTED_VERSION).$(DATE_VERSION)" ; \ y=`echo $(DATE_VERSION)| sed -e"s/\(....\).*/\1/"`; \ sed -e"s:[@]DATE@:$$d:" -e"s:[@]VERSION@:$$v:" -e"s:[@]YEAR@:$$y:" < $< > $@ @ENABLE_GROFF_HTML_TRUE@.1.html: @ENABLE_GROFF_HTML_TRUE@ rm -rf $@.tmp && \ @ENABLE_GROFF_HTML_TRUE@ LC_NUMERIC=C $(GROFF) -man -T html $< >$@.tmp && \ @ENABLE_GROFF_HTML_TRUE@ mv -f $@.tmp $@ @ENABLE_GROFF_HTML_FALSE@.1.html: @ENABLE_GROFF_HTML_FALSE@ @echo "No working groff available: cannot create $@" @ENABLE_GROFF_HTML_FALSE@ @! : # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/schdiff/docs/lepton-schdiff.1.in0000644000175000017500000000421514101257250017652 00000000000000.TH lepton-schdiff 1 "@DATE@" "Lepton EDA" @VERSION@ .SH NAME .B lepton-schdiff \- Graphical diff tool for schematics .SH SYNOPSIS .B lepton-schdiff .I [-d VIEWER] infile1.sch infile2.sch .SH DESCRIPTION The .B lepton-schdiff program will use .B ImageMagick(1) to display a graphical diff of two schematic files. It's most useful when combined with a revision control system so it can compare two revisions of the same file, review changes, etc. However, it is limited in that it can only compare two files at a time; it cannot diff entire directories nor can it diff an entire revision (unless that revision affected only one file). \fIVIEWER\fR command, if specified, will be used to display the result. By default, it's .B display program from the ImageMagick package. .B lepton-schdiff can easily be configured to work with most revision control systems. Here are instructions for three: .B git: Use the .B difftool command exactly as you would use .B diff , but supply the .B \-x lepton-schdiff option. .B mercurial: Use the .B lepton-schdiff command exactly as you would use .B diff , but add the following lines to your .hgrc: .RS [extensions] hgext.extdiff = [extdiff] cmd.schdiff = lepton-schdiff .RE .B subversion: Use the .B diff command like normal, but supply the .B --diff-cmd lepton-schdiff option. .B Note: To make lepton-schdiff work properly, all page contents should be enclosed in some form of bounding box (e.g. a title block), otherwise the symbols in exported images could have different relative positions and/or sizes, resulting in a difference image that is rather hard to comprehend. .SH EXAMPLES .TP Use git to view the changes to a file between two revisions git difftool \-x lepton-schdiff 182110f 039e012 cpu.sch .TP Use mercurial to see all the changes since a specific revision hg schdiff \-r 8442880f9835 cpld.sch .TP Use subversion to review a specific revision svn diff \-\-diff-cmd lepton-schdiff \-c 49 power.sch .SH BUGS If you find one, please report it at https://github.com/lepton-eda/lepton-eda/issues .SH AUTHOR Alan Somers .SH SEE ALSO .B composite(1), display(1), git(1), lepton-schematic(1), hg(1), svn(1) lepton-eda-1.9.16/utils/schdiff/Makefile.in0000644000175000017500000006242614101262632015403 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = utils/schdiff ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/guile.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lepton-assert.m4 \ $(top_srcdir)/m4/lepton-attrib.m4 \ $(top_srcdir)/m4/lepton-awk.m4 \ $(top_srcdir)/m4/lepton-cairo.m4 \ $(top_srcdir)/m4/lepton-contrib.m4 \ $(top_srcdir)/m4/lepton-data-dirs.m4 \ $(top_srcdir)/m4/lepton-desktop-i18n.m4 \ $(top_srcdir)/m4/lepton-desktop.m4 \ $(top_srcdir)/m4/lepton-doxygen.m4 \ $(top_srcdir)/m4/lepton-gcc-flags.m4 \ $(top_srcdir)/m4/lepton-git-version.m4 \ $(top_srcdir)/m4/lepton-git.m4 \ $(top_srcdir)/m4/lepton-groff.m4 \ $(top_srcdir)/m4/lepton-guile.m4 \ $(top_srcdir)/m4/lepton-host.m4 \ $(top_srcdir)/m4/lepton-stroke.m4 \ $(top_srcdir)/m4/lepton-uri-viewer.m4 \ $(top_srcdir)/m4/lepton-windows.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/liblepton.m4 \ $(top_srcdir)/m4/libleptonattrib.m4 \ $(top_srcdir)/m4/libleptongui.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pcb-data-dirs.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(bindir)" SCRIPTS = $(bin_SCRIPTS) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir distdir-am am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITMAP_DIRECTORY = @BITMAP_DIRECTORY@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@ CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@ CAIRO_PNG_CFLAGS = @CAIRO_PNG_CFLAGS@ CAIRO_PNG_LIBS = @CAIRO_PNG_LIBS@ CAIRO_PS_CFLAGS = @CAIRO_PS_CFLAGS@ CAIRO_PS_LIBS = @CAIRO_PS_LIBS@ CAIRO_SVG_CFLAGS = @CAIRO_SVG_CFLAGS@ CAIRO_SVG_LIBS = @CAIRO_SVG_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE_VERSION = @DATE_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DESKTOP_I18N = @DESKTOP_I18N@ DESKTOP_I18N_CREATE = @DESKTOP_I18N_CREATE@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@ DESKTOP_I18N_SCRIPT = @DESKTOP_I18N_SCRIPT@ DLLTOOL = @DLLTOOL@ DOT = @DOT@ DOTTED_VERSION = @DOTTED_VERSION@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GDK_CFLAGS = @GDK_CFLAGS@ GDK_LIBS = @GDK_LIBS@ GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@ GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@ GETTEXT = @GETTEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GIT = @GIT@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GROFF = @GROFF@ GTKEXTRA_CFLAGS = @GTKEXTRA_CFLAGS@ GTKEXTRA_LIBS = @GTKEXTRA_LIBS@ GTKSHEET_CFLAGS = @GTKSHEET_CFLAGS@ GTKSHEET_LIBS = @GTKSHEET_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GUILD = @GUILD@ GUILE = @GUILE@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@ GUILE_LDFLAGS = @GUILE_LDFLAGS@ GUILE_LIBS = @GUILE_LIBS@ GUILE_LTLIBS = @GUILE_LTLIBS@ GUILE_PKG_NAME = @GUILE_PKG_NAME@ GUILE_SNARF = @GUILE_SNARF@ GUILE_TOOLS = @GUILE_TOOLS@ HAVE_GIT_REPO = @HAVE_GIT_REPO@ ICON_THEME_INSTALLER = @ICON_THEME_INSTALLER@ INKSCAPE = @INKSCAPE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEPTONDATADIR = @LEPTONDATADIR@ LEPTON_SCHEME_MODULE_DIRECTORY = @LEPTON_SCHEME_MODULE_DIRECTORY@ LEPTON_SCM_PRECOMPILE_DIR = @LEPTON_SCM_PRECOMPILE_DIR@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBLEPTONATTRIB_MAJOR = @LIBLEPTONATTRIB_MAJOR@ LIBLEPTONATTRIB_SHLIB_VERSION = @LIBLEPTONATTRIB_SHLIB_VERSION@ LIBLEPTONGUI_MAJOR = @LIBLEPTONGUI_MAJOR@ LIBLEPTONGUI_SHLIB_VERSION = @LIBLEPTONGUI_SHLIB_VERSION@ LIBLEPTON_GETTEXT_DOMAIN = @LIBLEPTON_GETTEXT_DOMAIN@ LIBLEPTON_MAJOR = @LIBLEPTON_MAJOR@ LIBLEPTON_SHLIB_VERSION = @LIBLEPTON_SHLIB_VERSION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSTROKE_CPPFLAGS = @LIBSTROKE_CPPFLAGS@ LIBSTROKE_LDFLAGS = @LIBSTROKE_LDFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ M4 = @M4@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MINGW_CFLAGS = @MINGW_CFLAGS@ MINGW_GUI_LDFLAGS = @MINGW_GUI_LDFLAGS@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCBDATADIR = @PCBDATADIR@ PCBLIBPATH = @PCBLIBPATH@ PCBM4DIR = @PCBM4DIR@ PDFLATEX = @PDFLATEX@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ URI_VIEWER = @URI_VIEWER@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDOWS_LIBTOOL_FLAGS = @WINDOWS_LIBTOOL_FLAGS@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = \ docs bin_SCRIPTS = \ lepton-schdiff EXTRA_DIST = \ lepton-schdiff all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/schdiff/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign utils/schdiff/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-binSCRIPTS: $(bin_SCRIPTS) @$(NORMAL_INSTALL) @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n' \ -e 'h;s|.*|.|' \ -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) { files[d] = files[d] " " $$1; \ if (++n[d] == $(am__install_max)) { \ print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ else { print "f", d "/" $$4, $$1 } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 's,.*/,,;$(transform)'`; \ dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir) mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(SCRIPTS) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(bindir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-binSCRIPTS install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-binSCRIPTS .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ check-am clean clean-generic clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-binSCRIPTS install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ uninstall-am uninstall-binSCRIPTS .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/schdiff/lepton-schdiff0000644000175000017500000000351114101257250016154 00000000000000#! /bin/sh VIEWER="display" DEFAULT_FONT="Sans" usage () { cat < Lepton EDA homepage EOF } while getopts "d:" arg do case "${arg}" in d) VIEWER=$OPTARG ;; *) usage ; exit 1 ;; esac done shift $(( $OPTIND - 1 )) for PROG in lepton-cli composite do if which $PROG > /dev/null then true else echo "$PROG is not found. Either it is not installed, or not in your PATH" exit 1 fi done if test $# -lt 2 then usage; exit 1 fi #In case the script was invoked with extra option arguments, throw them away shift `expr $# - 2` if test -d $1 -o -d $2 then echo "ERROR: lepton-schdiff cannot diff entire directories" exit 1 fi LEFTFILE=$1 RIGHTFILE=$2 LEFTPNG=`mktemp /tmp/lepton-schdiff-old.XXXXXXXXXX` RIGHTPNG=`mktemp /tmp/lepton-schdiff-new.XXXXXXXXXX` DIFFPNG=`mktemp /tmp/lepton-schdiff-diff.XXXXXXXXXX` font="`lepton-cli config schematic.gui font`" if [ -z "${font}" ] then font=$DEFAULT_FONT fi lepton-cli export -f png -s 1344px:1008px --no-color -F "${font}" -o $RIGHTPNG $RIGHTFILE && \ lepton-cli export -f png -s 1344px:1008px --no-color -F "${font}" -o $LEFTPNG $LEFTFILE && \ composite -stereo 0 $LEFTPNG $RIGHTPNG $DIFFPNG && \ $VIEWER $DIFFPNG rm $LEFTPNG rm $RIGHTPNG rm $DIFFPNG lepton-eda-1.9.16/utils/tragesym/0000755000175000017500000000000014101262653013634 500000000000000lepton-eda-1.9.16/utils/tragesym/Makefile.am0000644000175000017500000000073514101257250015612 00000000000000SUBDIRS = examples docs bin_SCRIPTS = \ lepton-tragesym EXTRA_DIST = \ lepton-tragesym.scm do_subst = sed -e 's,[@]libdir[@],$(libdir),g' \ -e 's,[@]GUILE[@],$(GUILE),g' \ -e 's,[@]LEPTON_SCHEME_MODULE_DIRECTORY[@],$(LEPTON_SCHEME_MODULE_DIRECTORY),g' \ -e 's,[@]localedir[@],$(localedir),g' \ -e 's,[@]ccachedir[@],@LEPTON_SCM_PRECOMPILE_DIR@,g' lepton-tragesym: lepton-tragesym.scm $(do_subst) < $(srcdir)/$@.scm > $@ chmod +x $@ CLEANFILES = \ lepton-tragesym lepton-eda-1.9.16/utils/tragesym/lepton-tragesym.scm0000755000175000017500000010746514101257250017427 00000000000000#!/usr/bin/env sh export GUILE_LOAD_COMPILED_PATH="@ccachedir@:${GUILE_LOAD_COMPILED_PATH}" exec @GUILE@ -s "$0" "$@" !# ;;; Copyright (C) 2019-2021 Lepton EDA Contributors ;;; ;;; Based on Python script by Werner Hoch ;;; Copyright (C) 2001,2002,2003,2004,2006,2007,2008 Werner Hoch ;;; ;;; This program is free software; you can redistribute it and/or modify ;;; it under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 2 of the License, or ;;; (at your option) any later version. ;;; ;;; This program is distributed in the hope that it will be useful, ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with this program; if not, write to the Free Software ;;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ;;; lepton-tragesym ;;; Create Lepton EDA symbols out of structured textfiles. ;;; FEATURES: ;;; - Create pins and their attributes/elements. ;;; - Sort pins alphabetically by attributes. ;;; - Rotate top and bottom pinlabel= attributes if requested. ;;; - Swap words of the pinlabel= attributes (only for attributes ;;; of right pins and top pins, in the latter case only when ;;; rotation is requested, too). ;;; - Negation lines if label is in "_","\" is for escape ;;; - Symbol width will be automatically increased based on values ;;; defined by the greater number of pins at the top or at the ;;; bottom of the symbol, and the width requested. (eval-when (expand load eval) (unless (getenv "LIBLEPTON") (add-to-load-path "@LEPTON_SCHEME_MODULE_DIRECTORY@"))) (use-modules (ice-9 getopt-long) (ice-9 match) (ice-9 rdelim) (ice-9 textual-ports) (srfi srfi-1) (srfi srfi-9) (sxml match) (lepton ffi)) ;;; Initialize liblepton library. (liblepton_init) (primitive-eval '(use-modules (lepton core toplevel) (lepton attrib) (lepton object) (lepton page) (lepton version) (netlist attrib compare))) (define %option-spec '((help (single-char #\h) (value #f)) (version (single-char #\V) (value #f)))) (define %options (getopt-long (command-line) %option-spec)) (define special-attributes '("name" "refdes")) (define single-attribute-warning '("device" "footprint" "author" "documentation" "description" "numslots" "symversion" "dist-license" "use-license")) (define stylelist '("line" "dot" "clk" "dotclk" "spacer" "none")) (define poslist '("l" "r" "t" "b" "")) (define typelist '("in" "out" "io" "oc" "oe" "pas" "tp" "tri" "clk" "pwr")) (define %default-component-options '((wordswap . #t) (rotate_labels . #f) (sort_labels . #t) (generate_pinseq . #t) (sym_width . 1400) (pinwidthvertikal . 400) (pinwidthvertical . 400) (pinwidthhorizontal . 400))) ;;; These constants have no appropriate config settings in the ;;; original tragesym. (define %pinlength 300) (define %clock-triangle-height 100) (define %clock-triangle-base 150) ;;; Transform immutable alist into a mutable one. (define %component-options (map (lambda (x) (cons (car x) (cdr x))) %default-component-options)) (define (set-component-option! name value) (set! %component-options (assq-set! %component-options name value))) (define (component-option name) (assq-ref %component-options name)) (define (string->pair s warning-thunk) (define cs (char-set #\= #\tab)) (let ((index (string-index s cs))) (if (or (not index) (zero? index) (= index (1- (string-length s)))) (warning-thunk) (let ((name (string-trim-both (string-take s index) char-set:whitespace)) (value (string-trim-both (string-drop s (1+ index)) char-set:whitespace))) (if (or (string-null? name) (string-null? value)) (warning-thunk) (cons name value)))))) (define (string->integer value) (let ((num (string->number value))) (and (integer? num) num))) (define (string->option-value s) (define value-alist '(("yes" . #t) ("on" . #t) ("no" . #f) ("off" . #f))) (or (assoc-ref value-alist s) (string->integer s))) (define (format-warning s . args) (display "Warning: " (current-error-port)) (apply format (current-error-port) s args) (put-char (current-error-port) #\newline) ;; Return value for functions that need it. #f) (define option-names (map car %default-component-options)) (define (option-name-exists? name) (or (memq name option-names) (format-warning "Option ~S is not allowed and will be dropped." name))) (define (option-string->pair s) (define (drop-warning) (format-warning "Wrong option definition: ~S" s)) (let ((name-value (string->pair s drop-warning))) (and name-value (let ((option-name (string->symbol (car name-value))) (option-value (string->option-value (cdr name-value)))) (and (option-name-exists? option-name) (set-component-option! option-name option-value)))))) (define valid-section-names '(geda_attr options pins)) (define (section-string->symbol s) (let ((section-name (string->symbol (string-drop-right (string-drop s 1) 1)))) ;; Don't exit here, show must go on. (unless (memq section-name valid-section-names) (format-warning "Found illegal section name: ~A. The section won't be processed." section-name)) section-name)) (define (file-contents filename) (let ((cs (char-set-delete char-set:whitespace #\tab))) (with-input-from-file filename (lambda () (let loop ((s (read-line)) (ls '())) (if (eof-object? s) (reverse ls) (let ((trimmed-s (string-trim-right (string-trim-both s cs) #\tab))) (loop (read-line) (if (or (string-null? trimmed-s) (char=? #\# (string-ref trimmed-s 0))) ls (if (section-name? trimmed-s) (cons `(section ,(section-string->symbol trimmed-s)) ls) (cons `(element ,trimmed-s) ls))))))))))) ;;; FIXME: check with spaces before and after section name. (define (section-name? s) (and (char=? #\[ (string-ref s 0)) (char=? #\] (string-ref s (1- (string-length s)))))) (define (merge-options ls) (sxml-match ls [(list (section . ,section) (element ,element) . ,[anything]) (merge-options `((section ,@section ,element) ,@anything))] [,other other])) (define (file-contents->alist filename) (sxml-match (merge-options (file-contents filename)) ;; The same as (map car list-of-sections). [(list (section . ,anything) ...) `((,@anything) ...)])) ;;; Encapsulates data related to a pin. (define-record-type pin (make-pin number seq type style pos net label) pin? (number pin-number set-pin-number!) (seq pin-seq set-pin-seq!) (type pin-type set-pin-type!) (style pin-style set-pin-style!) (pos pin-pos set-pin-pos!) (net pin-net set-pin-net!) (label pin-label set-pin-label!)) (define (pin-info p) (match p (($ pin number seq type style pos net label) (format #f "Pin object (number:~A seq:~A type:~A style:~A pos:~A net:~A label:~A)" number seq type style pos net label)))) ;;; Original script sorted by position side as well. We use fixed ;;; position instead. (define (pininteger (pin-seq pin)))) (if num (set-pin-seq! pin num) (format-error "Pinseq needs to be a number: ~A." (pin-info pin))))) (unless (member (pin-type pin) typelist) (format-error "Pintype not allowed: ~A." (pin-info pin))) (unless (member (pin-style pin) stylelist) (format-error "Style is not allowed: ~A." (pin-info pin))) (unless (member (pin-pos pin) poslist) (format-error "Position is not allowed: ~A." (pin-info pin))) (when (and (string-null? (pin-pos pin)) (string-null? (pin-net pin))) (format-error "There must be either position or a netlabel: ~A." (pin-info pin)))))) (define (usage) "Print a usage message." (format #t "~A INPUT-FILE OUTPUT-FILE (C) 2019 Lepton EDA Contributors Based on original \"tragesym\" version (C) 2001,2002,2003,2004,2006,2007 by Werner Hoch " (basename (car (command-line))))) (define (print-version) (display-lepton-version #:print-name #t #:copyright #t)) (define (parse-label s) (define overbar-*fix "\\_") (if (and (string-prefix? overbar-*fix s) (string-suffix? overbar-*fix s)) (string-drop-right (string-drop s 2) 2) s)) ;;; Round *unsigned* integer x (size) to closest r (grid step) (define (round-closest x r) (* r (round (/ x r)))) ;; returns the words in reverse order (define (swapwords s) (string-join (reverse (string-split s #\space)) " ")) (define (warn-missing-attribute s) (format-warning "~S attribute missing." s)) (define (writesym options attributes pins) (define page (make-page "dummy-filename")) (define %horizontal-pin-distance (component-option 'pinwidthhorizontal)) ;; 'pinwidthvertikal' is backward compatible option for older ;; versions. New option name is 'pinwidthvertical'. (define %vertical-pin-distance (or (component-option 'pinwidthvertical) (component-option 'pinwidthvertikal))) (define %swap-words (component-option 'wordswap)) (define %rotate-labels (component-option 'rotate_labels)) (define merge-by-net-name identity) (define (left-pin? pin) (string= (pin-pos pin) "l")) (define (right-pin? pin) (string= (pin-pos pin) "r")) (define (bottom-pin? pin) (string= (pin-pos pin) "b")) (define (top-pin? pin) (string= (pin-pos pin) "t")) (define (real-pin? pin) (not (string= (pin-style pin) "none"))) (define real-pins (filter real-pin? (if (component-option 'sort_labels) (sort pins pin pin-count/bottom 0) %pinlength 0))) ;; Calculate the minimum symwidth and increase it if necessary (define calculated-top-symwidth (* (1+ pin-count/top) %horizontal-pin-distance)) (define calculated-bottom-symwidth (* (1+ pin-count/bottom) %horizontal-pin-distance)) (define calculated-symwidth (max calculated-bottom-symwidth calculated-top-symwidth)) (define symbol-width (max (or (component-option 'sym_width) 0) calculated-symwidth)) (define symbol-height (let ((max-pin-count (if (< pin-count/left pin-count/right) pin-count/right pin-count/left))) (* (1+ max-pin-count) %vertical-pin-distance))) ;; Calculate the position of several items. (define pin-right-x (+ origin-x %pinlength symbol-width)) (define pin-left-x (- origin-x %pinlength)) (define pin-top-y (+ origin-y symbol-height %pinlength)) (define pin-bottom-y (- origin-y %pinlength)) (define (draw-refdes-attrib) (let ((x (+ origin-x symbol-width)) (y (+ origin-y symbol-height 100)) (angle 0) (alignment 'lower-right) (size 10) (color 8) (value (assoc-ref attributes "refdes"))) (if value (page-append! page (make-text `(,x . ,y) alignment angle (format #f "refdes=~A" value) size 'visible 'value color)) (warn-missing-attribute "refdes")))) ;; Center name= at symbol's (x,y) only if we have top ;; pins. Otherwise it will be at the top. (define name-x (if (> pin-count/top 0) (/ (+ origin-x symbol-width) 2) origin-x)) (define name-y (if (> pin-count/top 0) (+ (/ (+ origin-y symbol-height) 2) 100) (+ origin-y symbol-height 100))) (define textx origin-x) (define texty (if (> pin-count/top 0) (+ origin-y symbol-height %pinlength 100) (+ name-y 200))) (define (draw-name) (let ((name-value (assoc-ref attributes "name")) (color 9) (size 10) (alignment 'lower-left) (angle 0)) (if name-value (page-append! page (make-text `(,name-x . ,name-y) alignment angle (format #f "~A" name-value) size 'visible 'both color)) (warn-missing-attribute "name")))) ;; Calculate the position of the pins at the left and right side. (define pin-left-y (+ origin-y (* (max pin-count/left pin-count/right) %vertical-pin-distance))) (define pin-right-y pin-left-y) ;; Calculate the position of several items. ;; Let's add some pad if sym_width was defined. (define pin-top-x (round-closest (+ origin-x %horizontal-pin-distance (/ (- symbol-width calculated-top-symwidth) 2)) 100)) (define pin-bottom-x (round-closest (+ origin-x %horizontal-pin-distance (/ (- symbol-width calculated-bottom-symwidth) 2)) 100)) (define pin-start-attribute-offset 200) (define pin-attribute-distance 50) (define bubble-radius 50) (define bubble-color 6) ;; Draw the pin. (define (draw-pin pin pin-start-x pin-start-y) (define (first* a . args) a) (let* ((has-bubble? (or (string= (pin-style pin) "dot") (string= (pin-style pin) "dotclk"))) (has-clock-sign? (or (equal? (pin-style pin) "clk") (equal? (pin-style pin) "dotclk"))) (pin-length (if has-bubble? (- %pinlength (* 2 bubble-radius)) %pinlength)) (which? (pin-pos pin)) (pin-end-x (match which? ("l" (+ pin-start-x pin-length)) ("r" (- pin-start-x pin-length)) (_ pin-start-x))) (pin-end-y (match which? ("b" (+ pin-start-y pin-length)) ("t" (- pin-start-y pin-length)) (_ pin-start-y))) (bubble-x (match which? ("l" (+ pin-end-x bubble-radius)) ("r" (- pin-end-x bubble-radius)) ;; Otherwise, X is the same for the start ;; and end. (_ pin-start-x))) (bubble-y (match which? ("b" (+ pin-end-y bubble-radius)) ("t" (- pin-end-y bubble-radius)) ;; Otherwise, Y is the same for the start ;; and end. (_ pin-start-y))) ;; Here we do assume the pin end if no bubble would be ;; drawn. That is the pin end point if on the symbol ;; box. (pin-end-x* (match which? ("l" (+ pin-start-x %pinlength)) ("r" (- pin-start-x %pinlength)) (_ pin-start-x))) (pin-end-y* (match which? ("b" (+ pin-start-y %pinlength)) ("t" (- pin-start-y %pinlength)) (_ pin-start-y)))) ;; Draw its negation bubble, if needed. ;; It goes first for now, since we are going to attach ;; attribs to the pin below, but they are not ready yet. (when has-bubble? (page-append! page (make-circle (cons bubble-x bubble-y) bubble-radius bubble-color))) ;; Draw the clock sign. (when has-clock-sign? (let ((x1 ((match which? ("l" +) ("r" -) (_ first*)) pin-end-x* %clock-triangle-height)) (y1 ((match which? ("b" +) ("t" -) (_ first*)) pin-end-y* %clock-triangle-height)) (x2 ((match which? ((or "b" "t") +) (_ first*)) pin-end-x* (/ %clock-triangle-base 2))) (y2 ((match which? ((or "l" "r") +) (_ first*)) pin-end-y* (/ %clock-triangle-base 2))) (x3 ((match which? ((or "b" "t") -) (_ first*)) pin-end-x* (/ %clock-triangle-base 2))) (y3 ((match which? ((or "l" "r") -) (_ first*)) pin-end-y* (/ %clock-triangle-base 2)))) (page-append! page (set-object-stroke! (make-line `(,x1 . ,y1) `(,x2 . ,y2)) 10 'round 'solid) (set-object-stroke! (make-line `(,x1 . ,y1) `(,x3 . ,y3)) 10 'round 'solid)))) (let* ((pin-object (make-net-pin `(,pin-start-x . ,pin-start-y) `(,pin-end-x . ,pin-end-y))) (pinnumber-x (match which? ("l" (+ pin-start-x pin-start-attribute-offset)) ("r" (- pin-start-x pin-start-attribute-offset)) (_ (+ pin-start-x (if %rotate-labels (- pin-attribute-distance) pin-attribute-distance))))) (pinnumber-y (match which? ("t" (- pin-start-y pin-start-attribute-offset)) ("b" (+ pin-start-y pin-start-attribute-offset)) (_ (+ pin-start-y pin-attribute-distance)))) (pinnumber-alignment (match which? ("l" 'lower-right) ("b" (if %rotate-labels 'lower-right 'upper-left)) (_ 'lower-left))) (pinnumber-angle (match which? ((or "t" "b") (if %rotate-labels 90 0)) (_ 0))) (pinnumber (make-text `(,pinnumber-x . ,pinnumber-y) pinnumber-alignment pinnumber-angle (format #f "pinnumber=~A" (pin-number pin)) ;; Size. 8 'visible 'value)) (pinseq-x (match which? ("l" (+ pin-start-x pin-start-attribute-offset)) ("r" (- pin-start-x pin-start-attribute-offset)) (_ (+ pin-start-x (if %rotate-labels pin-attribute-distance (- pin-attribute-distance)))))) (pinseq-y (match which? ("t" (- pin-start-y pin-start-attribute-offset)) ("b" (+ pin-start-y pin-start-attribute-offset)) (_ (- pin-start-y pin-attribute-distance)))) (pinseq-alignment (match which? ("r" 'upper-left) ("t" (if %rotate-labels 'upper-left 'lower-right)) (_ 'upper-right))) (pinseq-angle (match which? ((or "t" "b") (if %rotate-labels 90 0)) (_ 0))) (pinseq-counter (and (pin-seq pin) (make-text `(,pinseq-x . ,pinseq-y) pinseq-alignment pinseq-angle (format #f "pinseq=~A" (pin-seq pin)) ;; Size. 8 ;; Invisible. #f 'value))) (clk? (or (string= (pin-style pin) "clk") (string= (pin-style pin) "dotclk"))) (pinlabel-distance 50) (pinlabel-x ((match which? ("l" +) ("r" -) (_ first*)) pin-end-x* (+ pinlabel-distance (if clk? %clock-triangle-height 0)))) (pinlabel-y ((match which? ("t" -) ("b" +) (_ first*)) pin-end-y* (+ pinlabel-distance (if clk? %clock-triangle-height 0)))) (pinlabel-alignment (match which? ("l" 'lower-left) ("r" 'lower-right) ("t" (if %rotate-labels 'lower-right 'upper-center)) ("b" (if %rotate-labels 'lower-left 'lower-center)))) (pinlabel-angle (match which? ((or "t" "b") (if %rotate-labels 90 0)) (_ 0))) (pintype-x-distance 50) (pintype-x ((match which? ("l" +) ("r" -) (_ first*)) pin-end-x* (+ pintype-x-distance (if clk? %clock-triangle-height 0)))) (pintype-y-distance (if %rotate-labels 50 200)) (pintype-y ((match which? ("t" -) ("b" +) (_ first*)) pin-end-y* (+ pintype-y-distance (if clk? %clock-triangle-height 0)))) (pintype-alignment (match which? ("l" 'upper-left) ("r" 'upper-right) ("t" (if %rotate-labels 'upper-right 'upper-center)) ("b" (if %rotate-labels 'upper-left 'lower-center)))) (pintype-angle (match which? ((or "t" "b") (if %rotate-labels 90 0)) (_ 0))) (pinlabel-text (match which? ;; Swap words for right pins anyway, if specified. ("r" (if %swap-words (swapwords (pin-label pin)) (pin-label pin))) ;; Swap words for top pins only if rotation is requested as well. ("t" (if (and %swap-words %rotate-labels) (swapwords (pin-label pin)) (pin-label pin))) ;; Do not swap words for left and bottom pins. (_ (pin-label pin)))) (pinlabel (make-text `(,pinlabel-x . ,pinlabel-y) pinlabel-alignment pinlabel-angle (format #f "pinlabel=~A" pinlabel-text) ;; Size. 8 'visible 'value ;; Color. 9)) (pintype (make-text `(,pintype-x . ,pintype-y) pintype-alignment pintype-angle (format #f "pintype=~A" (pin-type pin)) ;; Size. 8 ;; Invisible. #f 'value)) (attribs (filter identity (list pinnumber pinseq-counter pinlabel pintype)))) (apply page-append! page pin-object attribs) (apply attach-attribs! pin-object attribs) (set-object-color! pinlabel 9)))) (define (draw-with-increment draw-function items position increment) (unless (null? items) (draw-function (car items) position) (match-let (((x . y) position) ((xi . yi) increment)) (draw-with-increment draw-function (cdr items) ;; Increment position. (cons (+ x xi) (+ y yi)) increment)))) (define (draw-pin-list pins position position-increment) (draw-with-increment (lambda (pin position) (unless (string= "spacer" (pin-style pin)) (draw-pin pin (car position) (cdr position)))) pins position position-increment)) (define formatted-net-attribs (match (list->duplicate-list* (filter (lambda (pin) (string= (pin-style pin) "none")) pins) (lambda (p1 p2) (or (string< (pin-net p1) (pin-net p2)) (and (string= (pin-net p1) (pin-net p2)) (string< (pin-number p1) (pin-number p2))))) (lambda (p1 p2) (string= (pin-net p1) (pin-net p2)))) (((($ pin number seq type style pos net label) ...) ...) (map string-append (map car net) (map (lambda (ls) (string-append ":" (string-join ls ","))) number))))) (define (filter-special-attribs attrib-alist) (filter (lambda (x) (not (member (car x) special-attributes))) attrib-alist)) (define (make-attrib-list attrib-list net-attrib-list) (append (append-map (lambda (name-value) (if (list? name-value) ;; If it is a list, then there are several values. (map (lambda (value) ;; Make a pair (name . value) for each value. (cons (car name-value) value)) (cdr name-value)) ;; Just a pair, wrap it in a list to fed to append-map. (list name-value))) (filter-special-attribs attrib-list)) (map (lambda (x) (cons "net" x)) net-attrib-list))) (define (draw-attrib attrib position) (let ((name (car attrib)) (value (cdr attrib)) (x (car position)) (y (cdr position)) (size 10) (angle 0) (visibility #f) (alignment 'lower-left) (color 5)) (page-append! page (make-text `(,x . ,y) alignment angle (format #f "~A=~A" name value) size visibility 'both color)))) (define (draw-attrib-list attribs position increment) (draw-with-increment draw-attrib attribs position increment)) (unless (zero? (+ pin-count/top pin-count/bottom)) (format (current-error-port) "Note: use sym_width to adjust symbol width if texts overlap.\n")) ;; Left pins. (draw-pin-list pins/left (cons pin-left-x pin-left-y) `(0 . ,(- %vertical-pin-distance))) ;; Right pins. (draw-pin-list pins/right (cons pin-right-x pin-right-y) `(0 . ,(- %vertical-pin-distance))) ;; Top pins. (draw-pin-list pins/top (cons pin-top-x pin-top-y) `(,%horizontal-pin-distance . 0)) ;; Bottom pins. (draw-pin-list pins/bottom (cons pin-bottom-x pin-bottom-y) `(,%horizontal-pin-distance . 0)) (page-append! page (make-box `(,origin-x . ,origin-y) `(,(+ origin-x symbol-width) . ,(+ origin-y symbol-height)))) (draw-refdes-attrib) (draw-name) (draw-attrib-list (make-attrib-list attributes formatted-net-attribs) (cons textx texty) '(0 . 200)) (display (page->string page))) (define (generate-pinseq pins) (define (generate-pinseq? pin) (and (not (string= (pin-style pin) "none")) (not (string= (pin-style pin) "spacer")))) (define (non-empty-pinseq? pin) (let ((pinseq (pin-seq pin))) (and (not (string-null? pinseq)) pinseq))) (let* ((plain-pins (filter generate-pinseq? pins)) (available-pinseq-list (filter-map non-empty-pinseq? plain-pins))) (let loop ((pins-to-process plain-pins) (pinseq-counter 1)) (and (not (null? pins-to-process)) (let ((pin (car pins-to-process))) (if (non-empty-pinseq? pin) ;; Pin already has pinseq=, so don't increment ;; our counter. Continue with the rest of the ;; list. (loop (cdr pins-to-process) pinseq-counter) ;; Pin has no pinseq. First check, if our ;; counter is valid, looking through the list of ;; already set pinseqs. (if (member (number->string pinseq-counter) available-pinseq-list) ;; Loop with the same pin list, just increment ;; the counter. (loop pins-to-process (1+ pinseq-counter)) ;; Set new pinseq=, and continue. (begin (set-pin-seq! (car pins-to-process) (number->string pinseq-counter)) (loop (cdr pins-to-process) (1+ pinseq-counter))))))))) ;; Return value. pins) (define (remove-pinseq pins) (define (delete-pinseq pin) (when (string-null? (pin-seq pin)) (set-pin-seq! pin #f))) (for-each delete-pinseq pins)) (define (attribute-string->pair s) (define (drop-warning) (format-warning "Empty attribute ~S in the geda_attr section. The incomplete attribute will be dropped." s)) (string->pair (string-trim-both s char-set:whitespace) drop-warning)) ;;; Tests ;; (attribute-string->pair " = ") => #f ;; (attribute-string->pair " a = b ") => ("a" . "b") ;; (attribute-string->pair "= a") => #f ;; (attribute-string->pair "=b") => #f ;; (attribute-string->pair "a = ") => #f ;; (attribute-string->pair "a") => #f ;; (attribute-string->pair "a= ") => #f ;; (attribute-string->pair "a=") => #f ;; (attribute-string->pair "a=b") => ("a" . "b") (define (pin-string->pin s) (define (drop-warning) (format-warning "Invalid pin specification in the pin section ~S. It has less than 3 fields. The pin will be dropped." s)) (define pintype-aliases '(("i/o" . "io") ("i" . "in") ("o" . "out") ("p" . "pas"))) (define (translate-pintype pin) (let ((pintype (assoc-ref pintype-aliases (pin-type pin)))) (when pintype (set-pin-type! pin pintype)) pin)) (define (lowercase-fields pin) (set-pin-type! pin (string-downcase (pin-type pin))) (set-pin-style! pin (string-downcase (pin-style pin))) (set-pin-pos! pin (string-downcase (pin-pos pin))) pin) (let* ((pin-list (string-split s #\tab)) (l (length pin-list))) (if (not (<= 2 l)) (drop-warning) (translate-pintype (lowercase-fields (apply make-pin (append pin-list (list-tabulate (- 7 l) (lambda (n) ""))))))))) (define (list->duplicate-list* ls f-less? f-equal?) "Sorts list LS using function F-LESS? for comparison and transforms it into a list of lists containing duplicated members which values are equal in terms of F-EQUAL?." (fold-right (lambda (elem ret) (match ret (((x . xrest) . rest) (if (f-equal? elem x) `((,elem . (,x . ,xrest)) . ,rest) `((,elem) . ,ret))) (_ `((,elem) . ,ret)))) '() (sort ls f-less?))) (define (attribute-list->alist attrib-ls) (define (fix-pair p) (match p ((name value) `(,name . ,value)) (ls ls))) (define (pair-list->pair ls) (match ls (((name . value) ... ) `(,(car name) . ,value)) ;; Improper pair list. Don't check, simply return '(). (_ '()))) (define (attrib-name< s1 s2) (string< (car s1) (car s2))) (define (attrib-name= s1 s2) (string= (car s1) (car s2))) (map fix-pair (map pair-list->pair (list->duplicate-list* attrib-ls attrib-name< attrib-name=)))) (define (eval-options file-option-alist) "Updates %COMPONENT-OPTIONS with values read from input file." (for-each option-string->pair file-option-alist) %component-options) ;;; Handle command line options. (define file-args (option-ref %options '() '())) (when (option-ref %options 'help #f) (usage) (primitive-exit 0)) (when (option-ref %options 'version #f) (print-version) (primitive-exit 0)) (unless (= (length file-args) 2) (usage) (primitive-exit 1)) ;;; Get file names. (let ((input-file (car file-args)) (output-file (cadr file-args))) (unless (file-exists? input-file) (format-error "Input file ~S not found." input-file)) ;; FIXME: check that non-multi-attribs have only one value and vice versa (let* ((input-file-alist (file-contents->alist input-file)) (options (eval-options (assq-ref input-file-alist 'options))) (attributes (attribute-list->alist (filter-map attribute-string->pair (assq-ref input-file-alist 'geda_attr)))) (pins (filter-map pin-string->pin (assq-ref input-file-alist 'pins)))) (if (component-option 'generate_pinseq) (generate-pinseq pins) (remove-pinseq pins)) (for-each check-pin-info pins) (for-each (lambda (name) (unless (assoc-ref name attributes) (warn-missing-attribute name))) single-attribute-warning) (with-output-to-file output-file (lambda () (%with-toplevel (%make-toplevel) (lambda () (writesym options attributes pins))))))) lepton-eda-1.9.16/utils/tragesym/docs/0000755000175000017500000000000014101262653014564 500000000000000lepton-eda-1.9.16/utils/tragesym/docs/Makefile.am0000644000175000017500000000165514101257250016544 00000000000000dist_man_MANS = \ lepton-tragesym.1 EXTRA_DIST = \ lepton-tragesym.1.in \ README.lepton-tragesym docsreadmedir = $(docdir)/readmes docsreadme_DATA = \ README.lepton-tragesym .1.in.1: d=`$(GUILE) -c '(setlocale LC_ALL "C") \ (display (strftime "%B %-d, %Y" \ (car (strptime "%Y%m%d" (cadr (program-arguments))))))' $(DATE_VERSION)` ; \ v="$(DOTTED_VERSION).$(DATE_VERSION)" ; \ y=`echo $(DATE_VERSION)| sed -e"s/\(....\).*/\1/"`; \ sed -e"s:[@]DATE@:$$d:" -e"s:[@]VERSION@:$$v:" -e"s:[@]YEAR@:$$y:" < $< > $@ # Rules for converting man->html html_man_files = $(dist_man_MANS:%.1=%.html) SUFFIXES = .1.in .1 .html docsmandir=$(docdir)/man dist_docsman_DATA=$(html_man_files) if ENABLE_GROFF_HTML .1.html: rm -rf $@.tmp && \ LC_NUMERIC=C $(GROFF) -man -T html $< >$@.tmp && \ mv -f $@.tmp $@ else .1.html: @echo "No working groff available: cannot create $@" @! : endif CLEANFILES = $(dist_man_MANS) $(html_man_files) lepton-eda-1.9.16/utils/tragesym/docs/README.lepton-tragesym0000644000175000017500000000212014101257250020505 00000000000000lepton-tragesym is a Scheme script that creates lepton-schematic symbols out of structured text files. lepton-tragesym can: - Create pins and their elements and attributes. - Sort pins alphabetically by attributes. - Rotate top and bottom pinlabel= attributes if requested. - Swap words of the pinlabel= attributes (only for attributes of right pins and top pins, in the latter case only when rotation is requested, too). - Do some syntax check to the input file. For creating a symbol you have to create a sourcefile first. You can use the template.src file, which is in /examples/tragesym/ directory. Some examples are in the examples/tragesym directory too. For possible footprint names take a look into the ~geda directory of the PCB program. Usage: lepton-tragesym After you have translated the sourcefile to the symbolfile you can rearrange some pins with lepton-schematic, translate the symbol to the origin and save it in an appropriate symbol directory. Make the attributes visible while doing that (Edit -> Show hidden text) to see how they are rendered. lepton-eda-1.9.16/utils/tragesym/docs/Makefile.in0000644000175000017500000005456314101262633016564 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = utils/tragesym/docs ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/guile.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lepton-assert.m4 \ $(top_srcdir)/m4/lepton-attrib.m4 \ $(top_srcdir)/m4/lepton-awk.m4 \ $(top_srcdir)/m4/lepton-cairo.m4 \ $(top_srcdir)/m4/lepton-contrib.m4 \ $(top_srcdir)/m4/lepton-data-dirs.m4 \ $(top_srcdir)/m4/lepton-desktop-i18n.m4 \ $(top_srcdir)/m4/lepton-desktop.m4 \ $(top_srcdir)/m4/lepton-doxygen.m4 \ $(top_srcdir)/m4/lepton-gcc-flags.m4 \ $(top_srcdir)/m4/lepton-git-version.m4 \ $(top_srcdir)/m4/lepton-git.m4 \ $(top_srcdir)/m4/lepton-groff.m4 \ $(top_srcdir)/m4/lepton-guile.m4 \ $(top_srcdir)/m4/lepton-host.m4 \ $(top_srcdir)/m4/lepton-stroke.m4 \ $(top_srcdir)/m4/lepton-uri-viewer.m4 \ $(top_srcdir)/m4/lepton-windows.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/liblepton.m4 \ $(top_srcdir)/m4/libleptonattrib.m4 \ $(top_srcdir)/m4/libleptongui.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pcb-data-dirs.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(dist_docsman_DATA) \ $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } man1dir = $(mandir)/man1 am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docsmandir)" \ "$(DESTDIR)$(docsreadmedir)" NROFF = nroff MANS = $(dist_man_MANS) DATA = $(dist_docsman_DATA) $(docsreadme_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(dist_man_MANS) $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITMAP_DIRECTORY = @BITMAP_DIRECTORY@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@ CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@ CAIRO_PNG_CFLAGS = @CAIRO_PNG_CFLAGS@ CAIRO_PNG_LIBS = @CAIRO_PNG_LIBS@ CAIRO_PS_CFLAGS = @CAIRO_PS_CFLAGS@ CAIRO_PS_LIBS = @CAIRO_PS_LIBS@ CAIRO_SVG_CFLAGS = @CAIRO_SVG_CFLAGS@ CAIRO_SVG_LIBS = @CAIRO_SVG_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE_VERSION = @DATE_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DESKTOP_I18N = @DESKTOP_I18N@ DESKTOP_I18N_CREATE = @DESKTOP_I18N_CREATE@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@ DESKTOP_I18N_SCRIPT = @DESKTOP_I18N_SCRIPT@ DLLTOOL = @DLLTOOL@ DOT = @DOT@ DOTTED_VERSION = @DOTTED_VERSION@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GDK_CFLAGS = @GDK_CFLAGS@ GDK_LIBS = @GDK_LIBS@ GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@ GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@ GETTEXT = @GETTEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GIT = @GIT@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GROFF = @GROFF@ GTKEXTRA_CFLAGS = @GTKEXTRA_CFLAGS@ GTKEXTRA_LIBS = @GTKEXTRA_LIBS@ GTKSHEET_CFLAGS = @GTKSHEET_CFLAGS@ GTKSHEET_LIBS = @GTKSHEET_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GUILD = @GUILD@ GUILE = @GUILE@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@ GUILE_LDFLAGS = @GUILE_LDFLAGS@ GUILE_LIBS = @GUILE_LIBS@ GUILE_LTLIBS = @GUILE_LTLIBS@ GUILE_PKG_NAME = @GUILE_PKG_NAME@ GUILE_SNARF = @GUILE_SNARF@ GUILE_TOOLS = @GUILE_TOOLS@ HAVE_GIT_REPO = @HAVE_GIT_REPO@ ICON_THEME_INSTALLER = @ICON_THEME_INSTALLER@ INKSCAPE = @INKSCAPE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEPTONDATADIR = @LEPTONDATADIR@ LEPTON_SCHEME_MODULE_DIRECTORY = @LEPTON_SCHEME_MODULE_DIRECTORY@ LEPTON_SCM_PRECOMPILE_DIR = @LEPTON_SCM_PRECOMPILE_DIR@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBLEPTONATTRIB_MAJOR = @LIBLEPTONATTRIB_MAJOR@ LIBLEPTONATTRIB_SHLIB_VERSION = @LIBLEPTONATTRIB_SHLIB_VERSION@ LIBLEPTONGUI_MAJOR = @LIBLEPTONGUI_MAJOR@ LIBLEPTONGUI_SHLIB_VERSION = @LIBLEPTONGUI_SHLIB_VERSION@ LIBLEPTON_GETTEXT_DOMAIN = @LIBLEPTON_GETTEXT_DOMAIN@ LIBLEPTON_MAJOR = @LIBLEPTON_MAJOR@ LIBLEPTON_SHLIB_VERSION = @LIBLEPTON_SHLIB_VERSION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSTROKE_CPPFLAGS = @LIBSTROKE_CPPFLAGS@ LIBSTROKE_LDFLAGS = @LIBSTROKE_LDFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ M4 = @M4@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MINGW_CFLAGS = @MINGW_CFLAGS@ MINGW_GUI_LDFLAGS = @MINGW_GUI_LDFLAGS@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCBDATADIR = @PCBDATADIR@ PCBLIBPATH = @PCBLIBPATH@ PCBM4DIR = @PCBM4DIR@ PDFLATEX = @PDFLATEX@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ URI_VIEWER = @URI_VIEWER@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDOWS_LIBTOOL_FLAGS = @WINDOWS_LIBTOOL_FLAGS@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ dist_man_MANS = \ lepton-tragesym.1 EXTRA_DIST = \ lepton-tragesym.1.in \ README.lepton-tragesym docsreadmedir = $(docdir)/readmes docsreadme_DATA = \ README.lepton-tragesym # Rules for converting man->html html_man_files = $(dist_man_MANS:%.1=%.html) SUFFIXES = .1.in .1 .html docsmandir = $(docdir)/man dist_docsman_DATA = $(html_man_files) CLEANFILES = $(dist_man_MANS) $(html_man_files) all: all-am .SUFFIXES: .SUFFIXES: .1.in .1 .html $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/tragesym/docs/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign utils/tragesym/docs/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-man1: $(dist_man_MANS) @$(NORMAL_INSTALL) @list1=''; \ list2='$(dist_man_MANS)'; \ test -n "$(man1dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.1[a-z]*$$/p'; \ fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ done | \ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ sed 'N;N;s,\n, ,g' | { \ list=; while read file base inst; do \ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ fi; \ done; \ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ while read files; do \ test -z "$$files" || { \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ done; } uninstall-man1: @$(NORMAL_UNINSTALL) @list=''; test -n "$(man1dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \ sed -n '/\.1[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) install-dist_docsmanDATA: $(dist_docsman_DATA) @$(NORMAL_INSTALL) @list='$(dist_docsman_DATA)'; test -n "$(docsmandir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(docsmandir)'"; \ $(MKDIR_P) "$(DESTDIR)$(docsmandir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docsmandir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(docsmandir)" || exit $$?; \ done uninstall-dist_docsmanDATA: @$(NORMAL_UNINSTALL) @list='$(dist_docsman_DATA)'; test -n "$(docsmandir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(docsmandir)'; $(am__uninstall_files_from_dir) install-docsreadmeDATA: $(docsreadme_DATA) @$(NORMAL_INSTALL) @list='$(docsreadme_DATA)'; test -n "$(docsreadmedir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(docsreadmedir)'"; \ $(MKDIR_P) "$(DESTDIR)$(docsreadmedir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docsreadmedir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(docsreadmedir)" || exit $$?; \ done uninstall-docsreadmeDATA: @$(NORMAL_UNINSTALL) @list='$(docsreadme_DATA)'; test -n "$(docsreadmedir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(docsreadmedir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(MANS) $(DATA) installdirs: for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docsmandir)" "$(DESTDIR)$(docsreadmedir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dist_docsmanDATA install-docsreadmeDATA \ install-man install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-man1 install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-dist_docsmanDATA uninstall-docsreadmeDATA \ uninstall-man uninstall-man: uninstall-man1 .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am \ install-dist_docsmanDATA install-docsreadmeDATA install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-man1 install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ps ps-am tags-am uninstall uninstall-am \ uninstall-dist_docsmanDATA uninstall-docsreadmeDATA \ uninstall-man uninstall-man1 .PRECIOUS: Makefile .1.in.1: d=`$(GUILE) -c '(setlocale LC_ALL "C") \ (display (strftime "%B %-d, %Y" \ (car (strptime "%Y%m%d" (cadr (program-arguments))))))' $(DATE_VERSION)` ; \ v="$(DOTTED_VERSION).$(DATE_VERSION)" ; \ y=`echo $(DATE_VERSION)| sed -e"s/\(....\).*/\1/"`; \ sed -e"s:[@]DATE@:$$d:" -e"s:[@]VERSION@:$$v:" -e"s:[@]YEAR@:$$y:" < $< > $@ @ENABLE_GROFF_HTML_TRUE@.1.html: @ENABLE_GROFF_HTML_TRUE@ rm -rf $@.tmp && \ @ENABLE_GROFF_HTML_TRUE@ LC_NUMERIC=C $(GROFF) -man -T html $< >$@.tmp && \ @ENABLE_GROFF_HTML_TRUE@ mv -f $@.tmp $@ @ENABLE_GROFF_HTML_FALSE@.1.html: @ENABLE_GROFF_HTML_FALSE@ @echo "No working groff available: cannot create $@" @ENABLE_GROFF_HTML_FALSE@ @! : # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/tragesym/docs/lepton-tragesym.1.in0000644000175000017500000001412314101257250020323 00000000000000.TH lepton-tragesym 1 "@DATE@" "Lepton EDA" @VERSION@ .SH NAME lepton-tragesym \- create Lepton EDA symbols from structured text files .SH SYNOPSIS .B lepton-tragesym .I SOURCE-FILE SYMBOL-FILE .SH DESCRIPTION .B lepton-tragesym creates lepton-schematic symbols from structured text files. .PP .B lepton-tragesym can: .IP \(bu create pins, their elements (clocksign, negation bubble), and attributes (\*[lq]pinnumber\*[rq], \*[lq]pinseq\*[rq], \*[lq]pintype\*[rq], and \*[lq]pinlabel\*[rq]); .IP \(bu sort the pins alphabetically by their attributes; .IP \(bu rotate pinlabel attributes of the top and bottom pins if requested; .IP \(bu swap words in the pinlabel attributes if requested (only for attributes of the right and top pins, in the latter case only if rotation is also requested); .IP \(bu do some syntax checking to the input file. .SH SOURCE FILE FORMAT .SS General Source file is a text file consisting of three sections: .br .rs \(bu .B [geda_attr] .br .rs \(bu .B [options] .br .rs \(bu .B [pins] .RE Section name should be enclosed in square brackets. Empty lines, lines consisting of whitespaces only, as well as lines beginning with the character '#' (comments) are silently ignored. .SS [options] The section contains export settings. The following settings are supported: 'IP \(bu .B wordswap .RI ( boolean ) .br Swap labels if the pin is on the right side and contains space between words, that is, looks like this: \*[lq]PB1 (CLK)\*[rq]. That may be useful for micro controller port labels. 'IP \(bu .B rotate_labels .RI ( boolean ) .br Rotate the \*[lq]pinlabel\*[rq] attribute of the top and bottom pins by 90 degrees. This may be useful for large symbols like FPGAs with more than 100 pins. 'IP \(bu .B sort_labels .RI ( boolean ) .br Sort the pins by their \*[lq]pinlabel\*[rq] attributes, which is useful for address ports, busses, etc. 'IP \(bu .B generate_pinseq .RI ( boolean ) .br Automatically generate \*[lq]pinseq\*[rq] attributes for those pins whose corresponding field in the source file is empty. The generated attribute values are numbers incremented in the order the pin description lines appear in the .B [pins] section except for already existing numbers. 'IP \(bu .B sym_width .RI ( integer ) .br Minimum box width of the resulting symbol. 'IP \(bu .B pinwidthvertical .RI ( integer ) .br The vertical distance between pins on the left or right hand side of the symbol. 'IP \(bu .B pinwidthhorizontal .RI ( integer ) .br The horizontal distance between pins on the top or bottom of the symbol. The boolean values are specified in the source file by the words \*[lq]yes\*[rq] or \*[lq]on\*[rq] meaning TRUE and \*[lq]no\*[rq] or \*[lq]off\*[rq] meaning FALSE. .SS [geda_attr] The section contains the list of Lepton symbol attributes (\*[lq]name=value\*[rq] pairs) which you would want to see in the symbol file. The attribute names may be separated by the equal or tabulation character (\*[lq]=\*[rq] or \*[lq]\\t\*[rq]). The tab separator is supported for convenient export from spreadsheet programs. .SS [pins] The section contains the description of symbol pins to be made, one pin per line. The pin description consists of seven tab separated fields, any of which may contain empty value (no character between tabs). The fields define the following pin attributes and properties: .nr step 1 1 .IP \n[step]. 3 \*[lq]pinnumber\*[rq] attribute .br The \*[lq]pinnumber\*[rq] attribute represents the physical number of the component pin. .IP \n+[step]. \*[lq]pinseq\*[rq] attribute .br The \*[lq]pinseq\*[rq] attribute is used in Lepton to assign pin numbers for slotted components and by the SPICE backends to output pins in right order. Leave the field blank if it doesn't matter. .IP \n+[step]. \*[lq]pintype\*[rq] attribute .br The \*[lq]pintype\*[rq] attribute defines the pin function (input, output, power, etc.) and can be one of \*[lq]in\*[rq], \*[lq]out\*[rq], \*[lq]io\*[rq], \*[lq]oc\*[rq], \*[lq]oe\*[rq], \*[lq]pas\*[rq], \*[lq]tp\*[rq], \*[lq]tri\*[rq], \*[lq]clk\*[rq], or \*[lq]pwr\*[rq]. The attribute is used by the DRC backends to check component interconnection validity. .IP \n+[step]. pin style .br Pin style determines the appearance of the pin. It can be one of \*[lq]line\*[rq] (simple pin), \*[lq]dot\*[rq] (pin with negation bubble), \*[lq]clk\*[rq] (pin with clock symbol), \*[lq]dotclk\*[rq] (bubble and clock), \*[lq]spacer\*[rq] (not a pin, just additional empty space between two pins), or \*[lq]none\*[rq] (to add a virtual pin via the \*[lq]net\*[rq] attribute). .IP \n+[step]. pin position .br Pin position determines the side of the component the pin should be placed on. It can be \*[lq]l\*[rq] (left), \*[lq]r\*[rq] (right), \*[lq]t\*[rq] (top), \*[lq]b\*[rq] (bottom), or empty (\*[lq]\*[rq]) when the pin should be defined in the \*[lq]net\*[rq] attribute. .IP \n+[step]. pin net .br Specifies the net name of the pin to define via the \*[lq]net\*[rq] attribute, for example, \*[lq]Vcc\*[rq] or \*[lq]GND\*[rq]. .IP \n+[step]. \*[lq]pinlabel\*[rq] attribute .br The \*[lq]pinlabel\*[rq] attribute represents the visible pin label defining its name in the component, for example \*[lq]A\*[rq] (anode) or \*[lq]C\*[rq] (cathode) in a diode symbol. Negation lines can be added with \*[lq]\\_\*[rq], for example, \*[lq]\\_enable\\_\*[rq]. If you want to add the character \*[lq]\\\*[rq], use \*[lq]\\\\\*[rq] as escape sequence. This is supported by `lepton-schematic`. .SH TUTORIAL There is a tutorial on the use of .BR tragesym , the predecessor of .BR lepton-tragesym , at: .IP http://wiki.geda-project.org/geda:tragesym_tutorial .SH AUTHOR The initial Python script has been written by Werner Hoch . The program has been rewritten almost from scratch in Scheme by Vladimir Zhbanov . .SH SEE ALSO .BR lepton-schematic (1), .SH COPYRIGHT .nf Copyright \(co 2012-2017 gEDA Contributors. Copyright \(co 2019-@YEAR@ Lepton EDA Contributors. License GPLv2+: GNU GPL version 2 or later. Please see the `COPYING' file included with this program for full details. .PP This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. lepton-eda-1.9.16/utils/tragesym/docs/lepton-tragesym.html0000644000175000017500000003356414101262653020537 00000000000000 lepton-tragesym

lepton-tragesym

NAME
SYNOPSIS
DESCRIPTION
SOURCE FILE FORMAT
TUTORIAL
AUTHOR
SEE ALSO
COPYRIGHT

NAME

lepton-tragesym - create Lepton EDA symbols from structured text files

SYNOPSIS

lepton-tragesym SOURCE-FILE SYMBOL-FILE

DESCRIPTION

lepton-tragesym creates lepton-schematic symbols from structured text files.

lepton-tragesym can:

create pins, their elements (clocksign, negation bubble), and attributes (“pinnumber”, “pinseq”, “pintype”, and “pinlabel”);

sort the pins alphabetically by their attributes;

rotate pinlabel attributes of the top and bottom pins if requested;

swap words in the pinlabel attributes if requested (only for attributes of the right and top pins, in the latter case only if rotation is also requested);

do some syntax checking to the input file.

SOURCE FILE FORMAT

General
Source file is a text file consisting of three sections:
[geda_attr]
[options]
[pins]

Section name should be enclosed in square brackets.

Empty lines, lines consisting of whitespaces only, as well as lines beginning with the character ’#’ (comments) are silently ignored.

[options]
The section contains export settings. The following settings are supported:

wordswap (boolean)

Swap labels if the pin is on the right side and contains space between words, that is, looks like this: “PB1 (CLK)”. That may be useful for micro controller port labels.

rotate_labels (boolean)

Rotate the “pinlabel” attribute of the top and bottom pins by 90 degrees. This may be useful for large symbols like FPGAs with more than 100 pins.

sort_labels (boolean)

Sort the pins by their “pinlabel” attributes, which is useful for address ports, busses, etc.

generate_pinseq (boolean)

Automatically generate “pinseq” attributes for those pins whose corresponding field in the source file is empty. The generated attribute values are numbers incremented in the order the pin description lines appear in the [pins] section except for already existing numbers.

sym_width (integer)

Minimum box width of the resulting symbol.

pinwidthvertical (integer)

The vertical distance between pins on the left or right hand side of the symbol.

pinwidthhorizontal (integer)

The horizontal distance between pins on the top or bottom of the symbol.

The boolean values are specified in the source file by the words “yes” or “on” meaning TRUE and “no” or “off” meaning FALSE.

[geda_attr]
The section contains the list of Lepton symbol attributes (“name=value” pairs) which you would want to see in the symbol file. The attribute names may be separated by the equal or tabulation character (“=” or “\t”). The tab separator is supported for convenient export from spreadsheet programs.

[pins]
The section contains the description of symbol pins to be made, one pin per line. The pin description consists of seven tab separated fields, any of which may contain empty value (no character between tabs). The fields define the following pin attributes and properties:

1.

“pinnumber” attribute

The “pinnumber” attribute represents the physical number of the component pin.

2.

“pinseq” attribute

The “pinseq” attribute is used in Lepton to assign pin numbers for slotted components and by the SPICE backends to output pins in right order. Leave the field blank if it doesn’t matter.

3.

“pintype” attribute

The “pintype” attribute defines the pin function (input, output, power, etc.) and can be one of “in”, “out”, “io”, “oc”, “oe”, “pas”, “tp”, “tri”, “clk”, or “pwr”. The attribute is used by the DRC backends to check component interconnection validity.

4.

pin style

Pin style determines the appearance of the pin. It can be one of “line” (simple pin), “dot” (pin with negation bubble), “clk” (pin with clock symbol), “dotclk” (bubble and clock), “spacer” (not a pin, just additional empty space between two pins), or “none” (to add a virtual pin via the “net” attribute).

5.

pin position

Pin position determines the side of the component the pin should be placed on. It can be “l” (left), “r” (right), “t” (top), “b” (bottom), or empty (“”) when the pin should be defined in the “net” attribute.

6.

pin net

Specifies the net name of the pin to define via the “net” attribute, for example, “Vcc” or “GND”.

7.

“pinlabel” attribute

The “pinlabel” attribute represents the visible pin label defining its name in the component, for example “A” (anode) or “C” (cathode) in a diode symbol. Negation lines can be added with “\_”, for example, “\_enable\_”. If you want to add the character “\”, use “\\” as escape sequence. This is supported by ’lepton-schematic’.

TUTORIAL

There is a tutorial on the use of tragesym, the predecessor of lepton-tragesym, at:

http://wiki.geda-project.org/geda:tragesym_tutorial

AUTHOR

The initial Python script has been written by Werner Hoch <werner.ho@gmx.de>. The program has been rewritten almost from scratch in Scheme by Vladimir Zhbanov <vzhbanov@gmail.com>.

SEE ALSO

lepton-schematic(1),

COPYRIGHT

Copyright © 2012-2017 gEDA Contributors.
Copyright © 2019-2021 Lepton EDA Contributors.
License GPLv2+: GNU GPL version 2 or later. Please see the ’COPYING’
file included with this program for full details.

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


lepton-eda-1.9.16/utils/tragesym/docs/lepton-tragesym.10000644000175000017500000001413614101262653017725 00000000000000.TH lepton-tragesym 1 "July 31, 2021" "Lepton EDA" 1.9.16.20210731 .SH NAME lepton-tragesym \- create Lepton EDA symbols from structured text files .SH SYNOPSIS .B lepton-tragesym .I SOURCE-FILE SYMBOL-FILE .SH DESCRIPTION .B lepton-tragesym creates lepton-schematic symbols from structured text files. .PP .B lepton-tragesym can: .IP \(bu create pins, their elements (clocksign, negation bubble), and attributes (\*[lq]pinnumber\*[rq], \*[lq]pinseq\*[rq], \*[lq]pintype\*[rq], and \*[lq]pinlabel\*[rq]); .IP \(bu sort the pins alphabetically by their attributes; .IP \(bu rotate pinlabel attributes of the top and bottom pins if requested; .IP \(bu swap words in the pinlabel attributes if requested (only for attributes of the right and top pins, in the latter case only if rotation is also requested); .IP \(bu do some syntax checking to the input file. .SH SOURCE FILE FORMAT .SS General Source file is a text file consisting of three sections: .br .rs \(bu .B [geda_attr] .br .rs \(bu .B [options] .br .rs \(bu .B [pins] .RE Section name should be enclosed in square brackets. Empty lines, lines consisting of whitespaces only, as well as lines beginning with the character '#' (comments) are silently ignored. .SS [options] The section contains export settings. The following settings are supported: 'IP \(bu .B wordswap .RI ( boolean ) .br Swap labels if the pin is on the right side and contains space between words, that is, looks like this: \*[lq]PB1 (CLK)\*[rq]. That may be useful for micro controller port labels. 'IP \(bu .B rotate_labels .RI ( boolean ) .br Rotate the \*[lq]pinlabel\*[rq] attribute of the top and bottom pins by 90 degrees. This may be useful for large symbols like FPGAs with more than 100 pins. 'IP \(bu .B sort_labels .RI ( boolean ) .br Sort the pins by their \*[lq]pinlabel\*[rq] attributes, which is useful for address ports, busses, etc. 'IP \(bu .B generate_pinseq .RI ( boolean ) .br Automatically generate \*[lq]pinseq\*[rq] attributes for those pins whose corresponding field in the source file is empty. The generated attribute values are numbers incremented in the order the pin description lines appear in the .B [pins] section except for already existing numbers. 'IP \(bu .B sym_width .RI ( integer ) .br Minimum box width of the resulting symbol. 'IP \(bu .B pinwidthvertical .RI ( integer ) .br The vertical distance between pins on the left or right hand side of the symbol. 'IP \(bu .B pinwidthhorizontal .RI ( integer ) .br The horizontal distance between pins on the top or bottom of the symbol. The boolean values are specified in the source file by the words \*[lq]yes\*[rq] or \*[lq]on\*[rq] meaning TRUE and \*[lq]no\*[rq] or \*[lq]off\*[rq] meaning FALSE. .SS [geda_attr] The section contains the list of Lepton symbol attributes (\*[lq]name=value\*[rq] pairs) which you would want to see in the symbol file. The attribute names may be separated by the equal or tabulation character (\*[lq]=\*[rq] or \*[lq]\\t\*[rq]). The tab separator is supported for convenient export from spreadsheet programs. .SS [pins] The section contains the description of symbol pins to be made, one pin per line. The pin description consists of seven tab separated fields, any of which may contain empty value (no character between tabs). The fields define the following pin attributes and properties: .nr step 1 1 .IP \n[step]. 3 \*[lq]pinnumber\*[rq] attribute .br The \*[lq]pinnumber\*[rq] attribute represents the physical number of the component pin. .IP \n+[step]. \*[lq]pinseq\*[rq] attribute .br The \*[lq]pinseq\*[rq] attribute is used in Lepton to assign pin numbers for slotted components and by the SPICE backends to output pins in right order. Leave the field blank if it doesn't matter. .IP \n+[step]. \*[lq]pintype\*[rq] attribute .br The \*[lq]pintype\*[rq] attribute defines the pin function (input, output, power, etc.) and can be one of \*[lq]in\*[rq], \*[lq]out\*[rq], \*[lq]io\*[rq], \*[lq]oc\*[rq], \*[lq]oe\*[rq], \*[lq]pas\*[rq], \*[lq]tp\*[rq], \*[lq]tri\*[rq], \*[lq]clk\*[rq], or \*[lq]pwr\*[rq]. The attribute is used by the DRC backends to check component interconnection validity. .IP \n+[step]. pin style .br Pin style determines the appearance of the pin. It can be one of \*[lq]line\*[rq] (simple pin), \*[lq]dot\*[rq] (pin with negation bubble), \*[lq]clk\*[rq] (pin with clock symbol), \*[lq]dotclk\*[rq] (bubble and clock), \*[lq]spacer\*[rq] (not a pin, just additional empty space between two pins), or \*[lq]none\*[rq] (to add a virtual pin via the \*[lq]net\*[rq] attribute). .IP \n+[step]. pin position .br Pin position determines the side of the component the pin should be placed on. It can be \*[lq]l\*[rq] (left), \*[lq]r\*[rq] (right), \*[lq]t\*[rq] (top), \*[lq]b\*[rq] (bottom), or empty (\*[lq]\*[rq]) when the pin should be defined in the \*[lq]net\*[rq] attribute. .IP \n+[step]. pin net .br Specifies the net name of the pin to define via the \*[lq]net\*[rq] attribute, for example, \*[lq]Vcc\*[rq] or \*[lq]GND\*[rq]. .IP \n+[step]. \*[lq]pinlabel\*[rq] attribute .br The \*[lq]pinlabel\*[rq] attribute represents the visible pin label defining its name in the component, for example \*[lq]A\*[rq] (anode) or \*[lq]C\*[rq] (cathode) in a diode symbol. Negation lines can be added with \*[lq]\\_\*[rq], for example, \*[lq]\\_enable\\_\*[rq]. If you want to add the character \*[lq]\\\*[rq], use \*[lq]\\\\\*[rq] as escape sequence. This is supported by `lepton-schematic`. .SH TUTORIAL There is a tutorial on the use of .BR tragesym , the predecessor of .BR lepton-tragesym , at: .IP http://wiki.geda-project.org/geda:tragesym_tutorial .SH AUTHOR The initial Python script has been written by Werner Hoch . The program has been rewritten almost from scratch in Scheme by Vladimir Zhbanov . .SH SEE ALSO .BR lepton-schematic (1), .SH COPYRIGHT .nf Copyright \(co 2012-2017 gEDA Contributors. Copyright \(co 2019-2021 Lepton EDA Contributors. License GPLv2+: GNU GPL version 2 or later. Please see the `COPYING' file included with this program for full details. .PP This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. lepton-eda-1.9.16/utils/tragesym/Makefile.in0000644000175000017500000006332314101262633015626 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = utils/tragesym ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/guile.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lepton-assert.m4 \ $(top_srcdir)/m4/lepton-attrib.m4 \ $(top_srcdir)/m4/lepton-awk.m4 \ $(top_srcdir)/m4/lepton-cairo.m4 \ $(top_srcdir)/m4/lepton-contrib.m4 \ $(top_srcdir)/m4/lepton-data-dirs.m4 \ $(top_srcdir)/m4/lepton-desktop-i18n.m4 \ $(top_srcdir)/m4/lepton-desktop.m4 \ $(top_srcdir)/m4/lepton-doxygen.m4 \ $(top_srcdir)/m4/lepton-gcc-flags.m4 \ $(top_srcdir)/m4/lepton-git-version.m4 \ $(top_srcdir)/m4/lepton-git.m4 \ $(top_srcdir)/m4/lepton-groff.m4 \ $(top_srcdir)/m4/lepton-guile.m4 \ $(top_srcdir)/m4/lepton-host.m4 \ $(top_srcdir)/m4/lepton-stroke.m4 \ $(top_srcdir)/m4/lepton-uri-viewer.m4 \ $(top_srcdir)/m4/lepton-windows.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/liblepton.m4 \ $(top_srcdir)/m4/libleptonattrib.m4 \ $(top_srcdir)/m4/libleptongui.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pcb-data-dirs.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(bindir)" SCRIPTS = $(bin_SCRIPTS) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir distdir-am am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITMAP_DIRECTORY = @BITMAP_DIRECTORY@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@ CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@ CAIRO_PNG_CFLAGS = @CAIRO_PNG_CFLAGS@ CAIRO_PNG_LIBS = @CAIRO_PNG_LIBS@ CAIRO_PS_CFLAGS = @CAIRO_PS_CFLAGS@ CAIRO_PS_LIBS = @CAIRO_PS_LIBS@ CAIRO_SVG_CFLAGS = @CAIRO_SVG_CFLAGS@ CAIRO_SVG_LIBS = @CAIRO_SVG_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE_VERSION = @DATE_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DESKTOP_I18N = @DESKTOP_I18N@ DESKTOP_I18N_CREATE = @DESKTOP_I18N_CREATE@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@ DESKTOP_I18N_SCRIPT = @DESKTOP_I18N_SCRIPT@ DLLTOOL = @DLLTOOL@ DOT = @DOT@ DOTTED_VERSION = @DOTTED_VERSION@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GDK_CFLAGS = @GDK_CFLAGS@ GDK_LIBS = @GDK_LIBS@ GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@ GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@ GETTEXT = @GETTEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GIT = @GIT@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GROFF = @GROFF@ GTKEXTRA_CFLAGS = @GTKEXTRA_CFLAGS@ GTKEXTRA_LIBS = @GTKEXTRA_LIBS@ GTKSHEET_CFLAGS = @GTKSHEET_CFLAGS@ GTKSHEET_LIBS = @GTKSHEET_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GUILD = @GUILD@ GUILE = @GUILE@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@ GUILE_LDFLAGS = @GUILE_LDFLAGS@ GUILE_LIBS = @GUILE_LIBS@ GUILE_LTLIBS = @GUILE_LTLIBS@ GUILE_PKG_NAME = @GUILE_PKG_NAME@ GUILE_SNARF = @GUILE_SNARF@ GUILE_TOOLS = @GUILE_TOOLS@ HAVE_GIT_REPO = @HAVE_GIT_REPO@ ICON_THEME_INSTALLER = @ICON_THEME_INSTALLER@ INKSCAPE = @INKSCAPE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEPTONDATADIR = @LEPTONDATADIR@ LEPTON_SCHEME_MODULE_DIRECTORY = @LEPTON_SCHEME_MODULE_DIRECTORY@ LEPTON_SCM_PRECOMPILE_DIR = @LEPTON_SCM_PRECOMPILE_DIR@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBLEPTONATTRIB_MAJOR = @LIBLEPTONATTRIB_MAJOR@ LIBLEPTONATTRIB_SHLIB_VERSION = @LIBLEPTONATTRIB_SHLIB_VERSION@ LIBLEPTONGUI_MAJOR = @LIBLEPTONGUI_MAJOR@ LIBLEPTONGUI_SHLIB_VERSION = @LIBLEPTONGUI_SHLIB_VERSION@ LIBLEPTON_GETTEXT_DOMAIN = @LIBLEPTON_GETTEXT_DOMAIN@ LIBLEPTON_MAJOR = @LIBLEPTON_MAJOR@ LIBLEPTON_SHLIB_VERSION = @LIBLEPTON_SHLIB_VERSION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSTROKE_CPPFLAGS = @LIBSTROKE_CPPFLAGS@ LIBSTROKE_LDFLAGS = @LIBSTROKE_LDFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ M4 = @M4@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MINGW_CFLAGS = @MINGW_CFLAGS@ MINGW_GUI_LDFLAGS = @MINGW_GUI_LDFLAGS@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCBDATADIR = @PCBDATADIR@ PCBLIBPATH = @PCBLIBPATH@ PCBM4DIR = @PCBM4DIR@ PDFLATEX = @PDFLATEX@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ URI_VIEWER = @URI_VIEWER@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDOWS_LIBTOOL_FLAGS = @WINDOWS_LIBTOOL_FLAGS@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = examples docs bin_SCRIPTS = \ lepton-tragesym EXTRA_DIST = \ lepton-tragesym.scm do_subst = sed -e 's,[@]libdir[@],$(libdir),g' \ -e 's,[@]GUILE[@],$(GUILE),g' \ -e 's,[@]LEPTON_SCHEME_MODULE_DIRECTORY[@],$(LEPTON_SCHEME_MODULE_DIRECTORY),g' \ -e 's,[@]localedir[@],$(localedir),g' \ -e 's,[@]ccachedir[@],@LEPTON_SCM_PRECOMPILE_DIR@,g' CLEANFILES = \ lepton-tragesym all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/tragesym/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign utils/tragesym/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-binSCRIPTS: $(bin_SCRIPTS) @$(NORMAL_INSTALL) @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n' \ -e 'h;s|.*|.|' \ -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) { files[d] = files[d] " " $$1; \ if (++n[d] == $(am__install_max)) { \ print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ else { print "f", d "/" $$4, $$1 } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 's,.*/,,;$(transform)'`; \ dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir) mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(SCRIPTS) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(bindir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-binSCRIPTS install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-binSCRIPTS .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ check-am clean clean-generic clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-binSCRIPTS install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ uninstall-am uninstall-binSCRIPTS .PRECIOUS: Makefile lepton-tragesym: lepton-tragesym.scm $(do_subst) < $(srcdir)/$@.scm > $@ chmod +x $@ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/tragesym/examples/0000755000175000017500000000000014101262653015452 500000000000000lepton-eda-1.9.16/utils/tragesym/examples/Makefile.am0000644000175000017500000000016114101257250017421 00000000000000EXTRA_DIST = 4099.src AT90S8535_TQFP.src alltest template.src template.ods \ test1.src test2.src test3.src lepton-eda-1.9.16/utils/tragesym/examples/AT90S8535_TQFP.src0000644000175000017500000000340514101257250020061 00000000000000# tragesym AT90S8535_TQFP.src: test with real symbols # this is a source file for tragesym # please take a look at the docs and the template.src file for more informations [options] wordswap=yes rotate_labels=no sort_labels=yes generate_pinseq=yes sym_width=2600 pinwidthvertical=400 pinwidthhorizontal=500 [geda_attr] name=AT90S8535 device=AT90S8535_TQFP refdes=U? footprint=TQFP44 description=8-bit RISC micro controller (Atmel) documentation=http://url_to_the_datasheet.com/datasheet.pdf author=Werner Hoch numslots=0 #slot=1 #slotdef=1: #slotdef=2: #slotdef=3: #slotdef=4: #comment= #comment= #comment= [pins] #----------------------------------------------------- #pinnr seq type style posit. net label #----------------------------------------------------- 1 io line l PB5 (MOSI) 2 io line l PB6 (MISO) 3 io line l PB7 (SCK) 4 in dot b \_Reset\_ 5 pwr none Vcc 6 pwr none GND 7 out line b XTAL2 8 in line b XTAL1 9 io line l PD0 (RXD) 10 io line l PD1 (TXD) 11 io line l PD2 (INT0) 12 io line l PD3 (INT1) 13 io line l PD4 (OC1B) 14 io line l PD5 (OC1A) 15 io line l PD6 (ICP) 16 io line l PD7 (OC2) 17 pwr none Vcc 18 pwr none GND 19 io line r PC0 20 io line r PC1 21 io line r PC2 22 io line r PC3 23 io line r PC4 24 io line r PC5 25 io line r PC6 (TOSC1) 26 io line r PC7 (TOSC2) 27 pwr none AVcc 28 pwr none AGND 29 in line b AREF 30 io line r PA7 (ADC7) 31 io line r PA6 (ADC6) 32 io line r PA5 (ADC5) 33 io line r PA4 (ADC4) 34 io line r PA3 (ADC3) 35 io line r PA2 (ADC2) 36 io line r PA1 (ADC1) 37 io line r PA0 (ADC0) 38 pwr none Vcc 39 pwr none GND 40 io line l PB0 (T0) 41 io line l PB1 (T1) 42 io line l PB2 (AIN0) 43 io line l PB3 (AIN1) 44 io line l PB4 (\_SS\_) lepton-eda-1.9.16/utils/tragesym/examples/alltest0000755000175000017500000000060714101257250016770 00000000000000#!/bin/sh # run tragesym over all test and example files exe=../../scripts/lepton-tragesym echo testing 4099.src $exe 4099.src 4099.sym echo echo testing test1.src $exe test1.src test1.sym echo echo testing test2.src $exe test2.src test2.sym echo echo testing test3.src $exe test3.src test3.sym echo echo testing AT90S8535_TQFP.src $exe AT90S8535_TQFP.src AT90S8535_TQFP.sym echo lepton-eda-1.9.16/utils/tragesym/examples/test2.src0000644000175000017500000000256214101257250017146 00000000000000# test2: # this is a source file for tragesym # please take a look at the docs and the template.src file for more informations [options] wordswap yes rotate_labels no sort_labels no generate_pinseq yes sym_width 2600 pinwidthvertical 400 pinwidthhorizontal 800 [geda_attr] name TEST2 device devTEST2 refdes U? footprint TQFP234 description test without rotated text, not sorted, with slots documentation http://url_to_the_datasheet.com/datasheet.pdf author Werner Hoch numslots 4 slot 1 slotdef 1:1,2,3 slotdef 2:4,5,6 slotdef 3:7,8,9 slotdef 4:10,11,12 comment comment1 comment comment2 comment comment3 [pins] #----------------------------------------------------- #pinnr seq type style posit. net label #----------------------------------------------------- 1 io line l hello 2 out clk l \_neg\_ 3 out dot l \_n\_0\_n\_ 4 pwr none GND 5 io line r \_ABC\_ (DEF) 6 out clk r xx\_XX\_xx 7 out dot r \_Reset\_ 8 pwr none AGND 9 io line b _\_ups\__ 10 out clk b wer 11 out dot b ner 12 pwr none AVcc 13 io line t \_([])\_ 14 out clk t ABC (\_DEF\_) 15 out dot t twelf 16 pwr none Vcc 17 in dotclk l first 18 in dotclk r n\_exe\_n 19 in dotclk t this 20 in dotclk b other 21 in dot b \_Reset\_ 22 out line t PD1 (\_SS\_) 23 io clk r PD2 (\_xxx\_hello\_sss\_) 24 io dot r PD3 (x_no_over) 25 io clk l PD4 (\\\_strange\\\_) lepton-eda-1.9.16/utils/tragesym/examples/4099.src0000644000175000017500000000212714101257250016507 00000000000000# tragesym 4099.src: test with a real symbol # this is a source file for tragesym # please take a look at the docs and the template.src file for more informations [options] wordswap=yes rotate_labels=no sort_labels=no generate_pinseq=yes sym_width=1400 pinwidthvertical=400 pinwidthhorizontal=400 [geda_attr] name=4099 device=4099 refdes=U? footprint=DIP16 description=unknown function documentation=http://url_to_the_datasheet.com author=Werner Hoch dist-license=GPL use-license=public domain numslots=0 #slot=1 #slotdef=1: #slotdef=2: #slotdef=3: #slotdef=4: #comment= #comment= #comment= [pins] #----------------------------------------------------- #pinnr seq type style posit. net label #----------------------------------------------------- 5 in line l A0 6 in line l A1 7 in line l A2 spacer l 3 in line l D spacer l 2 in line l Clear spacer l spacer l 4 in dot l \_E\_ 8 pwr none VSS 9 out line r Q0 10 out line r Q1 11 out line r Q2 12 out line r Q3 13 out line r Q4 14 out line r Q5 15 out line r Q6 1 out line r Q7 16 pwr none VDD lepton-eda-1.9.16/utils/tragesym/examples/template.ods0000644000175000017500000005721014101257250017716 00000000000000PKV37l9..mimetypeapplication/vnd.oasis.opendocument.spreadsheetPKV37Configurations2/statusbar/PKV37'Configurations2/accelerator/current.xmlPKPKV37Configurations2/floater/PKV37Configurations2/popupmenu/PKV37Configurations2/progressbar/PKV37Configurations2/menubar/PKV37Configurations2/toolbar/PKV37Configurations2/images/Bitmaps/PKV37 content.xml]m6~p,ok~hhZp9,hy+ I7CJ]{Xx/D59$CoқqDT\$Vk"l/e?ވ0>bhO5V&qBc%EqYzlʲ!J/ɍp9fjbHKK6ԁQ@-'E*B)|K'\t.br_]]uMJa%f22ReTw ٘iZU?-dPMf[l4mo; ; ic;8쾇Hu[qղPv*_r5t9b*&Ԩ;F]$+\3Y4W1@ a3]5|BH0蕰 vf,kai&mÎ^FRy#u6U0ߑI'I$--yP?dl@L-~4Y,m-;*9Z}YqVԛIL-R(3/+#DԨ$ӰJI9P,~JL sL>l~oTUaf0eq*RT3EB1JFo)N bEhrGިF:t4۠388D7 7)[AHY+sgsz ߯p'RcyZfw`Ez]7NG=!5}}1Lz)10!"URpFt熎 ^,)>Tպf=TC#{Y( aF:lEdQTĤTd|٪.F|ɂ ogRdIM"_SY)p.prC+YE#U@m:4oF ζic13x d.(vشNx@{!+zTD!_#drtg ,xoH+Pp@EI 5A]|j'eƪbx0}(8~m!5xI]wo_m&]g '@{=M]M.Iwn@1rJF5gL_kuwngHP\!Z%CJJk2ƚ˸R(LydFK/` GT$4K+hb65FKC oPgsQY%zʄoP)[Af۪4ʘ)C'Hax#~E>ι"_ϡ8@orhR@3/Q" D7 M7ҩORMμz{Dw4_ vDF"!nA`uY7A;ϙ?>w_;:Pm$E`6fbKAp)E pC%IE˱nРMޅ7U#3p V"5#Thp11Hѹw]3)_]XH4m``zzQa2À(2]W5g,NB@2Сd)qT*QQbZ%7]rJd=L΅D;.O˯~Vm}zC5_9 ]2bNp䎫®e*7~) $ *v 2RZ"F+`đS79s>7$?*e>t<Cq{𸠉Fh8:u!45z~HY8f렬*<0vp`7 %j# Ƶu!KdSpTa4s!Yl&č. ݒQ+E (69Js7+4Pn7}:M5Wwt5F:^]#GQt;Tsp;ܧrZR뇟 i`U?)$SޯbP7T9f9<0s0>*<Ӎ,:ؘ|a 4A%F /¼+qAT| >$K80욀[(: y5@V+;Պƪi*:MVܩUT2PZ]zUQ&znGf>s@7/}n+tCk9+!M!&M!fM!M!M!&6w k:x.*7ԧ/0[.0;^(ld[h h_չzdYݯPҨS|dt|ו/"о۵V<_C~?PK _PKV37 styles.xmlYێ6}WZ HʒYk4 $;MQ2JHʗ>{UIQ,˫$mf]gfg3#`ޖIyY{Abrnp?}ve 6#1` jKc{‚Vi]yyKU jΣIh;ENPED/1b8/9 pqlu^SBze+q5*P2Idrcs]ׂ!;߃Dr*._t0v:*+0:{ek/x3nlhO3gANJ"(QCR{P)Gu02|$TT8ͺm|J2T: GӘLTPڵSi`QGUH\j3`WAJBlGi]||2Q)1 ץpWT6T!qzDk;BqN/+nAC(Q=6Ħ/bhFׯk ZT$TAbcV1pT=)rrmS@Jd0c.sue&I=lLI qP9sⰝIV㉒8Kqìse|28ȯο=QTE&=ՋUxXx0Beb8.˲^[oBr:ӼPNeJLa$g4hJT+>hR5-DVکSx:gI;Vp_п'0q!&/ k09Tig,}b/G+ ã]*ehI.uRW?/!diurûAtfk;SU̐~+ASc"PcH6pceCN⥫A4{4)Ȭ##/_]sKOԎR8 s}> o5OיּH',ƅgw/Pj?\H|y~#Q!'LJUݟhj6 $[8Eӽ 2g'7̪-7Xpr{{{.6+ՉNB50ϺPEIӶ[;s[Rqqѳg]u|>CST.>?gdЉuPZ oQ<Ax13Ұ[|z9_ϥOߗ)/JXtvʽm$ PKNeAnPKV37meta.xmlA0ګc 4,`TVjzXؑmBC|o`LtUF׈nRFH3ޡ]eɁ Ç=6GcѪ`53"r݇ał-?ce%o_`nk(rPjʰPKHĦPKV37Thumbnails/thumbnail.pngmeT. ݥS\;8()^E[8'9Z/}Ϟjq0)0pTUt`DtTÚUY}߼|,( !d k#4\u칯; iDעnNuьzH, Lvty}rn EUXB Qq("1ICJ%GrŦ9GG}[x5@<)LY)_.J{oby(g82jr5G#yS#.pOxq5ێߔS MRRjۏ[\LNkɨE\e$A^,箾73+^Aԣ $7p.֛Ga BFD%e*#3SF>%栭v!͵Zu䠓W(& v¾VF3nbypع7Ho&}x1 v@P~S&57*,x'J (U:v>1r>YnG&91K֣L~j@yO^.[ʷVpJTF2+4)/EػN8'+ZPTȕ+#z)t4%!cc81Z=V_SC2x,=O(c_ ~8Z_$l~NR)Qo]je',>%TSӲl γ[<9|g\e]d.=~ qUi-ణ ЄFu+CA5, Y+g&;dX_c?T%?YjsʧLXg#_V02QPDE8)َy5DE0EΠT/3|a^=/ _VoMV&C1ŬVϡYCj1'R6.9}2+'4ynԍ߬ .R|ka` I9g kx:<($EOhVeD. 2 ŰgPLyz.V(BGŘ@yF@Y~lṔLic,˪YWg4K'^? m_Ga0U1fnRރhVD<ȕ䳊 < 6~j"aMإK7ta,(A8t&161Jęr6d8$ۈ֔" hG7PXMU ~Wo5ٖ|=VF0tp Zr%3\j]@5D&'FAbԻ1^D=z+*K漺s<0̹$rx4`K{[Pu&Exi$;_cP}y VZn ?2 -d;WC:%r茆FԡzTEl]fXb[yvᑦ[06akjBC=H;N|ւ폝U-U)b!?lOw<\ZPYI!1۹yA()v]ߺD6TG|Xxl] 1?oГ@NOAGxiP oLe,lE4]IԢ?(>AZ"?0?[";Vn]p3l?B6e!JHÇ~9s8_PQW`TXj& .[J V\MK#[pQa[=" qxP oCjjq7r6_)mKB1,n+v'"I*=X|7!Njɚwg}EfnWK+Q~?3[],?9m zF$BQU+5)?H\<#kTpT.q[GoI yMhU*ѾI.Q "73 8Ɛ#[Lcb0CIWN Jw3KuRn a79ASoK =13ιCDv=#rZuHm,B 4E832l$ۿ'h$}AmޣFD )H: J2!4lu\|xpDZC1S.|x'I \[ J5!7iZƢj> pZC1<R;N}G?J5(}/PDQRkk_D {zY %)Re]c+VxHUs:զ}LaWZA~SNP zPYD$VdpjFHsp >lW15{G${ MIrh"e$J?ܖHWcLCg+*)bYVTr}hKN) ϘfE]*p .9t:Dks$Y6۪= E,F4K%,U?o,pz0c*{==Iǂz:NgG|ֹ_ TŞD|ITJPP+HtK bmG{Ӈ^Sk l n[)@EQ\K[_<i9\-ޅ8W<:/_fٕ$ 7F٫BE(qSk@L,[ }$cb।5y]]tjwow y'B<+ ]szRLOmvVjjbX3}dGw@|,;|)6=F$Tzs}?+29޺a4)2BVS$ { = fo9q&k}u-EtԔdxqP34LI.w5eo"I"`RjNjm!U{a8n޷mc5GznZC|C=iK{?RpT'EL]90'LXƙpcyi]˥z&dž wH.?& 8v~i<9$wۻU'MEp$w ndmB8-]#nͼUvG 0u-7wTYI]AH̓: OͽL Y\ ؊!MKȀ1j܂A2S_y`zgC%qL.AY 31\UwZ',l\`ȸʞLXîǨ(tո )[\ežd6 A l_ 9O(l؋cGWS|$x m ~Vn _.ؕ=jMW^Q 9,^92 tF8nɰ?B L^+˨=ai9g vqU)cC:dK~]mR,($_G f @~&e Vjӑ.3Y!zj瑀 Sc(oS[6n 2`Ճ#6ɢs,%R@(2 ;5:X:+/i :yIdtw'Ӳb2_-8$gw6U2Œ|L#0n|AL䊹֯{-c~kcFU odͩ0*Mk3.d"{IDZ3J`XtS=ȗ!Egl|FO!4Ηm.Fcmk&,<!53.N$o03 .6q G31xU ,(:=6O%bK42nU蚬"| K|dְ|b`?YVt8Vl\{A }xeofdÇ q(.XC\'F(A;ǃ2<=*BR ²byU aOZkSr3GogֿQkgκx#f-9H'ˠ֐dD7̣;A(ŒD.7kxӳ@ƒ۽* `U9ET=.Qн&kOXd= ֠*`=4*3#bXXHT11W@y=Ļ_7؄qVмOz vRC.>l.g1\ oڑo~4DwG E.Zݖ0=!"B#f -&kpqԛG_gUy%5g/RxQh.hXP>&?\U_TY-1ϪS^^Aȅ(̎cXHtH(ם+Ɠ^JXeKa#yrgoUuSz q##_=+_iiX&:{ WNޖFw~TNeB=G}ᘬF)*r2Iրa8=.cF Cc?R}^iv#9sHXY^D2/gآ&kEĄ^%%͕~JedgCC_I?ߎܮ>=-Hzɴ 2y bVfL CN j1OQwh9Wlʇ*_| ͵C߳Vh6a4ofVqtS6fhl7Ru+E"mGVc/2̪A:NZ:3L1TIKz%Noks5DksH;9O>R&:Bהp%*/ ¦ftIdi5H I=z8羾} E1cW@E WF6zze6еMqͺT303; }Ђ_{ Xk5gXsP)pųSA{fBOZ"Zڧe_4_hS bdK+CXf|ny^W;@v( Iwg͢&|});8=Eb50H NLnT 2%{ 3iO?V}" II.Zv.#ф2I1D^'^n,␗P^`[rXh9ת OiKn¤i#UUǸn X9[!{XeGv|P/i;!m~%arҙ?>" BCy܋Ȏm+0E\UQ@ TMp*"IN{oz3Gcrܼ"F eu3U+EE2VﵚݫՖJ7 18 ib4{/|B"Gx ˱@rEM쬷v ڸ_{GVԣO֩,n3Pǵe_5oAZr<+V`N[;5/4#VT,D6IζFZdng}ŏЕ6658|.CG$eۧ@މl$a@n]y2T8S.W} E?*//r=xmkgVT&3o:`:YIO:873fb/>~sNj.zock`*Ԅd?B\yB_v21XQ:e^p6nU ̎'`m9B(MN`UeC^q\ G&6}Odj"әġ2|=ӯυ PVƱզq6X֛H{Щ<Ze~t̋b?RZ˘/t*ޛ7?OvojTN@ܜyo0#NTg~-~GUGv;{_pe|﹌qw&͛THs⽤%A ~~-AE.IHJӜ[ P.1iqpZ*#QbYnk#)ݮ7\]Rx׭oIۼ՚ B,HL@H&GHf"< ZRxvP.qi,-{DqRZfa:U^ep\پ՟5m[tst.+پN7L˷R^O쯈q236a| Sȹ28ـƓTwE{̥DaED5sb vV|;S=)Eb.O"s,8&T=w{T v {jv 8n[Sj _܇x)ZM>yqktw1ةҏP߿|, 3A =b oRbr/ARs⢾rezp*iz<4(z0e]`u2SN'UjXW|xg7!+SKfצ_7P'2}a`_~cO kReSޯr.} +f~#]$0m50s4V&, ;|al;'WҎ2D[i=b$~?lwf(V!,Y]iE3Ce.x-x%JOPa 1 vI( &wqO<{ވp#pd\F޸ lcv23MP3ŪtY~ ^p_q| tJes{~+yCJm5cjCU?A}W|!a diE 5ybםiBnĺb.7a-ȯrZO)bF\SGL)"C]7^T&߲t㙋aSŅvvڭ޽ kGȗ] {DB~xS?I(un1EuVNZ~W[ῇWf4o>>ԉMGQ_5)%ǜz *U&vڋo#Rk@c+)\s$^no^3;Ǣ#UjJ 3[_ya+"[GRѼ`d|[{$bg 5@KZ =eBtO]n)$Je@y4s[xFh^ȴBuL GH͓ |~" (A$*1ɮO2"d8ꚖoJzK[(K86 W.⸧b_އyGC2˓= W{O޲阏)}˟Ç;ܹHڽ5ߺskϑOZ[=T`avAohhPO+d֟o ]]^/m͏*v(:UQgZyw?>򱽍g>G-e,"8Qpjr yrz=/Q Kc 0i;Xd;ZsOC+))TYN\hWeLL3 0s%r߽絔JM?>Ai=0.6={vC΁גv,-O^Ozgca`QϦӝu9k۟ 8> Y;zWERz9dz26^L^fgd|[ƕ}[P3{ l )0bQ:s|vfz.ie#+$'T##wajPYgC꽹Ul*WBȟυ>]#\ &Jؠ|%zg<ވܼ6Uz..d{mL܉5 {R1mP좂y!ұ ]/^WtNwK\77]—K=7yWI~?TsJR6E_y-*֩1f7Ғ Jg/B_l GOb]q:~apM-*v$p,GkWv9F6WU;2S\Z𛱬dUB{V^F#ȆNiU,;ܙwFS؇9|3>]?"]MxHj DJt dZuW\܋oKeh< p\ f3IVƍE$d:J}Hx7g͟ IOM;uy}Oeœ FP*=_WnF|#.in-^H){uoH`Yf"pghz$nt6:(IƧNJfrb5\8z/`QrZJJK ~wٓʪU(m"zaf+ ObEۛObVK[b2-\hWq[z"lv~TLLy}Qd` ,ʗ]zͻ$c,l A&si:}ReH^X;[wnOqcLfm"\ler; ՈQí,p}6͆b3//5[t3p诬|v+Čqp02k5ҦWewnbV6m _lD1^ 1<6\O 5Xʼ+/xcni2 ȸ;lǑ+`F`Xo<(Bp($Y=#?RݒOO}GMDO7//jggw}LZϩ}ƣ -%/KpcۜW!'IO'ϊ~|1mvzg/ JT {5dqz_3aV4AيXg\vEJ58ؕAAl^B%XH_UH' ^^ Wu f &Jo z'?ٚbK~uXn5տ\g'LQռb C `: Ą6D\U+!M* XވFf+ᤁ~1Ռ|ۿ<=dwD^9Gmu05qŝ/\!^ [KHQ' o^$5Np iGoRNTFYZm `QcѮDFE {yV:-'xװ"LP ylF+YxcXTw Q!KY|x>.1kGZ)>M8ږ Ŧ&h.2ƒRi.p 0ʽ)ס` "DBaZ7|զ5x)ZzF^cYE,XR'9eڐqO#/N$Z_4K ֧V~SUP(DpAیbG'.r.^K`OiDUyנ^eOx폦TN[#Ж93šϛ.*gFWks_v?-*2._P ^2γVk`cTyWס$twz))fhGG Om'U54OpK ȻwTkfڳv-=^n)ⶕ6W쨅&3Q"dT!TBS~*1޴U^fR'Q؅Xz$+ :zza4.- }VC0.uF4GбGB^V/B}"[؜nBU`pfE+,,,xQڇ_G8lxpЋKV>1ӣ!ȿ`U%˕.\ŸMΙt/1@rQ18iAv@.4ҋTy#@=s1QCb:Hc$%’uG$@zz,6_90\z`e?lD#_CJߦf-RH7gϧB+hk1ჵ rwꑘ;;*B4 xc}qmQ9Y0QKzn8/3U?Jq?yoIMTWNrZyUj.Ll[?gsVPvj*nͫ=_oSټ:<e 4))P i7X +Ïj6^xnq>[IbJM1wK†^)9/ 2ZCSJظbs7 iT7cG| cZq"4ָTgpQV\MʖZ8b+݁ ysm{f+CJ?#IO ?#?@j*ɥ60y o9J{h˙/DE=b CT ǘTy؟ie=cҸ<^R7#쏋R$l_GGZhLn- +E7'xᦇj $zy .QٿY}\!s}^jk )=_'q^Fy9M].P ѯqB.k\MХj" &ᵰ5zÙr^Gɪ{3qO̾.  eSO?tkj,WWvt0:bH0~UQm{l vgcëy=&A$ SԉwjlR2MtavŦׁMԂ-6 ү <WD,mP[D5P)PY*/bs*=asӘ3C&A*ewVǂOF-ͭi A]Y.y3{A DdhE;? .Mar+k>0`{p#{U^E,-?.ZZ}] S)—A}w5o6ięMdZ($5s0NQŒPH_3 XAA!FF.3zqpMc.t1ce+Oc1?U!뵏ձRe0'it<-!e4[pRbbrb1j 9`iTƏ!܃C4a8 :} GT_E`˓%jhR[uQe4aaOGI8J 5KJ1Uyh@Ƀ  .zVWHՁ d2HhG"fH]6.݂BNw׻aRC\u:cAo<_#=}EAd#9 XE!EjPD~hmH*1 }0ӵ!xWτ3w "rϧT+C2a81KE*frzˮVҤ0eL}rq+t+#P*PK7=?@PKV37 settings.xml_s:z\3U[GoRiHI駿AjpEs}I~nv7p} dQr/T ڈnɸu5}|DH9B)L.' (#U 8UȫªR՝#tp~邲UXT TG:TT4(J髠pANBt(4_~#6g/Cn)A)PgEADRS !?Gq b.~V>߁hNTT*?w{ Ў˂~vkd|gPj`SИc -;E?,1l@9r ̓}͗ɋDOf eb$zԆq);"!:=Byҷ[m>db-|oΙk#f=NNrL&'|҆wPRRJ瞣(&`uFѸKJ享C`/NJ5 UpcMP@]ۧa㛔bR{bѝB!A1e14&*jW%MXyV.U2~['b!2~xB98&܀񚐋wLG wt;+dFK62e@q|bx,LmOU?'xYC'[čXkF zQ~ȔT yb`yʝ뛣V4"BO[DȐRȻ)o zL =KbDe̡Rbw c!x!|R!|cD*wS)F$B;ߟ Jn&F] Ýr=˩Wo³̿sivE6ٍmHi7 ȜsiǷPKMfBQPKV37l9..mimetypePKV37TConfigurations2/statusbar/PKV37'Configurations2/accelerator/current.xmlPKV37Configurations2/floater/PKV37Configurations2/popupmenu/PKV37QConfigurations2/progressbar/PKV37Configurations2/menubar/PKV37Configurations2/toolbar/PKV37Configurations2/images/Bitmaps/PKV37 _ 4content.xmlPKV37NeAn  styles.xmlPKV37HĦmeta.xmlPKV377=?@Thumbnails/thumbnail.pngPKV37sņy ?Tsettings.xmlPKV37MfBQXMETA-INF/manifest.xmlPKZlepton-eda-1.9.16/utils/tragesym/examples/Makefile.in0000644000175000017500000004044114101262633017440 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = utils/tragesym/examples ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/guile.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lepton-assert.m4 \ $(top_srcdir)/m4/lepton-attrib.m4 \ $(top_srcdir)/m4/lepton-awk.m4 \ $(top_srcdir)/m4/lepton-cairo.m4 \ $(top_srcdir)/m4/lepton-contrib.m4 \ $(top_srcdir)/m4/lepton-data-dirs.m4 \ $(top_srcdir)/m4/lepton-desktop-i18n.m4 \ $(top_srcdir)/m4/lepton-desktop.m4 \ $(top_srcdir)/m4/lepton-doxygen.m4 \ $(top_srcdir)/m4/lepton-gcc-flags.m4 \ $(top_srcdir)/m4/lepton-git-version.m4 \ $(top_srcdir)/m4/lepton-git.m4 \ $(top_srcdir)/m4/lepton-groff.m4 \ $(top_srcdir)/m4/lepton-guile.m4 \ $(top_srcdir)/m4/lepton-host.m4 \ $(top_srcdir)/m4/lepton-stroke.m4 \ $(top_srcdir)/m4/lepton-uri-viewer.m4 \ $(top_srcdir)/m4/lepton-windows.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/liblepton.m4 \ $(top_srcdir)/m4/libleptonattrib.m4 \ $(top_srcdir)/m4/libleptongui.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pcb-data-dirs.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITMAP_DIRECTORY = @BITMAP_DIRECTORY@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@ CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@ CAIRO_PNG_CFLAGS = @CAIRO_PNG_CFLAGS@ CAIRO_PNG_LIBS = @CAIRO_PNG_LIBS@ CAIRO_PS_CFLAGS = @CAIRO_PS_CFLAGS@ CAIRO_PS_LIBS = @CAIRO_PS_LIBS@ CAIRO_SVG_CFLAGS = @CAIRO_SVG_CFLAGS@ CAIRO_SVG_LIBS = @CAIRO_SVG_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE_VERSION = @DATE_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DESKTOP_I18N = @DESKTOP_I18N@ DESKTOP_I18N_CREATE = @DESKTOP_I18N_CREATE@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@ DESKTOP_I18N_SCRIPT = @DESKTOP_I18N_SCRIPT@ DLLTOOL = @DLLTOOL@ DOT = @DOT@ DOTTED_VERSION = @DOTTED_VERSION@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GDK_CFLAGS = @GDK_CFLAGS@ GDK_LIBS = @GDK_LIBS@ GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@ GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@ GETTEXT = @GETTEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GIT = @GIT@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GROFF = @GROFF@ GTKEXTRA_CFLAGS = @GTKEXTRA_CFLAGS@ GTKEXTRA_LIBS = @GTKEXTRA_LIBS@ GTKSHEET_CFLAGS = @GTKSHEET_CFLAGS@ GTKSHEET_LIBS = @GTKSHEET_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GUILD = @GUILD@ GUILE = @GUILE@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@ GUILE_LDFLAGS = @GUILE_LDFLAGS@ GUILE_LIBS = @GUILE_LIBS@ GUILE_LTLIBS = @GUILE_LTLIBS@ GUILE_PKG_NAME = @GUILE_PKG_NAME@ GUILE_SNARF = @GUILE_SNARF@ GUILE_TOOLS = @GUILE_TOOLS@ HAVE_GIT_REPO = @HAVE_GIT_REPO@ ICON_THEME_INSTALLER = @ICON_THEME_INSTALLER@ INKSCAPE = @INKSCAPE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEPTONDATADIR = @LEPTONDATADIR@ LEPTON_SCHEME_MODULE_DIRECTORY = @LEPTON_SCHEME_MODULE_DIRECTORY@ LEPTON_SCM_PRECOMPILE_DIR = @LEPTON_SCM_PRECOMPILE_DIR@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBLEPTONATTRIB_MAJOR = @LIBLEPTONATTRIB_MAJOR@ LIBLEPTONATTRIB_SHLIB_VERSION = @LIBLEPTONATTRIB_SHLIB_VERSION@ LIBLEPTONGUI_MAJOR = @LIBLEPTONGUI_MAJOR@ LIBLEPTONGUI_SHLIB_VERSION = @LIBLEPTONGUI_SHLIB_VERSION@ LIBLEPTON_GETTEXT_DOMAIN = @LIBLEPTON_GETTEXT_DOMAIN@ LIBLEPTON_MAJOR = @LIBLEPTON_MAJOR@ LIBLEPTON_SHLIB_VERSION = @LIBLEPTON_SHLIB_VERSION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSTROKE_CPPFLAGS = @LIBSTROKE_CPPFLAGS@ LIBSTROKE_LDFLAGS = @LIBSTROKE_LDFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ M4 = @M4@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MINGW_CFLAGS = @MINGW_CFLAGS@ MINGW_GUI_LDFLAGS = @MINGW_GUI_LDFLAGS@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCBDATADIR = @PCBDATADIR@ PCBLIBPATH = @PCBLIBPATH@ PCBM4DIR = @PCBM4DIR@ PDFLATEX = @PDFLATEX@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ URI_VIEWER = @URI_VIEWER@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDOWS_LIBTOOL_FLAGS = @WINDOWS_LIBTOOL_FLAGS@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = 4099.src AT90S8535_TQFP.src alltest template.src template.ods \ test1.src test2.src test3.src all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/tragesym/examples/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign utils/tragesym/examples/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags-am uninstall uninstall-am .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/tragesym/examples/test3.src0000644000175000017500000000251514101257250017145 00000000000000# tragesym test3: # this is a source file for tragesym # please take a look at the docs and the template.src file for more informations [options] wordswap=yes rotate_labels=yes sort_labels=yes generate_pinseq=yes sym_width=2200 pinwidthvertical=400 pinwidthhorizontal=400 [geda_attr] name=TEST3 device=devTEST3 refdes=U? footprint=DIP25 description=test negation lines and escaping sequences documentation=http://url_to_the_datasheet.com/datasheet.pdf author=Werner Hoch numslots=0 #slot=1 #slotdef=1: #slotdef=2: #slotdef=3: #slotdef=4: #comment= #comment= #comment= [pins] #----------------------------------------------------- #pinnr seq type style posit. net label #----------------------------------------------------- 1 io line l hello 2 out clk l \_neg\_ 3 out dot l \_n\_0\_n\_ 4 pwr none GND 5 io line r \_ABC\_ (DEF) 6 out clk r xx\_XX\_xx 7 out dot r \_Reset\_ 8 pwr none AGND 9 io line b _\_ups\__ 10 out clk b wer 11 out dot b ner 12 pwr none AVcc 13 io line t \_([])\_ 14 out clk t ABC (\_DEF\_) 15 out dot t twelf 16 pwr none Vcc 17 in dotclk l first 18 in dotclk r n\_exe\_n 19 in dotclk t this 20 in dotclk b other 21 in dot b \_Reset\_ 22 out line t PD1 (\_SS\_) 23 io clk r PD2 (\_xxx\_hello\_sss\_) 24 io dot r PD3 (x_no_over) 25 io clk r PD4 (\\\_strange\\\_) lepton-eda-1.9.16/utils/tragesym/examples/template.src0000644000175000017500000000346114101257250017717 00000000000000# This is the template file for creating symbols with tragesym # every line starting with '#' is a comment line. [options] # wordswap swaps labels if the pin is on the right side an looks like this: # "PB1 (CLK)". That's useful for micro controller port labels # rotate_labels rotates the pintext of top and bottom pins # this is useful for large symbols like FPGAs with more than 100 pins # sort_labels will sort the pins by it's labels # useful for address ports, busses, ... wordswap=yes rotate_labels=no sort_labels=yes generate_pinseq=yes sym_width=1400 pinwidthvertical=400 pinwidthhorizontal=400 [geda_attr] # name will be printed in the top of the symbol # name is only some graphical text, not an attribute # version specifies a gschem version. # if you have a device with slots, you'll have to use slot= and slotdef= # use comment= if there are special information you want to add name= device= refdes=U? footprint= description= documentation= author= dist-license= use-license= numslots=0 #slot=1 #slotdef=1: #slotdef=2: #slotdef=3: #slotdef=4: #comment= #comment= #comment= [pins] # tabseparated list of pin descriptions # ---------------------------------------- # pinnr is the physical number of the pin # seq is the pinseq= attribute, leave it blank if it doesn't matter # type can be (in, out, io, oc, oe, pas, tp, tri, clk, pwr) # style can be (line,dot,clk,dotclk,spacer,none). none if only want to add a net # posit. can be (l,r,t,b) or empty for nets. # net specifies the name of the net. Vcc or GND for example. # label represents the pinlabel. # negation lines can be added with "\_" example: \_enable\_ # if you want to write a "\" use "\\" as escape sequence #----------------------------------------------------- #pinnr seq type style posit. net label #----------------------------------------------------- lepton-eda-1.9.16/utils/tragesym/examples/test1.src0000644000175000017500000000264614101257250017150 00000000000000# tragesym test1: # this is a source file for tragesym # please take a look at the docs and the template.src file for more informations [options] wordswap=yes rotate_labels=no sort_labels=yes generate_pinseq=no sym_width=2600 pinwidthvertical=400 pinwidthhorizontal=600 [geda_attr] name=TEST1 device=devTEST1 refdes=U? footprint=SO20 description=pin sorting test, pin sequence test documentation=http://url_to_the_datasheet.com/datasheet.pdf author=Werner Hoch numslots=4 use-license dist-license= special-attribute=unknown slot=1 slotdef=1:1,2,3 slotdef=2:4,5,6 slotdef=3:7,8,9 slotdef=4:10,11,12 comment=bla comment=blub comment=blablub [pins] #----------------------------------------------------- #pinnr seq type style posit. net label #----------------------------------------------------- 1 21 i line l hello 2 20 o clk l \_neg\_ 3 19 out dot l \_n\_0\_n\_ 4 pwr none GND 5 18 IO line l \_ABC\_ (DEF) 6 17 out clk l xx\_XX\_xx 7 16 out dot l \_Reset\_ 8 pwr none AGND 9 15 I/O line l A12a100xx 10 14 out clk l A12a100 11 13 out dot l ner 12 pwr none AVcc 13 12 i/o line l A1 14 11 out clk l A12 15 10 out dot l A2 16 pwr none Vcc 17 9 in dotclk l first 18 8 in dotclk r n\_exe\_n 19 7 in dotclk t this 20 6 in dotclk b other 21 5 in dot b \_Reset\_ 22 4 out line t PD1 (\_SS\_) 23 3 pas clk r PD2 (\_xxx\_hello\_sss\_) 24 2 p dot r PD3 (x_no_over) 25 1 io clk r PD4 (\\\_strange\\\_) lepton-eda-1.9.16/utils/Makefile.in0000644000175000017500000005526714101262632014002 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = utils ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/guile.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lepton-assert.m4 \ $(top_srcdir)/m4/lepton-attrib.m4 \ $(top_srcdir)/m4/lepton-awk.m4 \ $(top_srcdir)/m4/lepton-cairo.m4 \ $(top_srcdir)/m4/lepton-contrib.m4 \ $(top_srcdir)/m4/lepton-data-dirs.m4 \ $(top_srcdir)/m4/lepton-desktop-i18n.m4 \ $(top_srcdir)/m4/lepton-desktop.m4 \ $(top_srcdir)/m4/lepton-doxygen.m4 \ $(top_srcdir)/m4/lepton-gcc-flags.m4 \ $(top_srcdir)/m4/lepton-git-version.m4 \ $(top_srcdir)/m4/lepton-git.m4 \ $(top_srcdir)/m4/lepton-groff.m4 \ $(top_srcdir)/m4/lepton-guile.m4 \ $(top_srcdir)/m4/lepton-host.m4 \ $(top_srcdir)/m4/lepton-stroke.m4 \ $(top_srcdir)/m4/lepton-uri-viewer.m4 \ $(top_srcdir)/m4/lepton-windows.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/liblepton.m4 \ $(top_srcdir)/m4/libleptonattrib.m4 \ $(top_srcdir)/m4/libleptongui.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pcb-data-dirs.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir distdir-am am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = attrib sch2pcb tragesym symfix archive embed \ pcb_backannotate refdes_renum schdiff upcfg symcheck cli \ netlist am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITMAP_DIRECTORY = @BITMAP_DIRECTORY@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@ CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@ CAIRO_PNG_CFLAGS = @CAIRO_PNG_CFLAGS@ CAIRO_PNG_LIBS = @CAIRO_PNG_LIBS@ CAIRO_PS_CFLAGS = @CAIRO_PS_CFLAGS@ CAIRO_PS_LIBS = @CAIRO_PS_LIBS@ CAIRO_SVG_CFLAGS = @CAIRO_SVG_CFLAGS@ CAIRO_SVG_LIBS = @CAIRO_SVG_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE_VERSION = @DATE_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DESKTOP_I18N = @DESKTOP_I18N@ DESKTOP_I18N_CREATE = @DESKTOP_I18N_CREATE@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@ DESKTOP_I18N_SCRIPT = @DESKTOP_I18N_SCRIPT@ DLLTOOL = @DLLTOOL@ DOT = @DOT@ DOTTED_VERSION = @DOTTED_VERSION@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GDK_CFLAGS = @GDK_CFLAGS@ GDK_LIBS = @GDK_LIBS@ GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@ GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@ GETTEXT = @GETTEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GIT = @GIT@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GROFF = @GROFF@ GTKEXTRA_CFLAGS = @GTKEXTRA_CFLAGS@ GTKEXTRA_LIBS = @GTKEXTRA_LIBS@ GTKSHEET_CFLAGS = @GTKSHEET_CFLAGS@ GTKSHEET_LIBS = @GTKSHEET_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GUILD = @GUILD@ GUILE = @GUILE@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@ GUILE_LDFLAGS = @GUILE_LDFLAGS@ GUILE_LIBS = @GUILE_LIBS@ GUILE_LTLIBS = @GUILE_LTLIBS@ GUILE_PKG_NAME = @GUILE_PKG_NAME@ GUILE_SNARF = @GUILE_SNARF@ GUILE_TOOLS = @GUILE_TOOLS@ HAVE_GIT_REPO = @HAVE_GIT_REPO@ ICON_THEME_INSTALLER = @ICON_THEME_INSTALLER@ INKSCAPE = @INKSCAPE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEPTONDATADIR = @LEPTONDATADIR@ LEPTON_SCHEME_MODULE_DIRECTORY = @LEPTON_SCHEME_MODULE_DIRECTORY@ LEPTON_SCM_PRECOMPILE_DIR = @LEPTON_SCM_PRECOMPILE_DIR@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBLEPTONATTRIB_MAJOR = @LIBLEPTONATTRIB_MAJOR@ LIBLEPTONATTRIB_SHLIB_VERSION = @LIBLEPTONATTRIB_SHLIB_VERSION@ LIBLEPTONGUI_MAJOR = @LIBLEPTONGUI_MAJOR@ LIBLEPTONGUI_SHLIB_VERSION = @LIBLEPTONGUI_SHLIB_VERSION@ LIBLEPTON_GETTEXT_DOMAIN = @LIBLEPTON_GETTEXT_DOMAIN@ LIBLEPTON_MAJOR = @LIBLEPTON_MAJOR@ LIBLEPTON_SHLIB_VERSION = @LIBLEPTON_SHLIB_VERSION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSTROKE_CPPFLAGS = @LIBSTROKE_CPPFLAGS@ LIBSTROKE_LDFLAGS = @LIBSTROKE_LDFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ M4 = @M4@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MINGW_CFLAGS = @MINGW_CFLAGS@ MINGW_GUI_LDFLAGS = @MINGW_GUI_LDFLAGS@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCBDATADIR = @PCBDATADIR@ PCBLIBPATH = @PCBLIBPATH@ PCBM4DIR = @PCBM4DIR@ PDFLATEX = @PDFLATEX@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ URI_VIEWER = @URI_VIEWER@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDOWS_LIBTOOL_FLAGS = @WINDOWS_LIBTOOL_FLAGS@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ @ENABLE_ATTRIB_TRUE@ATTRIB_SCRIPT_DIR = attrib SUBDIRS = \ ${ATTRIB_SCRIPT_DIR} \ sch2pcb \ tragesym \ symfix \ archive \ embed \ pcb_backannotate \ refdes_renum \ schdiff \ upcfg \ symcheck \ cli \ netlist all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign utils/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ check-am clean clean-generic clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ps ps-am tags tags-am uninstall uninstall-am .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/pcb_backannotate/0000755000175000017500000000000014101262653015257 500000000000000lepton-eda-1.9.16/utils/pcb_backannotate/Makefile.am0000644000175000017500000000014514101257250017230 00000000000000SUBDIRS = \ docs bin_SCRIPTS = \ lepton-pcb_backannotate EXTRA_DIST = \ lepton-pcb_backannotate lepton-eda-1.9.16/utils/pcb_backannotate/lepton-pcb_backannotate0000755000175000017500000002020614101257250021677 00000000000000#!/usr/bin/env perl # # Copyright (C) 2003, 2006, 2010 Dan McMahill # Copyright (C) 2003-2014 gEDA Contributors # Copyright (C) 2018-2021 Lepton EDA Contributors # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # This script is used to process annotation files from the PCB # program (http://pcb.geda-project.org) to backannotate # changes to Lepton EDA schematics. # # It is heavily based on the pads_backannotate program which is also # part of gEDA # for parsing input options use Getopt::Long; # for ceil function use POSIX; # don't allow -he to be interpreted as --help $Getopt::Long::autoabbrev=0; # make the options be case sensitive $Getopt::Long::ignorecase=0; &GetOptions( ('h|help' => \&usage, 'n|nocopy' => \$nocopy, 'v|verbose' => \$verbose, 'V|version' => \&version ) ); usage() if $Getopt::Long::error; usage() unless @ARGV; # Annotation file name $eco = shift( @ARGV ); # if no schematic names follow, exit usage() unless @ARGV; # make sure the input netlist exists and we can open it $i = 0; while( @ARGV ) { $fname[$i] = shift( @ARGV ); die "Schematic file $fname[$i] does not exist or can not be read" unless -r $fname[$i]; $i++; } $filecnt = $i; if( $verbose ){ print "Loading PCB annotation file file: $eco\n"; } my $eco_state="DEFAULT"; open( ECO, "$eco" ) or die "Can't open PCB annotation file $eco !\n"; my $ver = 0; while( $line = ) { if( $line =~ /^\*FILEVERSION\* / ) { $ver = $line; $ver =~ s/^\*FILEVERSION\*\s*//; $ver =~ s/[^0-9]*$//; } elsif( $line =~ /^\*VERSION\* 20060814/ ) { $ver = 20060814; } } close( ECO ); if( $ver == 0) { print "ERROR: Unable to determine annotation file version.\n"; exit( 1 ); } print "Annotation file version is $ver\n" if $verbose ; if( $ver != 20061031 && $ver != 20060814 ) { print "ERROR: This version of the program is unable to process\n"; print " PCB annotation files of version $ver.\n"; exit( 1 ); } # reopen and parse the file this time open( ECO, "$eco" ) or die "Can't open PCB annotation file $eco !\n"; while( $line = ) { # if( $verbose ){ print "$line\n"; } if( $line =~ /^\*COMMENT\*/ ) { print "Skipping comment line: $line\n"; next; } elsif( $line =~ /^\*VERSION\* 20060814/ || $line =~ /^\*FILEVERSION\* [0-9]*/) { # the version line. Note that the very first version of the annotation # file used *VERSION* but it was quickly changed to FILEVERSION to avoid # confusing it with the program version. next; } elsif( $line =~ /^\*RENAME\*/ ) { # rename refdes in design (forward/backward annotation) #$eco_state="RENAME"; print " *RENAME* (Refdes Renumber)\n" if $verbose; $line =~ s/^\*RENAME\*\s*//; parseRENAME($line); next; } elsif( $line =~ /^\*WARN\*/ ) { # A warning generated by PCB print "Found the following warning in the annotation file:\n"; print "$line\n"; next; } elsif( $line =~ /^\*/ ) { print "WARNING: Unknown command line:\n"; print " $line\n"; $eco_state="DEFAULT"; next; } else { # this must be a data line #if( $verbose ){ print "Processing data line: $line"; } } } close( ECO ); for($i=0; $i < $filecnt; $i++) { print "Processing schematic file #", $i+1, ": $fname[$i]\n"; open(NETLIST,"$fname[$i]") or die "Can't open schematic $fname[$i]: $!\n"; # open output netlist $outfname="$fname[$i].new"; open(OUTSCH,">$outfname") or die "Can't open $outfname: $!\n"; while($line = ) { $line = executeRENAME($line); print OUTSCH "$line"; } close(NETLIST); close(OUTSCH); if( $nocopy ) { print "Leaving page #",$i+1," output in $outfname\n"; } else { system("mv $outfname $fname[$i]"); } } print "\n---- Gate Swapping ----\n"; executeSWPGATES(); print "\n---- Pin Swapping ----\n"; executeSWPPINS(); print "\nBackannotation finished ", scalar localtime, "\n"; exit; ####################################################################### # # Subroutines # ####################################################################### #--------------------------------- # executeRENAME(line) #--------------------------------- sub executeRENAME { my $line = shift(@_); return $line unless %cmd_rename; return $line unless $line =~ /^refdes=/; # pick out the reference designator $refdes = $line; $refdes =~ s/^refdes=//; $refdes =~ s/[\r\n]*$//; # see if its listed in our hash of reference designators to be # renamed return $line unless exists $cmd_rename{$refdes}; print "executeRENAME(): Renaming $refdes to $cmd_rename{$refdes}\n" if $verbose; return "refdes=$cmd_rename{$refdes}\n"; } #--------------------------------- # executeSWPGATES() #--------------------------------- sub executeSWPGATES { my $key; foreach $key (keys %cmd_swap_gates ) { print "Please manually swap gates $key and $cmd_swap_gates{$key}\n"; } } #--------------------------------- # executeSWPPINS() #--------------------------------- sub executeSWPPINS { my $key; my @pins; foreach $key (keys %cmd_swap_pins ) { @pins = split '\.',,$cmd_swap_pins{$key}; print "Please manually swap pins $pins[0] and $pins[1] on $key\n"; } } #--------------------------------- # parseRENAME(line) #--------------------------------- sub parseRENAME { my $line = shift(@_); my @refs; @refs = split ' ',,$line; $refs[0] =~ s/"//g; # " $refs[1] =~ s/"//g; # " print "parseRENAME(): Scheduling rename of $refs[1] to $refs[0]\n" if $verbose; $cmd_rename{$refs[1]} = $refs[0]; } #--------------------------------- # parseSWPGATES(line) #--------------------------------- sub parseSWPGATES { my $line = shift(@_); my @refs; @refs = split ' ',,$line; print "parseSWPGATES(): Scheduling swap of gate $refs[0] with $refs[1]\n" if $verbose; $cmd_swap_gates{$refs[0]} = $refs[1]; } #--------------------------------- # parseSWPPINS(line) #--------------------------------- sub parseSWPPINS { my $line = shift(@_); @refs = split ' ',,$line; @pins = split '\.',,$refs[1]; print "parseSWPPINS(): Scheduling swap of pins on $refs[0] : pins ", "$pins[0] and $pins[1]\n" if $verbose; $cmd_swap_pins{$refs[0]} = $refs[1]; } #--------------------------------- # usage() # # prints program usage #--------------------------------- sub usage { my $pname = $0; $pname =~ s/.*\///g; print < Lepton EDA homepage: EOF exit; } #--------------------------------- # version() # # prints program version #--------------------------------- sub version { my $pname = $0; $pname =~ s/.*\///g; print "Lepton EDA 1.9.13.20201211\n"; print "$pname was written by Dan McMahill \n"; print "Copyright (C) 2006-2011 Dan McMahill\n"; print "Copyright (C) 2006-2016 gEDA Contributors\n"; print "Copyright (C) 2017-2021 Lepton EDA Contributors\n"; exit(0); } lepton-eda-1.9.16/utils/pcb_backannotate/docs/0000755000175000017500000000000014101262653016207 500000000000000lepton-eda-1.9.16/utils/pcb_backannotate/docs/Makefile.am0000644000175000017500000000152414101257250020162 00000000000000dist_man_MANS = \ lepton-pcb_backannotate.1 EXTRA_DIST = \ lepton-pcb_backannotate.1.in .1.in.1: d=`$(GUILE) -c '(setlocale LC_ALL "C") \ (display (strftime "%B %-d, %Y" \ (car (strptime "%Y%m%d" (cadr (program-arguments))))))' $(DATE_VERSION)` ; \ v="$(DOTTED_VERSION).$(DATE_VERSION)" ; \ y=`echo $(DATE_VERSION)| sed -e"s/\(....\).*/\1/"`; \ sed -e"s:[@]DATE@:$$d:" -e"s:[@]VERSION@:$$v:" -e"s:[@]YEAR@:$$y:" < $< > $@ # Rules for converting man->html html_man_files = $(dist_man_MANS:%.1=%.html) SUFFIXES = .1.in .1 .html docsmandir=$(docdir)/man dist_docsman_DATA=$(html_man_files) if ENABLE_GROFF_HTML .1.html: rm -rf $@.tmp && \ LC_NUMERIC=C $(GROFF) -man -T html $< >$@.tmp && \ mv -f $@.tmp $@ else .1.html: @echo "No working groff available: cannot create $@" @! : endif CLEANFILES = $(dist_man_MANS) $(html_man_files) lepton-eda-1.9.16/utils/pcb_backannotate/docs/lepton-pcb_backannotate.1.in0000644000175000017500000000352714101257250023377 00000000000000.TH lepton-pcb_backannotate 1 "@DATE@" "Lepton EDA" @VERSION@ .SH NAME .B lepton-pcb_backannotate \- back-annotates changes from a PCB annotation file to schematic .SH SYNOPSIS .B lepton-pcb_backannotate \-h\||\-\-help .B lepton-pcb_backannotate \-V\||\-\-version .B lepton-pcb_backannotate [options] .I ecofile.eco infile1.sch ... .SH DESCRIPTION The .I lepton-pcb_backannotate program reads an engineering change order (ECO) file generated by the PCB program (using the Renumber() action) and back-annotates the requested changes to a lepton-schematic schematic(s). Currently it supports back annotation of reference designators (refdes). .SH OPTIONS .TP \-h, \-\-help prints help message and exits .TP \-n, \-\-nocopy Leave the modified schematic files in new files whose names are generated by appending .I ".new" to the original file names. The default is to overwrite the original. .TP \-v, \-\-verbose operate verbosely .TP \-V, \-\-version prints version information and exits .SH EXIT STATUS .I lepton-pcb_backannotate will return .B 0 if all files processed successfully, .B non-zero if the command did not complete successfully. .SH BUGS Rather than parsing and processing schematic files directly, this utility should be rewritten using the Lepton EDA scheme API. This would take advantage of the existing parsers for the schematic files. .SH AUTHOR Dan McMahill .SH SEE ALSO lepton-netlist(1), lepton-schematic(1), pcb(1) .SH COPYRIGHT .nf Copyright \(co 2003, 2006, 2010 Dan McMahill. Copyright \(co 2003-2014 gEDA Contributors. Copyright \(co 2018-@YEAR@ Lepton EDA Contributors. License GPLv2+: GNU GPL version 2 or later. Please see the `COPYING' file included with this program for full details. .PP This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. lepton-eda-1.9.16/utils/pcb_backannotate/docs/lepton-pcb_backannotate.html0000644000175000017500000000776514101262653023611 00000000000000 lepton-pcb_backannotate

lepton-pcb_backannotate

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXIT STATUS
BUGS
AUTHOR
SEE ALSO
COPYRIGHT

NAME

lepton-pcb_backannotate - back-annotates changes from a PCB annotation file to schematic

SYNOPSIS

lepton-pcb_backannotate -h|--help

lepton-pcb_backannotate -V|--version

lepton-pcb_backannotate [options] ecofile.eco infile1.sch ...

DESCRIPTION

The lepton-pcb_backannotate program reads an engineering change order (ECO) file generated by the PCB program (using the Renumber() action) and back-annotates the requested changes to a lepton-schematic schematic(s). Currently it supports back annotation of reference designators (refdes).

OPTIONS

-h, --help

prints help message and exits

-n, --nocopy

Leave the modified schematic files in new files whose names are generated by appending .new to the original file names. The default is to overwrite the original.

-v, --verbose

operate verbosely

-V, --version

prints version information and exits

EXIT STATUS

lepton-pcb_backannotate will return 0 if all files processed successfully, non-zero if the command did not complete successfully.

BUGS

Rather than parsing and processing schematic files directly, this utility should be rewritten using the Lepton EDA scheme API. This would take advantage of the existing parsers for the schematic files.

AUTHOR

Dan McMahill <danmcmahill@netbsd.org>

SEE ALSO

lepton-netlist(1), lepton-schematic(1), pcb(1)

COPYRIGHT

Copyright © 2003, 2006, 2010 Dan McMahill.
Copyright © 2003-2014 gEDA Contributors.
Copyright © 2018-2021 Lepton EDA Contributors.
License GPLv2+: GNU GPL version 2 or later. Please see the ’COPYING’
file included with this program for full details.

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


lepton-eda-1.9.16/utils/pcb_backannotate/docs/Makefile.in0000644000175000017500000005250014101262632020173 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = utils/pcb_backannotate/docs ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/guile.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lepton-assert.m4 \ $(top_srcdir)/m4/lepton-attrib.m4 \ $(top_srcdir)/m4/lepton-awk.m4 \ $(top_srcdir)/m4/lepton-cairo.m4 \ $(top_srcdir)/m4/lepton-contrib.m4 \ $(top_srcdir)/m4/lepton-data-dirs.m4 \ $(top_srcdir)/m4/lepton-desktop-i18n.m4 \ $(top_srcdir)/m4/lepton-desktop.m4 \ $(top_srcdir)/m4/lepton-doxygen.m4 \ $(top_srcdir)/m4/lepton-gcc-flags.m4 \ $(top_srcdir)/m4/lepton-git-version.m4 \ $(top_srcdir)/m4/lepton-git.m4 \ $(top_srcdir)/m4/lepton-groff.m4 \ $(top_srcdir)/m4/lepton-guile.m4 \ $(top_srcdir)/m4/lepton-host.m4 \ $(top_srcdir)/m4/lepton-stroke.m4 \ $(top_srcdir)/m4/lepton-uri-viewer.m4 \ $(top_srcdir)/m4/lepton-windows.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/liblepton.m4 \ $(top_srcdir)/m4/libleptonattrib.m4 \ $(top_srcdir)/m4/libleptongui.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pcb-data-dirs.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(dist_docsman_DATA) \ $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } man1dir = $(mandir)/man1 am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docsmandir)" NROFF = nroff MANS = $(dist_man_MANS) DATA = $(dist_docsman_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(dist_man_MANS) $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITMAP_DIRECTORY = @BITMAP_DIRECTORY@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@ CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@ CAIRO_PNG_CFLAGS = @CAIRO_PNG_CFLAGS@ CAIRO_PNG_LIBS = @CAIRO_PNG_LIBS@ CAIRO_PS_CFLAGS = @CAIRO_PS_CFLAGS@ CAIRO_PS_LIBS = @CAIRO_PS_LIBS@ CAIRO_SVG_CFLAGS = @CAIRO_SVG_CFLAGS@ CAIRO_SVG_LIBS = @CAIRO_SVG_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE_VERSION = @DATE_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DESKTOP_I18N = @DESKTOP_I18N@ DESKTOP_I18N_CREATE = @DESKTOP_I18N_CREATE@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@ DESKTOP_I18N_SCRIPT = @DESKTOP_I18N_SCRIPT@ DLLTOOL = @DLLTOOL@ DOT = @DOT@ DOTTED_VERSION = @DOTTED_VERSION@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GDK_CFLAGS = @GDK_CFLAGS@ GDK_LIBS = @GDK_LIBS@ GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@ GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@ GETTEXT = @GETTEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GIT = @GIT@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GROFF = @GROFF@ GTKEXTRA_CFLAGS = @GTKEXTRA_CFLAGS@ GTKEXTRA_LIBS = @GTKEXTRA_LIBS@ GTKSHEET_CFLAGS = @GTKSHEET_CFLAGS@ GTKSHEET_LIBS = @GTKSHEET_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GUILD = @GUILD@ GUILE = @GUILE@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@ GUILE_LDFLAGS = @GUILE_LDFLAGS@ GUILE_LIBS = @GUILE_LIBS@ GUILE_LTLIBS = @GUILE_LTLIBS@ GUILE_PKG_NAME = @GUILE_PKG_NAME@ GUILE_SNARF = @GUILE_SNARF@ GUILE_TOOLS = @GUILE_TOOLS@ HAVE_GIT_REPO = @HAVE_GIT_REPO@ ICON_THEME_INSTALLER = @ICON_THEME_INSTALLER@ INKSCAPE = @INKSCAPE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEPTONDATADIR = @LEPTONDATADIR@ LEPTON_SCHEME_MODULE_DIRECTORY = @LEPTON_SCHEME_MODULE_DIRECTORY@ LEPTON_SCM_PRECOMPILE_DIR = @LEPTON_SCM_PRECOMPILE_DIR@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBLEPTONATTRIB_MAJOR = @LIBLEPTONATTRIB_MAJOR@ LIBLEPTONATTRIB_SHLIB_VERSION = @LIBLEPTONATTRIB_SHLIB_VERSION@ LIBLEPTONGUI_MAJOR = @LIBLEPTONGUI_MAJOR@ LIBLEPTONGUI_SHLIB_VERSION = @LIBLEPTONGUI_SHLIB_VERSION@ LIBLEPTON_GETTEXT_DOMAIN = @LIBLEPTON_GETTEXT_DOMAIN@ LIBLEPTON_MAJOR = @LIBLEPTON_MAJOR@ LIBLEPTON_SHLIB_VERSION = @LIBLEPTON_SHLIB_VERSION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSTROKE_CPPFLAGS = @LIBSTROKE_CPPFLAGS@ LIBSTROKE_LDFLAGS = @LIBSTROKE_LDFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ M4 = @M4@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MINGW_CFLAGS = @MINGW_CFLAGS@ MINGW_GUI_LDFLAGS = @MINGW_GUI_LDFLAGS@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCBDATADIR = @PCBDATADIR@ PCBLIBPATH = @PCBLIBPATH@ PCBM4DIR = @PCBM4DIR@ PDFLATEX = @PDFLATEX@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ URI_VIEWER = @URI_VIEWER@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDOWS_LIBTOOL_FLAGS = @WINDOWS_LIBTOOL_FLAGS@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ dist_man_MANS = \ lepton-pcb_backannotate.1 EXTRA_DIST = \ lepton-pcb_backannotate.1.in # Rules for converting man->html html_man_files = $(dist_man_MANS:%.1=%.html) SUFFIXES = .1.in .1 .html docsmandir = $(docdir)/man dist_docsman_DATA = $(html_man_files) CLEANFILES = $(dist_man_MANS) $(html_man_files) all: all-am .SUFFIXES: .SUFFIXES: .1.in .1 .html $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/pcb_backannotate/docs/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign utils/pcb_backannotate/docs/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-man1: $(dist_man_MANS) @$(NORMAL_INSTALL) @list1=''; \ list2='$(dist_man_MANS)'; \ test -n "$(man1dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.1[a-z]*$$/p'; \ fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ done | \ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ sed 'N;N;s,\n, ,g' | { \ list=; while read file base inst; do \ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ fi; \ done; \ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ while read files; do \ test -z "$$files" || { \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ done; } uninstall-man1: @$(NORMAL_UNINSTALL) @list=''; test -n "$(man1dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \ sed -n '/\.1[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) install-dist_docsmanDATA: $(dist_docsman_DATA) @$(NORMAL_INSTALL) @list='$(dist_docsman_DATA)'; test -n "$(docsmandir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(docsmandir)'"; \ $(MKDIR_P) "$(DESTDIR)$(docsmandir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docsmandir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(docsmandir)" || exit $$?; \ done uninstall-dist_docsmanDATA: @$(NORMAL_UNINSTALL) @list='$(dist_docsman_DATA)'; test -n "$(docsmandir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(docsmandir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(MANS) $(DATA) installdirs: for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docsmandir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dist_docsmanDATA install-man install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-man1 install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-dist_docsmanDATA uninstall-man uninstall-man: uninstall-man1 .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am \ install-dist_docsmanDATA install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-man1 \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags-am uninstall uninstall-am uninstall-dist_docsmanDATA \ uninstall-man uninstall-man1 .PRECIOUS: Makefile .1.in.1: d=`$(GUILE) -c '(setlocale LC_ALL "C") \ (display (strftime "%B %-d, %Y" \ (car (strptime "%Y%m%d" (cadr (program-arguments))))))' $(DATE_VERSION)` ; \ v="$(DOTTED_VERSION).$(DATE_VERSION)" ; \ y=`echo $(DATE_VERSION)| sed -e"s/\(....\).*/\1/"`; \ sed -e"s:[@]DATE@:$$d:" -e"s:[@]VERSION@:$$v:" -e"s:[@]YEAR@:$$y:" < $< > $@ @ENABLE_GROFF_HTML_TRUE@.1.html: @ENABLE_GROFF_HTML_TRUE@ rm -rf $@.tmp && \ @ENABLE_GROFF_HTML_TRUE@ LC_NUMERIC=C $(GROFF) -man -T html $< >$@.tmp && \ @ENABLE_GROFF_HTML_TRUE@ mv -f $@.tmp $@ @ENABLE_GROFF_HTML_FALSE@.1.html: @ENABLE_GROFF_HTML_FALSE@ @echo "No working groff available: cannot create $@" @ENABLE_GROFF_HTML_FALSE@ @! : # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/pcb_backannotate/docs/lepton-pcb_backannotate.10000644000175000017500000000354214101262653022772 00000000000000.TH lepton-pcb_backannotate 1 "July 31, 2021" "Lepton EDA" 1.9.16.20210731 .SH NAME .B lepton-pcb_backannotate \- back-annotates changes from a PCB annotation file to schematic .SH SYNOPSIS .B lepton-pcb_backannotate \-h\||\-\-help .B lepton-pcb_backannotate \-V\||\-\-version .B lepton-pcb_backannotate [options] .I ecofile.eco infile1.sch ... .SH DESCRIPTION The .I lepton-pcb_backannotate program reads an engineering change order (ECO) file generated by the PCB program (using the Renumber() action) and back-annotates the requested changes to a lepton-schematic schematic(s). Currently it supports back annotation of reference designators (refdes). .SH OPTIONS .TP \-h, \-\-help prints help message and exits .TP \-n, \-\-nocopy Leave the modified schematic files in new files whose names are generated by appending .I ".new" to the original file names. The default is to overwrite the original. .TP \-v, \-\-verbose operate verbosely .TP \-V, \-\-version prints version information and exits .SH EXIT STATUS .I lepton-pcb_backannotate will return .B 0 if all files processed successfully, .B non-zero if the command did not complete successfully. .SH BUGS Rather than parsing and processing schematic files directly, this utility should be rewritten using the Lepton EDA scheme API. This would take advantage of the existing parsers for the schematic files. .SH AUTHOR Dan McMahill .SH SEE ALSO lepton-netlist(1), lepton-schematic(1), pcb(1) .SH COPYRIGHT .nf Copyright \(co 2003, 2006, 2010 Dan McMahill. Copyright \(co 2003-2014 gEDA Contributors. Copyright \(co 2018-2021 Lepton EDA Contributors. License GPLv2+: GNU GPL version 2 or later. Please see the `COPYING' file included with this program for full details. .PP This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. lepton-eda-1.9.16/utils/pcb_backannotate/Makefile.in0000644000175000017500000006250314101262632017247 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = utils/pcb_backannotate ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/guile.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lepton-assert.m4 \ $(top_srcdir)/m4/lepton-attrib.m4 \ $(top_srcdir)/m4/lepton-awk.m4 \ $(top_srcdir)/m4/lepton-cairo.m4 \ $(top_srcdir)/m4/lepton-contrib.m4 \ $(top_srcdir)/m4/lepton-data-dirs.m4 \ $(top_srcdir)/m4/lepton-desktop-i18n.m4 \ $(top_srcdir)/m4/lepton-desktop.m4 \ $(top_srcdir)/m4/lepton-doxygen.m4 \ $(top_srcdir)/m4/lepton-gcc-flags.m4 \ $(top_srcdir)/m4/lepton-git-version.m4 \ $(top_srcdir)/m4/lepton-git.m4 \ $(top_srcdir)/m4/lepton-groff.m4 \ $(top_srcdir)/m4/lepton-guile.m4 \ $(top_srcdir)/m4/lepton-host.m4 \ $(top_srcdir)/m4/lepton-stroke.m4 \ $(top_srcdir)/m4/lepton-uri-viewer.m4 \ $(top_srcdir)/m4/lepton-windows.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/liblepton.m4 \ $(top_srcdir)/m4/libleptonattrib.m4 \ $(top_srcdir)/m4/libleptongui.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pcb-data-dirs.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(bindir)" SCRIPTS = $(bin_SCRIPTS) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir distdir-am am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITMAP_DIRECTORY = @BITMAP_DIRECTORY@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@ CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@ CAIRO_PNG_CFLAGS = @CAIRO_PNG_CFLAGS@ CAIRO_PNG_LIBS = @CAIRO_PNG_LIBS@ CAIRO_PS_CFLAGS = @CAIRO_PS_CFLAGS@ CAIRO_PS_LIBS = @CAIRO_PS_LIBS@ CAIRO_SVG_CFLAGS = @CAIRO_SVG_CFLAGS@ CAIRO_SVG_LIBS = @CAIRO_SVG_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE_VERSION = @DATE_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DESKTOP_I18N = @DESKTOP_I18N@ DESKTOP_I18N_CREATE = @DESKTOP_I18N_CREATE@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@ DESKTOP_I18N_SCRIPT = @DESKTOP_I18N_SCRIPT@ DLLTOOL = @DLLTOOL@ DOT = @DOT@ DOTTED_VERSION = @DOTTED_VERSION@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GDK_CFLAGS = @GDK_CFLAGS@ GDK_LIBS = @GDK_LIBS@ GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@ GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@ GETTEXT = @GETTEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GIT = @GIT@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GROFF = @GROFF@ GTKEXTRA_CFLAGS = @GTKEXTRA_CFLAGS@ GTKEXTRA_LIBS = @GTKEXTRA_LIBS@ GTKSHEET_CFLAGS = @GTKSHEET_CFLAGS@ GTKSHEET_LIBS = @GTKSHEET_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GUILD = @GUILD@ GUILE = @GUILE@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@ GUILE_LDFLAGS = @GUILE_LDFLAGS@ GUILE_LIBS = @GUILE_LIBS@ GUILE_LTLIBS = @GUILE_LTLIBS@ GUILE_PKG_NAME = @GUILE_PKG_NAME@ GUILE_SNARF = @GUILE_SNARF@ GUILE_TOOLS = @GUILE_TOOLS@ HAVE_GIT_REPO = @HAVE_GIT_REPO@ ICON_THEME_INSTALLER = @ICON_THEME_INSTALLER@ INKSCAPE = @INKSCAPE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEPTONDATADIR = @LEPTONDATADIR@ LEPTON_SCHEME_MODULE_DIRECTORY = @LEPTON_SCHEME_MODULE_DIRECTORY@ LEPTON_SCM_PRECOMPILE_DIR = @LEPTON_SCM_PRECOMPILE_DIR@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBLEPTONATTRIB_MAJOR = @LIBLEPTONATTRIB_MAJOR@ LIBLEPTONATTRIB_SHLIB_VERSION = @LIBLEPTONATTRIB_SHLIB_VERSION@ LIBLEPTONGUI_MAJOR = @LIBLEPTONGUI_MAJOR@ LIBLEPTONGUI_SHLIB_VERSION = @LIBLEPTONGUI_SHLIB_VERSION@ LIBLEPTON_GETTEXT_DOMAIN = @LIBLEPTON_GETTEXT_DOMAIN@ LIBLEPTON_MAJOR = @LIBLEPTON_MAJOR@ LIBLEPTON_SHLIB_VERSION = @LIBLEPTON_SHLIB_VERSION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSTROKE_CPPFLAGS = @LIBSTROKE_CPPFLAGS@ LIBSTROKE_LDFLAGS = @LIBSTROKE_LDFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ M4 = @M4@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MINGW_CFLAGS = @MINGW_CFLAGS@ MINGW_GUI_LDFLAGS = @MINGW_GUI_LDFLAGS@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCBDATADIR = @PCBDATADIR@ PCBLIBPATH = @PCBLIBPATH@ PCBM4DIR = @PCBM4DIR@ PDFLATEX = @PDFLATEX@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ URI_VIEWER = @URI_VIEWER@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDOWS_LIBTOOL_FLAGS = @WINDOWS_LIBTOOL_FLAGS@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = \ docs bin_SCRIPTS = \ lepton-pcb_backannotate EXTRA_DIST = \ lepton-pcb_backannotate all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/pcb_backannotate/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign utils/pcb_backannotate/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-binSCRIPTS: $(bin_SCRIPTS) @$(NORMAL_INSTALL) @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n' \ -e 'h;s|.*|.|' \ -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) { files[d] = files[d] " " $$1; \ if (++n[d] == $(am__install_max)) { \ print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ else { print "f", d "/" $$4, $$1 } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 's,.*/,,;$(transform)'`; \ dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir) mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(SCRIPTS) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(bindir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-binSCRIPTS install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-binSCRIPTS .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ check-am clean clean-generic clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-binSCRIPTS install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ uninstall-am uninstall-binSCRIPTS .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/embed/0000755000175000017500000000000014101262653013055 500000000000000lepton-eda-1.9.16/utils/embed/Makefile.am0000644000175000017500000000071014101257250015024 00000000000000SUBDIRS = \ docs bin_SCRIPTS = \ lepton-embed EXTRA_DIST = \ lepton-embed.scm do_subst = sed -e 's,[@]libdir[@],$(libdir),g' \ -e 's,[@]GUILE[@],$(GUILE),g' \ -e 's,[@]LEPTON_SCHEME_MODULE_DIRECTORY[@],$(LEPTON_SCHEME_MODULE_DIRECTORY),g' \ -e 's,[@]localedir[@],$(localedir),g' \ -e 's,[@]ccachedir[@],@LEPTON_SCM_PRECOMPILE_DIR@,g' lepton-embed: lepton-embed.scm $(do_subst) < $(srcdir)/$@.scm > $@ chmod +x $@ CLEANFILES = \ lepton-embed lepton-eda-1.9.16/utils/embed/docs/0000755000175000017500000000000014101262653014005 500000000000000lepton-eda-1.9.16/utils/embed/docs/Makefile.am0000644000175000017500000000147614101257250015766 00000000000000dist_man_MANS = \ lepton-embed.1 EXTRA_DIST = \ lepton-embed.1.in .1.in.1: d=`$(GUILE) -c '(setlocale LC_ALL "C") \ (display (strftime "%B %-d, %Y" \ (car (strptime "%Y%m%d" (cadr (program-arguments))))))' $(DATE_VERSION)` ; \ v="$(DOTTED_VERSION).$(DATE_VERSION)" ; \ y=`echo $(DATE_VERSION)| sed -e"s/\(....\).*/\1/"`; \ sed -e"s:[@]DATE@:$$d:" -e"s:[@]VERSION@:$$v:" -e"s:[@]YEAR@:$$y:" < $< > $@ # Rules for converting man->html html_man_files = $(dist_man_MANS:%.1=%.html) SUFFIXES = .1.in .1 .html docsmandir=$(docdir)/man dist_docsman_DATA=$(html_man_files) if ENABLE_GROFF_HTML .1.html: rm -rf $@.tmp && \ LC_NUMERIC=C $(GROFF) -man -T html $< >$@.tmp && \ mv -f $@.tmp $@ else .1.html: @echo "No working groff available: cannot create $@" @! : endif CLEANFILES = $(dist_man_MANS) $(html_man_files) lepton-eda-1.9.16/utils/embed/docs/lepton-embed.1.in0000644000175000017500000000353514101257250016772 00000000000000.TH lepton-embed 1 "@DATE@" "Lepton EDA" @VERSION@ .SH NAME lepton-embed \- Embed/unembed schematic components and pictures .SH SYNOPSIS .B lepton-embed \fB-e\fR | \fB-u\fR [\fIOPTIONS\fR] \fIFILE\fR ... .SH DESCRIPTION .B lepton-embed can embed the in-use schematic symbols and pictures into a schematic or set of schematics. It allows, for instance, putting a schematic on a website or in an email without the recipient needing to download lots of custom symbols for the design. .PP .B lepton-embed can also unembed symbol references from a schematic, but note that the symbols revert to library references; if the symbol doesn't exist in the current Lepton EDA project's library path, a broken schematic results. .SH OPTIONS .TP .BR \-e ", " \-\-embed Embed. Without \fB-p\fR or \fB-c\fR, embed all components and pictures. .TP .BR \-u ", " \-\-unembed Unembed. Without \fB-p\fR or \fB-c\fR, unembed all components and pictures. .TP .BR \-p ", " \-\-pictures Process pictures only. .TP .BR \-c ", " \-\-components Process components only. .TP .BR \-x ", " \-\-suffix " " \fBSUFFIX\fR Do not change input files. Modified files will be saved as \fIFILE\fR\fB.SUFFIX\fR. .TP .BR \-V ", " \-\-version Show version information. .TP .BR \-h ", " \-\-help Show usage information. .SH AUTHOR The initial program (gschlas, later renamed to lepton-schlas) has been written by Ales Hvezda . The lepton-embed Scheme script has been written by dmn . .SH SEE ALSO .BR lepton-schematic(1) .SH COPYRIGHT .nf Copyright \(co 2012-2017 gEDA Contributors. Copyright \(co 2019-@YEAR@ Lepton EDA Contributors. License GPLv2+: GNU GPL version 2 or later. Please see the `COPYING' file included with this program for full details. .PP This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. lepton-eda-1.9.16/utils/embed/docs/lepton-embed.10000644000175000017500000000355014101262653016365 00000000000000.TH lepton-embed 1 "July 31, 2021" "Lepton EDA" 1.9.16.20210731 .SH NAME lepton-embed \- Embed/unembed schematic components and pictures .SH SYNOPSIS .B lepton-embed \fB-e\fR | \fB-u\fR [\fIOPTIONS\fR] \fIFILE\fR ... .SH DESCRIPTION .B lepton-embed can embed the in-use schematic symbols and pictures into a schematic or set of schematics. It allows, for instance, putting a schematic on a website or in an email without the recipient needing to download lots of custom symbols for the design. .PP .B lepton-embed can also unembed symbol references from a schematic, but note that the symbols revert to library references; if the symbol doesn't exist in the current Lepton EDA project's library path, a broken schematic results. .SH OPTIONS .TP .BR \-e ", " \-\-embed Embed. Without \fB-p\fR or \fB-c\fR, embed all components and pictures. .TP .BR \-u ", " \-\-unembed Unembed. Without \fB-p\fR or \fB-c\fR, unembed all components and pictures. .TP .BR \-p ", " \-\-pictures Process pictures only. .TP .BR \-c ", " \-\-components Process components only. .TP .BR \-x ", " \-\-suffix " " \fBSUFFIX\fR Do not change input files. Modified files will be saved as \fIFILE\fR\fB.SUFFIX\fR. .TP .BR \-V ", " \-\-version Show version information. .TP .BR \-h ", " \-\-help Show usage information. .SH AUTHOR The initial program (gschlas, later renamed to lepton-schlas) has been written by Ales Hvezda . The lepton-embed Scheme script has been written by dmn . .SH SEE ALSO .BR lepton-schematic(1) .SH COPYRIGHT .nf Copyright \(co 2012-2017 gEDA Contributors. Copyright \(co 2019-2021 Lepton EDA Contributors. License GPLv2+: GNU GPL version 2 or later. Please see the `COPYING' file included with this program for full details. .PP This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. lepton-eda-1.9.16/utils/embed/docs/lepton-embed.html0000644000175000017500000000765214101262653017200 00000000000000 lepton-embed

lepton-embed

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
AUTHOR
SEE ALSO
COPYRIGHT

NAME

lepton-embed - Embed/unembed schematic components and pictures

SYNOPSIS

lepton-embed -e | -u [OPTIONS] FILE ...

DESCRIPTION

lepton-embed can embed the in-use schematic symbols and pictures into a schematic or set of schematics. It allows, for instance, putting a schematic on a website or in an email without the recipient needing to download lots of custom symbols for the design.

lepton-embed can also unembed symbol references from a schematic, but note that the symbols revert to library references; if the symbol doesn’t exist in the current Lepton EDA project’s library path, a broken schematic results.

OPTIONS

-e, --embed

Embed. Without -p or -c, embed all components and pictures.

-u, --unembed

Unembed. Without -p or -c, unembed all components and pictures.

-p, --pictures

Process pictures only.

-c, --components

Process components only.

-x, --suffix SUFFIX

Do not change input files. Modified files will be saved as FILE.SUFFIX.

-V, --version

Show version information.

-h, --help

Show usage information.

AUTHOR

The initial program (gschlas, later renamed to lepton-schlas) has been written by Ales Hvezda <ahvezda@seul.org>. The lepton-embed Scheme script has been written by dmn <graahnul.grom@gmail.com>.

SEE ALSO

lepton-schematic(1)

COPYRIGHT

Copyright © 2012-2017 gEDA Contributors.
Copyright © 2019-2021 Lepton EDA Contributors.
License GPLv2+: GNU GPL version 2 or later. Please see the ’COPYING’
file included with this program for full details.

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


lepton-eda-1.9.16/utils/embed/docs/Makefile.in0000644000175000017500000005241114101262632015772 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = utils/embed/docs ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/guile.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lepton-assert.m4 \ $(top_srcdir)/m4/lepton-attrib.m4 \ $(top_srcdir)/m4/lepton-awk.m4 \ $(top_srcdir)/m4/lepton-cairo.m4 \ $(top_srcdir)/m4/lepton-contrib.m4 \ $(top_srcdir)/m4/lepton-data-dirs.m4 \ $(top_srcdir)/m4/lepton-desktop-i18n.m4 \ $(top_srcdir)/m4/lepton-desktop.m4 \ $(top_srcdir)/m4/lepton-doxygen.m4 \ $(top_srcdir)/m4/lepton-gcc-flags.m4 \ $(top_srcdir)/m4/lepton-git-version.m4 \ $(top_srcdir)/m4/lepton-git.m4 \ $(top_srcdir)/m4/lepton-groff.m4 \ $(top_srcdir)/m4/lepton-guile.m4 \ $(top_srcdir)/m4/lepton-host.m4 \ $(top_srcdir)/m4/lepton-stroke.m4 \ $(top_srcdir)/m4/lepton-uri-viewer.m4 \ $(top_srcdir)/m4/lepton-windows.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/liblepton.m4 \ $(top_srcdir)/m4/libleptonattrib.m4 \ $(top_srcdir)/m4/libleptongui.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pcb-data-dirs.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(dist_docsman_DATA) \ $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } man1dir = $(mandir)/man1 am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docsmandir)" NROFF = nroff MANS = $(dist_man_MANS) DATA = $(dist_docsman_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(dist_man_MANS) $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITMAP_DIRECTORY = @BITMAP_DIRECTORY@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@ CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@ CAIRO_PNG_CFLAGS = @CAIRO_PNG_CFLAGS@ CAIRO_PNG_LIBS = @CAIRO_PNG_LIBS@ CAIRO_PS_CFLAGS = @CAIRO_PS_CFLAGS@ CAIRO_PS_LIBS = @CAIRO_PS_LIBS@ CAIRO_SVG_CFLAGS = @CAIRO_SVG_CFLAGS@ CAIRO_SVG_LIBS = @CAIRO_SVG_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE_VERSION = @DATE_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DESKTOP_I18N = @DESKTOP_I18N@ DESKTOP_I18N_CREATE = @DESKTOP_I18N_CREATE@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@ DESKTOP_I18N_SCRIPT = @DESKTOP_I18N_SCRIPT@ DLLTOOL = @DLLTOOL@ DOT = @DOT@ DOTTED_VERSION = @DOTTED_VERSION@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GDK_CFLAGS = @GDK_CFLAGS@ GDK_LIBS = @GDK_LIBS@ GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@ GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@ GETTEXT = @GETTEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GIT = @GIT@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GROFF = @GROFF@ GTKEXTRA_CFLAGS = @GTKEXTRA_CFLAGS@ GTKEXTRA_LIBS = @GTKEXTRA_LIBS@ GTKSHEET_CFLAGS = @GTKSHEET_CFLAGS@ GTKSHEET_LIBS = @GTKSHEET_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GUILD = @GUILD@ GUILE = @GUILE@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@ GUILE_LDFLAGS = @GUILE_LDFLAGS@ GUILE_LIBS = @GUILE_LIBS@ GUILE_LTLIBS = @GUILE_LTLIBS@ GUILE_PKG_NAME = @GUILE_PKG_NAME@ GUILE_SNARF = @GUILE_SNARF@ GUILE_TOOLS = @GUILE_TOOLS@ HAVE_GIT_REPO = @HAVE_GIT_REPO@ ICON_THEME_INSTALLER = @ICON_THEME_INSTALLER@ INKSCAPE = @INKSCAPE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEPTONDATADIR = @LEPTONDATADIR@ LEPTON_SCHEME_MODULE_DIRECTORY = @LEPTON_SCHEME_MODULE_DIRECTORY@ LEPTON_SCM_PRECOMPILE_DIR = @LEPTON_SCM_PRECOMPILE_DIR@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBLEPTONATTRIB_MAJOR = @LIBLEPTONATTRIB_MAJOR@ LIBLEPTONATTRIB_SHLIB_VERSION = @LIBLEPTONATTRIB_SHLIB_VERSION@ LIBLEPTONGUI_MAJOR = @LIBLEPTONGUI_MAJOR@ LIBLEPTONGUI_SHLIB_VERSION = @LIBLEPTONGUI_SHLIB_VERSION@ LIBLEPTON_GETTEXT_DOMAIN = @LIBLEPTON_GETTEXT_DOMAIN@ LIBLEPTON_MAJOR = @LIBLEPTON_MAJOR@ LIBLEPTON_SHLIB_VERSION = @LIBLEPTON_SHLIB_VERSION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSTROKE_CPPFLAGS = @LIBSTROKE_CPPFLAGS@ LIBSTROKE_LDFLAGS = @LIBSTROKE_LDFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ M4 = @M4@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MINGW_CFLAGS = @MINGW_CFLAGS@ MINGW_GUI_LDFLAGS = @MINGW_GUI_LDFLAGS@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCBDATADIR = @PCBDATADIR@ PCBLIBPATH = @PCBLIBPATH@ PCBM4DIR = @PCBM4DIR@ PDFLATEX = @PDFLATEX@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ URI_VIEWER = @URI_VIEWER@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDOWS_LIBTOOL_FLAGS = @WINDOWS_LIBTOOL_FLAGS@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ dist_man_MANS = \ lepton-embed.1 EXTRA_DIST = \ lepton-embed.1.in # Rules for converting man->html html_man_files = $(dist_man_MANS:%.1=%.html) SUFFIXES = .1.in .1 .html docsmandir = $(docdir)/man dist_docsman_DATA = $(html_man_files) CLEANFILES = $(dist_man_MANS) $(html_man_files) all: all-am .SUFFIXES: .SUFFIXES: .1.in .1 .html $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/embed/docs/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign utils/embed/docs/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-man1: $(dist_man_MANS) @$(NORMAL_INSTALL) @list1=''; \ list2='$(dist_man_MANS)'; \ test -n "$(man1dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.1[a-z]*$$/p'; \ fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ done | \ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ sed 'N;N;s,\n, ,g' | { \ list=; while read file base inst; do \ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ fi; \ done; \ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ while read files; do \ test -z "$$files" || { \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ done; } uninstall-man1: @$(NORMAL_UNINSTALL) @list=''; test -n "$(man1dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \ sed -n '/\.1[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) install-dist_docsmanDATA: $(dist_docsman_DATA) @$(NORMAL_INSTALL) @list='$(dist_docsman_DATA)'; test -n "$(docsmandir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(docsmandir)'"; \ $(MKDIR_P) "$(DESTDIR)$(docsmandir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docsmandir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(docsmandir)" || exit $$?; \ done uninstall-dist_docsmanDATA: @$(NORMAL_UNINSTALL) @list='$(dist_docsman_DATA)'; test -n "$(docsmandir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(docsmandir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(MANS) $(DATA) installdirs: for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docsmandir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dist_docsmanDATA install-man install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-man1 install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-dist_docsmanDATA uninstall-man uninstall-man: uninstall-man1 .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am \ install-dist_docsmanDATA install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-man1 \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags-am uninstall uninstall-am uninstall-dist_docsmanDATA \ uninstall-man uninstall-man1 .PRECIOUS: Makefile .1.in.1: d=`$(GUILE) -c '(setlocale LC_ALL "C") \ (display (strftime "%B %-d, %Y" \ (car (strptime "%Y%m%d" (cadr (program-arguments))))))' $(DATE_VERSION)` ; \ v="$(DOTTED_VERSION).$(DATE_VERSION)" ; \ y=`echo $(DATE_VERSION)| sed -e"s/\(....\).*/\1/"`; \ sed -e"s:[@]DATE@:$$d:" -e"s:[@]VERSION@:$$v:" -e"s:[@]YEAR@:$$y:" < $< > $@ @ENABLE_GROFF_HTML_TRUE@.1.html: @ENABLE_GROFF_HTML_TRUE@ rm -rf $@.tmp && \ @ENABLE_GROFF_HTML_TRUE@ LC_NUMERIC=C $(GROFF) -man -T html $< >$@.tmp && \ @ENABLE_GROFF_HTML_TRUE@ mv -f $@.tmp $@ @ENABLE_GROFF_HTML_FALSE@.1.html: @ENABLE_GROFF_HTML_FALSE@ @echo "No working groff available: cannot create $@" @ENABLE_GROFF_HTML_FALSE@ @! : # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/embed/Makefile.in0000644000175000017500000006326614101262632015054 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = utils/embed ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/guile.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lepton-assert.m4 \ $(top_srcdir)/m4/lepton-attrib.m4 \ $(top_srcdir)/m4/lepton-awk.m4 \ $(top_srcdir)/m4/lepton-cairo.m4 \ $(top_srcdir)/m4/lepton-contrib.m4 \ $(top_srcdir)/m4/lepton-data-dirs.m4 \ $(top_srcdir)/m4/lepton-desktop-i18n.m4 \ $(top_srcdir)/m4/lepton-desktop.m4 \ $(top_srcdir)/m4/lepton-doxygen.m4 \ $(top_srcdir)/m4/lepton-gcc-flags.m4 \ $(top_srcdir)/m4/lepton-git-version.m4 \ $(top_srcdir)/m4/lepton-git.m4 \ $(top_srcdir)/m4/lepton-groff.m4 \ $(top_srcdir)/m4/lepton-guile.m4 \ $(top_srcdir)/m4/lepton-host.m4 \ $(top_srcdir)/m4/lepton-stroke.m4 \ $(top_srcdir)/m4/lepton-uri-viewer.m4 \ $(top_srcdir)/m4/lepton-windows.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/liblepton.m4 \ $(top_srcdir)/m4/libleptonattrib.m4 \ $(top_srcdir)/m4/libleptongui.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pcb-data-dirs.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(bindir)" SCRIPTS = $(bin_SCRIPTS) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir distdir-am am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITMAP_DIRECTORY = @BITMAP_DIRECTORY@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@ CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@ CAIRO_PNG_CFLAGS = @CAIRO_PNG_CFLAGS@ CAIRO_PNG_LIBS = @CAIRO_PNG_LIBS@ CAIRO_PS_CFLAGS = @CAIRO_PS_CFLAGS@ CAIRO_PS_LIBS = @CAIRO_PS_LIBS@ CAIRO_SVG_CFLAGS = @CAIRO_SVG_CFLAGS@ CAIRO_SVG_LIBS = @CAIRO_SVG_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE_VERSION = @DATE_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DESKTOP_I18N = @DESKTOP_I18N@ DESKTOP_I18N_CREATE = @DESKTOP_I18N_CREATE@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@ DESKTOP_I18N_SCRIPT = @DESKTOP_I18N_SCRIPT@ DLLTOOL = @DLLTOOL@ DOT = @DOT@ DOTTED_VERSION = @DOTTED_VERSION@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GDK_CFLAGS = @GDK_CFLAGS@ GDK_LIBS = @GDK_LIBS@ GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@ GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@ GETTEXT = @GETTEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GIT = @GIT@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GROFF = @GROFF@ GTKEXTRA_CFLAGS = @GTKEXTRA_CFLAGS@ GTKEXTRA_LIBS = @GTKEXTRA_LIBS@ GTKSHEET_CFLAGS = @GTKSHEET_CFLAGS@ GTKSHEET_LIBS = @GTKSHEET_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GUILD = @GUILD@ GUILE = @GUILE@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@ GUILE_LDFLAGS = @GUILE_LDFLAGS@ GUILE_LIBS = @GUILE_LIBS@ GUILE_LTLIBS = @GUILE_LTLIBS@ GUILE_PKG_NAME = @GUILE_PKG_NAME@ GUILE_SNARF = @GUILE_SNARF@ GUILE_TOOLS = @GUILE_TOOLS@ HAVE_GIT_REPO = @HAVE_GIT_REPO@ ICON_THEME_INSTALLER = @ICON_THEME_INSTALLER@ INKSCAPE = @INKSCAPE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEPTONDATADIR = @LEPTONDATADIR@ LEPTON_SCHEME_MODULE_DIRECTORY = @LEPTON_SCHEME_MODULE_DIRECTORY@ LEPTON_SCM_PRECOMPILE_DIR = @LEPTON_SCM_PRECOMPILE_DIR@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBLEPTONATTRIB_MAJOR = @LIBLEPTONATTRIB_MAJOR@ LIBLEPTONATTRIB_SHLIB_VERSION = @LIBLEPTONATTRIB_SHLIB_VERSION@ LIBLEPTONGUI_MAJOR = @LIBLEPTONGUI_MAJOR@ LIBLEPTONGUI_SHLIB_VERSION = @LIBLEPTONGUI_SHLIB_VERSION@ LIBLEPTON_GETTEXT_DOMAIN = @LIBLEPTON_GETTEXT_DOMAIN@ LIBLEPTON_MAJOR = @LIBLEPTON_MAJOR@ LIBLEPTON_SHLIB_VERSION = @LIBLEPTON_SHLIB_VERSION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSTROKE_CPPFLAGS = @LIBSTROKE_CPPFLAGS@ LIBSTROKE_LDFLAGS = @LIBSTROKE_LDFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ M4 = @M4@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MINGW_CFLAGS = @MINGW_CFLAGS@ MINGW_GUI_LDFLAGS = @MINGW_GUI_LDFLAGS@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCBDATADIR = @PCBDATADIR@ PCBLIBPATH = @PCBLIBPATH@ PCBM4DIR = @PCBM4DIR@ PDFLATEX = @PDFLATEX@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ URI_VIEWER = @URI_VIEWER@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDOWS_LIBTOOL_FLAGS = @WINDOWS_LIBTOOL_FLAGS@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = \ docs bin_SCRIPTS = \ lepton-embed EXTRA_DIST = \ lepton-embed.scm do_subst = sed -e 's,[@]libdir[@],$(libdir),g' \ -e 's,[@]GUILE[@],$(GUILE),g' \ -e 's,[@]LEPTON_SCHEME_MODULE_DIRECTORY[@],$(LEPTON_SCHEME_MODULE_DIRECTORY),g' \ -e 's,[@]localedir[@],$(localedir),g' \ -e 's,[@]ccachedir[@],@LEPTON_SCM_PRECOMPILE_DIR@,g' CLEANFILES = \ lepton-embed all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/embed/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign utils/embed/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-binSCRIPTS: $(bin_SCRIPTS) @$(NORMAL_INSTALL) @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n' \ -e 'h;s|.*|.|' \ -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) { files[d] = files[d] " " $$1; \ if (++n[d] == $(am__install_max)) { \ print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ else { print "f", d "/" $$4, $$1 } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 's,.*/,,;$(transform)'`; \ dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir) mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(SCRIPTS) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(bindir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-binSCRIPTS install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-binSCRIPTS .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ check-am clean clean-generic clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-binSCRIPTS install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ uninstall-am uninstall-binSCRIPTS .PRECIOUS: Makefile lepton-embed: lepton-embed.scm $(do_subst) < $(srcdir)/$@.scm > $@ chmod +x $@ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/embed/lepton-embed.scm0000644000175000017500000001257214101257250016060 00000000000000#!/usr/bin/env sh export GUILE_LOAD_COMPILED_PATH="@ccachedir@:${GUILE_LOAD_COMPILED_PATH}" exec @GUILE@ "$0" "$@" !# ;; ;; Lepton EDA ;; lepton-embed - schematic components and pictures embedding utility ;; Copyright (C) 2019 dmn ;; Copyright (C) 2019-2021 Lepton EDA Contributors ;; License: GPLv2+. See the COPYING file ;; (eval-when (expand load eval) (unless (getenv "LIBLEPTON") (add-to-load-path "@LEPTON_SCHEME_MODULE_DIRECTORY@"))) (use-modules (ice-9 format) (ice-9 getopt-long) (lepton ffi)) ;; Initialize liblepton library. (liblepton_init) ( primitive-eval '(use-modules (lepton core toplevel)) ) ( primitive-eval '(use-modules (lepton object)) ) ( primitive-eval '(use-modules (lepton page)) ) ( primitive-eval '(use-modules (lepton rc)) ) ( primitive-eval '(use-modules (lepton version)) ) ; command line options: ; ( define cmd-line-args-spec ( list ( list ; --embed (-e) 'embed ( list 'single-char #\e ) ( list 'value #f ) ) ( list ; --unembed (-u) 'unembed ( list 'single-char #\u ) ( list 'value #f ) ) ( list ; --pictures (-p) 'pictures ( list 'single-char #\p ) ( list 'value #f ) ) ( list ; --components (-c) 'components ( list 'single-char #\c ) ( list 'value #f ) ) ( list ; --suffix (-x) 'suffix ( list 'single-char #\x ) ( list 'value #t ) ) ( list ; --help (-h) 'help ( list 'single-char #\h ) ( list 'value #f ) ) ( list ; --version (-V) 'version ( list 'single-char #\V ) ( list 'value #f ) ) ) ) ; cmd-line-args-spec ( define ( usage exit-code ) ( format #t "~ Usage: lepton-embed -e | -u [OPTIONS] FILE ... Lepton EDA schematic components and pictures embedding/unembedding utility. Options: -e, --embed Embed: without -p or -c, all components and pictures -u, --unembed Unembed: without -p or -c, all components and pictures -p, --pictures Process pictures only -c, --components Process components only -x, --suffix SUFFIX Keep input files intact, save to FILE.SUFFIX -h, --help Show usage information -V, --version Show version information Report bugs at <~a> Lepton EDA homepage: <~a> " ( lepton-version 'bugs ) ( lepton-version 'url ) ) ( primitive-exit exit-code ) ) ( define ( version ) ( display-lepton-version #:print-name #t #:copyright #t ) ( primitive-exit 0 ) ) ( define ( page-open file ) ( catch #t ( lambda() ; return: ( file->page file ) ) ( lambda( ex . args ) ( format (current-error-port) "Cannot open file [~a]:~% '~a: ~a~%" file ex args ) ; return: #f ) ) ; catch ) ; page-open() ( define ( page-save page suffix ) ( define ( mk-out-file-name file ) ; return: ( if ( string-null? suffix ) file ; if ( format #f "~a~a~a.~a" ; else ( dirname file ) file-name-separator-string ( basename file ) suffix ) ) ) ; mk-out-file-name() ( let* ( ( file ( page-filename page ) ) ( out ( mk-out-file-name file ) ) ) ( catch #t ( lambda() ( with-output-to-file out ( lambda() ( format #t "~a" (page->string page) ) ( format (current-error-port) "Saved: [~a]~%" out ) ; return: #t ) ) ) ( lambda( ex . args ) ( format (current-error-port) "Cannot save file [~a]:~% '~a: ~a~%" out ex args ) ; return: #f ) ) ; catch ) ; let ) ; page-save() ( define ( embeddable? obj ) ; return: ( or ( component? obj ) ( picture? obj ) ) ) ( define ( do-embed page embed chk-embeddable ) ( for-each ( lambda( comp ) ( set-object-embedded! comp embed ) ) ( filter chk-embeddable (page-contents page) ) ) ) ; do-embed() ( define ( process-file file embed chk-embeddable suffix ) ( let ( ( page ( page-open file ) ) ) ( when page ( do-embed page embed chk-embeddable ) ( if ( page-dirty? page ) ( page-save page suffix ) ) ) ) ; let ) ; process-file() ( define ( main ) ( let* ( ( cmd-line-args (getopt-long (program-arguments) cmd-line-args-spec) ) ( files (option-ref cmd-line-args '() '()) ) ( arg-embed (option-ref cmd-line-args 'embed #f) ) ( arg-unembed (option-ref cmd-line-args 'unembed #f) ) ( arg-pics (option-ref cmd-line-args 'pictures #f) ) ( arg-comps (option-ref cmd-line-args 'components #f) ) ( suffix (option-ref cmd-line-args 'suffix "") ) ( chk-embeddable embeddable? ) ) ( if ( option-ref cmd-line-args 'help #f ) ( usage 0 ) ) ( if ( option-ref cmd-line-args 'version #f ) ( version ) ) ( if ( and arg-embed arg-unembed ) ( usage 1 ) ) ( if ( and (not arg-embed) (not arg-unembed) ) ( usage 2 ) ) ( if ( null? files ) ( usage 3 ) ) ( if arg-pics ( set! chk-embeddable picture? ) ) ( if arg-comps ( set! chk-embeddable component? ) ) ( if ( and arg-pics arg-comps ) ( set! chk-embeddable embeddable? ) ) (parse-rc "lepton-embed" "gafrc") ( for-each ( lambda( file ) ( process-file file arg-embed chk-embeddable suffix ) ) files ) ) ; let ) ; main() ( %with-toplevel ( %make-toplevel ) ( lambda() ( main ) ) ) lepton-eda-1.9.16/utils/cli/0000755000175000017500000000000014101262654012551 500000000000000lepton-eda-1.9.16/utils/cli/Makefile.am0000644000175000017500000000002614101257250014517 00000000000000SUBDIRS = po src docs lepton-eda-1.9.16/utils/cli/po/0000755000175000017500000000000014101262654013167 500000000000000lepton-eda-1.9.16/utils/cli/po/ru.po0000644000175000017500000003276114101262226014101 00000000000000# Russian translation for lepton-cli # Copyright (c) 2012-2014 gEDA Developers # Copyright (c) 2012 Sergey Alyoshin # Copyright (c) 2014, 2020 Vladimir Zhbanov # # This file is distributed under the same license as the lepton-eda # package. # # Переводчикам: см. примечания в liblepton/po/ru.po msgid "" msgstr "" "Project-Id-Version: lepton-eda\n" "Report-Msgid-Bugs-To: https://github.com/lepton-eda/lepton-eda/issues\n" "POT-Creation-Date: 2021-07-31 11:51+0300\n" "PO-Revision-Date: 2020-03-20 20:29+0300\n" "Last-Translator: Vladimir Zhbanov \n" "Language-Team: Russian\n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #, c-format msgid "" "Usage: lepton-cli [OPTION...] COMMAND [ARGS ...]\n" "\n" "Lepton EDA command-line utility.\n" "\n" "General options:\n" " --no-rcfiles inhibit loading of 'gafrc' files\n" " -h, --help display usage information and exit\n" " -V, --version display version information and exit\n" "\n" "Commonly-used commands (type `lepton-cli --help' for usage):\n" " shell Scheme REPL for interactive Lepton EDA data processing\n" " config Edit Lepton EDA configuration\n" " export Export Lepton EDA files in various image formats.\n" "\n" "Report bugs at <%1$s>\n" "Lepton EDA homepage: <%2$s>\n" msgstr "" "Использование: lepton-cli [КЛЮЧ...] КОМАНДА [АРГУМЕНТЫ...]\n" "\n" "Утилита командной строки Lepton EDA.\n" "\n" "Общие ключи:\n" " --no-rcfiles запрет загрузки файлов gafrc\n" " -h, --help справка об использовании и выход\n" " -V, --version вывод версии и выход\n" "\n" "Команды (для справки по использованию наберите «lepton-cli <команда> --" "help»):\n" " shell командная оболочка Scheme для интерактивной обработки\n" " данных Lepton EDA;\n" " config изменение настроек Lepton EDA;\n" " export экспорт файлов Lepton EDA в различные форматы изображений.\n" "\n" "Страница для отчётов об ошибках: %1$s\n" "Домашняя страница Lepton EDA: %2$s\n" #, c-format msgid "" "Lepton EDA %s%s.%s (git: %.7s)\n" "%s" msgstr "" #, c-format msgid "" "\n" "Run `lepton-cli --help' for more information.\n" msgstr "" "\n" "Подробности см. в выводе команды «lepton-cli config --help».\n" #, c-format msgid "" "ERROR: You must specify a command to run.\n" "\n" "Run `lepton-cli --help' for more information.\n" msgstr "" "ОШИБКА: Необходимо указать команду для выполнения.\n" "\n" "Подробности см. в выводе команды «lepton-cli --help».\n" #, c-format msgid "" "ERROR: Unrecognised command `%1$s'.\n" "\n" "Run `lepton-cli --help' for more information.\n" msgstr "" "ОШИБКА: Неизвестная команда «%1$s».\n" "\n" "Подробности см. в выводе команды «lepton-cli --help».\n" #, c-format msgid "" "Usage: lepton-cli config [OPTION] [GROUP KEY [VALUE]]\n" "\n" "View and modify Lepton EDA configuration.\n" "\n" " -p, --project[=PATH] select project configuration [PATH=.]\n" " -u, --user select user configuration\n" " -s, --system select system configuration\n" " -c, --cache select cache configuration\n" " -h, --help display usage information and exit\n" "\n" "If GROUP and KEY are specified, retrieves the value of that\n" "configuration parameter. If a VALUE was specified, sets the value of\n" "the parameter. The -p, -u and -s options can be used to select the\n" "configuration store affected (by default, the project configuration\n" "store for the current directory). If no GROUP and KEY were provided,\n" "outputs the filename of the selected configuration store.\n" "\n" "Report bugs at <%1$s>\n" "Lepton EDA homepage: <%2$s>\n" msgstr "" "Использование: lepton-cli config [КЛЮЧ] [ГРУППА ПАРАМЕТР [ЗНАЧЕНИЕ]]\n" "\n" "Просмотр и изменение настроек Lepton EDA.\n" "\n" " -p, --project[=ПУТЬ] выбор настроек проекта [ПУТЬ=.]\n" " -u, --user выбор пользовательских настроек\n" " -s, --system выбор системных настроек\n" " -h, --help информация об использовании и выход\n" "\n" "Если указаны ГРУППА и ПАРАМЕТР, выдаётся значение указанного\n" "параметра. Если указано ЗНАЧЕНИЕ, параметру присваивается заданное\n" "значение. Ключи -p, -u и -s могут использоваться для выбора\n" "хранилища настроек (по умолчанию это хранилище настроек проекта в\n" "текущем каталоге). Если не указаны ни ГРУППА, ни ПАРАМЕТР,\n" "выводится имя файла выбранного хранилища настроек.\n" "\n" "Страница для отчётов об ошибках: %1$s\n" "Домашняя страница Lepton EDA: %2$s\n" msgid "" "\n" "Run `lepton-cli config --help' for more information.\n" msgstr "" "\n" "Подробности см. в выводе команды «lepton-cli config --help».\n" msgid "ERROR: You may only specify a single configuration store.\n" msgstr "ОШИБКА: можно указать только одно хранилище настроек.\n" #. TRANSLATORS: The first string is the filename, the second is #. * the detailed error message #, c-format msgid "WARNING: Could not load '%1$s': %2$s.\n" msgstr "ВНИМАНИЕ: Не удалось загрузить «%1$s»: %2$s.\n" #, c-format msgid "ERROR: You must specify both configuration group and key.\n" msgstr "ОШИБКА: Необходимо указать и группу настроек, и параметр.\n" #, c-format msgid "ERROR: %1$s.\n" msgstr "ОШИБКА: %1$s.\n" #, c-format msgid "ERROR: Bad argument '%1$s' to %2$s option.\n" msgstr "ОШИБКА: Недопустимый аргумент «%1$s» для опции «%2$s».\n" msgid "" "\n" "Run `lepton-cli export --help' for more information.\n" msgstr "" "\n" "Подробности см. в выводе команды «lepton-cli export --help».\n" #, c-format msgid "ERROR: Cannot infer output format from filename '%1$s'.\n" msgstr "ОШИБКА: Не удалось определить формат выходного файла для «%1$s».\n" #, c-format msgid "ERROR: Cannot find supported format for filename '%1$s'.\n" msgstr "ОШИБКА: Не удалось найти поддерживаемый формат для файла «%1$s».\n" #, c-format msgid "ERROR: Unsupported output format '%1$s'.\n" msgstr "ОШИБКА: Вывод в формате «%1$s» не поддерживается.\n" #, c-format msgid "ERROR: Selected output format does not support multipage output\n" msgstr "" "ОШИБКА: многостраничный вывод не поддерживается для выбранного выходного " "формата.\n" #. TRANSLATORS: The first string is the filename, the second #. * is the detailed error message #, c-format msgid "ERROR: Failed to load '%1$s': %2$s\n" msgstr "ОШИБКА: Не удалось загрузить «%1$s»: %2$s\n" #, c-format msgid "ERROR: Failed to change directory to '%1$s': %2$s\n" msgstr "ОШИБКА: Не удалось изменить каталог на «%1$s»: %2$s\n" #, c-format msgid "ERROR: %s.\n" msgstr "ОШИБКА: %s.\n" #, c-format msgid "" "Usage: lepton-cli export [OPTION ...] -o OUTPUT [--] FILE ...\n" "\n" "Export Lepton EDA files in various image formats.\n" "\n" " -f, --format=TYPE output format (normally " "autodetected)\n" " -o, --output=OUTPUT output filename\n" " -p, --paper=NAME select paper size by name\n" " -P, --paper-names list paper size names and exit\n" " -s, --size=WIDTH;HEIGHT specify exact paper size\n" " -k, --scale=FACTOR specify output scale factor\n" " -l, --layout=ORIENT page orientation\n" " -m, --margins=TOP;LEFT;BOTTOM;RIGHT set page margins\n" " -a, --align=HALIGN;VALIGN set alignment of drawing within page\n" " -d, --dpi=DPI pixels-per-inch for raster outputs\n" " -c, --color enable color output\n" " --no-color disable color output\n" " -F, --font=NAME set font family for printing text\n" " -h, --help display usage information and exit\n" "\n" "Report bugs at <%1$s>\n" "Lepton EDA homepage: <%2$s>\n" msgstr "" "Использование: lepton-cli export [КЛЮЧ ...] -o ВЫХОДНОЙ_ФАЙЛ [--] ФАЙЛ ...\n" "\n" "Экспорт файлов Lepton EDA в различные форматы изображений.\n" "\n" " -f, --format=ТИП выходной формат (обычно\n" " определяется автоматически)\n" " -o, --output=ВЫХОДНОЙ_ФАЙЛ имя выходного файла\n" " -p, --paper=ФОРМАТ выбор формата страницы по названию\n" " -s, --size=ШИРИНА;ВЫСОТА задание точных размеров изображения\n" " -k, --scale=КОЭФФИЦИЕНТ задание коэффициента\n" " масштабирования вывода\n" " -l, --layout=ОРИЕНТАЦИЯ ориентация страницы\n" " -m, --margins=СВЕРХУ;СЛЕВА;СНИЗУ;СПРАВА\n" " установка полей страницы\n" " -a, --align=ГОРИЗ_ВЫРАВНИВАНИЕ;ВЕРТ_ВЫРАВНИВАНИЕ\n" " установка выравнивания чертежа\n" " на странице\n" " -d, --dpi=DPI количество точек на дюйм для\n" " растровых изображений\n" " -c, --color цветной вывод\n" " --no-color монохромный вывод\n" " -F, --font=ИМЯ_ШРИФТА имя шрифта для вывода текста\n" " -h, --help справка по использованию и выход\n" "\n" "Страница для отчётов об ошибках: %1$s\n" "Домашняя страница Lepton EDA: %2$s\n" #, c-format msgid "ERROR: You must specify at least one input filename.\n" msgstr "ОШИБКА: необходимо задать имя хотя бы одного входного файла.\n" #, c-format msgid "ERROR: You must specify an output filename.\n" msgstr "ОШИБКА: необходимо задать имя выходного файла.\n" #, c-format msgid "" "Usage: lepton-cli shell [OPTION ...]\n" "\n" "Shell for interactive processing of Lepton EDA data using Scheme.\n" "\n" " -s FILE load Scheme source code from FILE, and exit\n" " -c EXPR evaluate Scheme expression EXPR, and exit\n" " -- stop scanning arguments; run interactively\n" "\n" "The above switches stop argument processing, and pass all\n" "remaining arguments as the value of (command-line).\n" "\n" " -L DIRECTORY add DIRECTORY to the front of the Scheme load path\n" " -l FILE load Scheme source code from FILE\n" " -h, --help display usage information and exit\n" "\n" "Report bugs at <%1$s>\n" "Lepton EDA homepage: <%2$s>\n" msgstr "" "Использование: lepton-cli shell [КЛЮЧ ...]\n" "\n" "Командная оболочка интерпретатора Scheme для интерактивной работы\n" "с данными Lepton EDA.\n" "\n" " -s ФАЙЛ загрузка исходного кода Scheme из ФАЙЛА и выход\n" " -c ВЫРАЖЕНИЕ вычисление ВЫРАЖЕНИЯ Scheme и выход\n" " -- прекращение сканирования аргументов; запуск в\n" " интерактивном режиме\n" "\n" "При задании вышеуказанных ключей обработка аргументов\n" "прекращается, все оставшиеся аргументы передаются как значение\n" "функции (command-line).\n" "\n" " -L КАТАЛОГ добавление КАТАЛОГА первым в список путей загрузки Scheme\n" " -l ФАЙЛ загрузка исходного кода Scheme из ФАЙЛА\n" " -h, --help вывод справки по использованию и выход\n" "\n" "Страница для отчётов об ошибках: %1$s\n" "Домашняя страница Lepton EDA: %2$s\n" #, c-format msgid "" "\n" "Run `lepton-cli shell --help' for more information.\n" msgstr "" "\n" "Подробности см. в выводе команды «lepton-cli shell --help».\n" lepton-eda-1.9.16/utils/cli/po/nl.po0000644000175000017500000002626614101262226014067 00000000000000# Dutch translation for the gEDA gaf package. # Copyright (C) 2012 Bert Timmerman # This file is distributed under the same license as the gEDA gschem package. # msgid "" msgstr "" "Project-Id-Version: geda-gaf\n" "Report-Msgid-Bugs-To: https://github.com/lepton-eda/lepton-eda/issues\n" "POT-Creation-Date: 2021-07-31 11:51+0300\n" "PO-Revision-Date: 2014-08-31 20:24+0100\n" "Last-Translator: Bert Timmerman \n" "Language-Team: gEDA developers\n" "Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Dutch\n" "X-Poedit-Country: NETHERLANDS\n" #, fuzzy, c-format msgid "" "Usage: lepton-cli [OPTION...] COMMAND [ARGS ...]\n" "\n" "Lepton EDA command-line utility.\n" "\n" "General options:\n" " --no-rcfiles inhibit loading of 'gafrc' files\n" " -h, --help display usage information and exit\n" " -V, --version display version information and exit\n" "\n" "Commonly-used commands (type `lepton-cli --help' for usage):\n" " shell Scheme REPL for interactive Lepton EDA data processing\n" " config Edit Lepton EDA configuration\n" " export Export Lepton EDA files in various image formats.\n" "\n" "Report bugs at <%1$s>\n" "Lepton EDA homepage: <%2$s>\n" msgstr "" "Gebruik: gaf [OPTIE...] OPDRACHT [ARGUMENTEN ...]\n" "\n" "gEDA/gaf opdrachtregel utility.\n" "\n" "Algemene opties:\n" " --no-rcfiles verhinder het laden van 'gafrc' bestanden\n" " -h, --help toon gebruik informatie en eindig\n" " -V, --version toon versie informatie en eindig\n" "\n" "Algemeen gebruikte opdrachten (type `gaf --help' voor gebruik):\n" " shell Scheme REPL voor interactieve gEDA gegevensverwerking\n" "\n" "Rapporteer onvolkomenheden alstublieft aan %s.\n" #, c-format msgid "" "Lepton EDA %s%s.%s (git: %.7s)\n" "%s" msgstr "" #, fuzzy, c-format msgid "" "\n" "Run `lepton-cli --help' for more information.\n" msgstr "" "\n" "Voer `gaf config --help' uit voor meer informatie.\n" #, fuzzy, c-format msgid "" "ERROR: You must specify a command to run.\n" "\n" "Run `lepton-cli --help' for more information.\n" msgstr "" "FOUT: U moet een opdracht specificeren om te starten.\n" "\n" "Voer `gaf --help' uit voor meer informatie.\n" #, fuzzy, c-format msgid "" "ERROR: Unrecognised command `%1$s'.\n" "\n" "Run `lepton-cli --help' for more information.\n" msgstr "" "FOUT: Onherkenbare opdracht `%s'.\n" "\n" "Voer `gaf --help' uit voor meer informatie.\n" #, fuzzy, c-format msgid "" "Usage: lepton-cli config [OPTION] [GROUP KEY [VALUE]]\n" "\n" "View and modify Lepton EDA configuration.\n" "\n" " -p, --project[=PATH] select project configuration [PATH=.]\n" " -u, --user select user configuration\n" " -s, --system select system configuration\n" " -c, --cache select cache configuration\n" " -h, --help display usage information and exit\n" "\n" "If GROUP and KEY are specified, retrieves the value of that\n" "configuration parameter. If a VALUE was specified, sets the value of\n" "the parameter. The -p, -u and -s options can be used to select the\n" "configuration store affected (by default, the project configuration\n" "store for the current directory). If no GROUP and KEY were provided,\n" "outputs the filename of the selected configuration store.\n" "\n" "Report bugs at <%1$s>\n" "Lepton EDA homepage: <%2$s>\n" msgstr "" "Gebruik: gaf config [OPTIE] [GROEP SLEUTEL [WAARDE]]\n" "\n" "Bekijk en wijzig gEDA configuratie.\n" "\n" " -p, --project[=PATH] selecteer project configuratie [PATH=.]\n" " -u, --user selecteer gebruiker configuratien\n" " -s, --system selecteer systeem configuratie\n" " -h, --help toon gebruiksinformatie en stop\n" "\n" "Wanneer GROEP and SLEUTEL zijn gespecificeerd, haal de waarde van die\n" "configuratie parameter op. Als een WAARDE was gespecificeerd, stel de " "waarde van\n" "de parameter in. De -p, -u en -s opties kunnen worden gebruikt om de\n" "beïnvloedde configuratie opslag te selecteren (gebruikelijk, de project " "configuratie\n" "opslag voor de huidige bestandenmap). Als geen GROEP en SLEUTEL werden " "gegeven,\n" "geeft dan de bestandsnaam van de geselecteerde configuratie opslag.\n" "\n" "Rapporteer onvolkomenheden alstublieft aan %s.\n" #, fuzzy msgid "" "\n" "Run `lepton-cli config --help' for more information.\n" msgstr "" "\n" "Voer `gaf config --help' uit voor meer informatie.\n" msgid "ERROR: You may only specify a single configuration store.\n" msgstr "FOUT: U mag alleen een enkele configuratie opslag specificeren.\n" #. TRANSLATORS: The first string is the filename, the second is #. * the detailed error message #, fuzzy, c-format msgid "WARNING: Could not load '%1$s': %2$s.\n" msgstr "WAARSCHUWING: Kan '%s': %s niet laden.\n" #, c-format msgid "ERROR: You must specify both configuration group and key.\n" msgstr "FOUT: U moet beide configuratie groep en sleutel specificeren.\n" #, fuzzy, c-format msgid "ERROR: %1$s.\n" msgstr "FOUT: %s.\n" #, fuzzy, c-format msgid "ERROR: Bad argument '%1$s' to %2$s option.\n" msgstr "FOUT: Slecht argument '%s' voor %s optie.\n" #, fuzzy msgid "" "\n" "Run `lepton-cli export --help' for more information.\n" msgstr "" "\n" "Voer `gaf export --help' uit voor meer informatie.\n" #, fuzzy, c-format msgid "ERROR: Cannot infer output format from filename '%1$s'.\n" msgstr "FOUT: Kan geen uitvoerformaat afleiden van bestandsnaam '%s'.\n" #, fuzzy, c-format msgid "ERROR: Cannot find supported format for filename '%1$s'.\n" msgstr "FOUT: Kan geen ondersteund formaat vinden voor bestandsnaam '%s'.\n" #, fuzzy, c-format msgid "ERROR: Unsupported output format '%1$s'.\n" msgstr "FOUT: Niet ondersteund uitvoer formaat '%s'.\n" #, c-format msgid "ERROR: Selected output format does not support multipage output\n" msgstr "" "FOUT: Geselecteerde uitvoer formaat ondersteund geen meerbladige uitvoer\n" #. TRANSLATORS: The first string is the filename, the second #. * is the detailed error message #, fuzzy, c-format msgid "ERROR: Failed to load '%1$s': %2$s\n" msgstr "FOUT: Faalde om '%s': %s te laden\n" #, fuzzy, c-format msgid "ERROR: Failed to change directory to '%1$s': %2$s\n" msgstr "Faalde om bestandenmap te wijzigen naar '%s': %s\n" #, c-format msgid "ERROR: %s.\n" msgstr "FOUT: %s.\n" #, fuzzy, c-format msgid "" "Usage: lepton-cli export [OPTION ...] -o OUTPUT [--] FILE ...\n" "\n" "Export Lepton EDA files in various image formats.\n" "\n" " -f, --format=TYPE output format (normally " "autodetected)\n" " -o, --output=OUTPUT output filename\n" " -p, --paper=NAME select paper size by name\n" " -P, --paper-names list paper size names and exit\n" " -s, --size=WIDTH;HEIGHT specify exact paper size\n" " -k, --scale=FACTOR specify output scale factor\n" " -l, --layout=ORIENT page orientation\n" " -m, --margins=TOP;LEFT;BOTTOM;RIGHT set page margins\n" " -a, --align=HALIGN;VALIGN set alignment of drawing within page\n" " -d, --dpi=DPI pixels-per-inch for raster outputs\n" " -c, --color enable color output\n" " --no-color disable color output\n" " -F, --font=NAME set font family for printing text\n" " -h, --help display usage information and exit\n" "\n" "Report bugs at <%1$s>\n" "Lepton EDA homepage: <%2$s>\n" msgstr "" "Gebruik: gaf export [OPTIE ...] -o UITVOER [--] BESTAND ...\n" "\n" "Exporteer gEDA bestanden in verschillende afbeelding formaten.\n" "\n" " -f, --format=TYPE uitvoer formaat (normaal automatisch dedetecteerd)\n" " -o, --output=UITVOER uitvoer bestandsnaam\n" " -p, --paper=NAAM selecteer papier afmeting met naam\n" " -s, --size=BREEDTE;HOOGTE specificeer exacte papier afmeting\n" " -k, --scale=FAKTOR specificeer uitvoer schaal faktor\n" " -l, --layout=ORIENT pagina orientatie\n" " -m, --margins=BOVEN;LINKS;ONDER;RECHTS\n" " stel pagina grenzen in\n" " -a, --align=HALIGN;VALIGN\n" " stel uitlijning van tekening binnen pagina\n" " -d, --dpi=DPI pixels-per-inch voor raster uitvoer\n" " -c, --color schakel kleuren uitvoer in\n" " --no-color schakel kleuren uitvoer uit\n" " -F, --font=NAAM stel font familie voor tekst afdrukken in\n" " -h, --help toon gebruiksinformatie en stop\n" "\n" "Rapporteer onvolkomenheden alstublieft aan %s.\n" #, c-format msgid "ERROR: You must specify at least one input filename.\n" msgstr "FOUT: U moet tenminste een invoer bestandsnaam specificeren.\n" #, c-format msgid "ERROR: You must specify an output filename.\n" msgstr "FOUT: U moet een uitvoer bestandnaam specificeren.\n" #, fuzzy, c-format msgid "" "Usage: lepton-cli shell [OPTION ...]\n" "\n" "Shell for interactive processing of Lepton EDA data using Scheme.\n" "\n" " -s FILE load Scheme source code from FILE, and exit\n" " -c EXPR evaluate Scheme expression EXPR, and exit\n" " -- stop scanning arguments; run interactively\n" "\n" "The above switches stop argument processing, and pass all\n" "remaining arguments as the value of (command-line).\n" "\n" " -L DIRECTORY add DIRECTORY to the front of the Scheme load path\n" " -l FILE load Scheme source code from FILE\n" " -h, --help display usage information and exit\n" "\n" "Report bugs at <%1$s>\n" "Lepton EDA homepage: <%2$s>\n" msgstr "" "Gebruik: gaf shell [OPTIE ...]\n" "\n" "Shell voor interactieve verwerking van gEDA gegevens gebruikmakend van " "Scheme.\n" "\n" " -s FILE laad Scheme broncode uit FILE, en eindig\n" " -c EXPR evalueer Scheme expressie EXPR, en eindig\n" " -- stop het scannen van argumenten; voer interactief uit\n" "\n" "De bovenstaande keuzes stoppen argument bewerking, en geven alle\n" "overblijvende argumenten door als waarde of (opdracht-lijn).\n" "\n" " -L DIRECTORY voeg DIRECTORY toe aan de voorzijde van het Scheme laadpad\n" " -l FILE laad Scheme broncode uit FILE\n" " -h, --help toon gebruiksinformatie en eindig\n" "\n" "Rapporteer onvolkomenheden alstublieft aan %s.\n" #, fuzzy, c-format msgid "" "\n" "Run `lepton-cli shell --help' for more information.\n" msgstr "" "\n" "Voer `gaf shell --help' uit voor meer informatie.\n" #, fuzzy #~ msgid "" #~ "Lepton EDA %1$s (g%2$.7s)\n" #~ "Copyright (C) 1998-2016 gEDA developers\n" #~ "Copyright (C) 2017-2019 Lepton EDA developers\n" #~ "This is free software, and you are welcome to redistribute it under\n" #~ "certain conditions. For details, see the file `COPYING', which is\n" #~ "included in the Lepton EDA distribution.\n" #~ "There is NO WARRANTY, to the extent permitted by law.\n" #~ msgstr "" #~ "gEDA/gaf %s (g%.7s)\n" #~ "Copyright (C) 1998-2012 gEDA developers\n" #~ "Dit is vrije software, en U bent welkom om deze te herdistribueren onder\n" #~ "bepaalde condities. Voor details, zie het bestand `COPYING', welke in\n" #~ "de gEDA distributie is bijgevoegd.\n" #~ "Er is GEEN GARANTIE, voor zover toegelaten door de wet.\n" #~ msgid "" #~ "\n" #~ "Run `gaf --help' for more information.\n" #~ msgstr "" #~ "\n" #~ "Voer `gaf --help' uit voor meer informatie.\n" lepton-eda-1.9.16/utils/cli/po/Rules-quot0000644000175000017500000000340014065635156015121 00000000000000# Special Makefile rules for English message catalogs with quotation marks. DISTFILES.common.extra1 = quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot .SUFFIXES: .insert-header .po-update-en en@quot.po-create: $(MAKE) en@quot.po-update en@boldquot.po-create: $(MAKE) en@boldquot.po-update en@quot.po-update: en@quot.po-update-en en@boldquot.po-update: en@boldquot.po-update-en .insert-header.po-update-en: @lang=`echo $@ | sed -e 's/\.po-update-en$$//'`; \ if test "$(PACKAGE)" = "gettext"; then PATH=`pwd`/../src:$$PATH; GETTEXTLIBDIR=`cd $(top_srcdir)/src && pwd`; export GETTEXTLIBDIR; fi; \ tmpdir=`pwd`; \ echo "$$lang:"; \ ll=`echo $$lang | sed -e 's/@.*//'`; \ LC_ALL=C; export LC_ALL; \ cd $(srcdir); \ if $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $$lang -o - 2>/dev/null | sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) sed -f `echo $$lang | sed -e 's/.*@//'`.sed 2>/dev/null > $$tmpdir/$$lang.new.po; then \ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ rm -f $$tmpdir/$$lang.new.po; \ else \ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ :; \ else \ echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ exit 1; \ fi; \ fi; \ else \ echo "creation of $$lang.po failed!" 1>&2; \ rm -f $$tmpdir/$$lang.new.po; \ fi en@quot.insert-header: insert-header.sin sed -e '/^#/d' -e 's/HEADER/en@quot.header/g' $(srcdir)/insert-header.sin > en@quot.insert-header en@boldquot.insert-header: insert-header.sin sed -e '/^#/d' -e 's/HEADER/en@boldquot.header/g' $(srcdir)/insert-header.sin > en@boldquot.insert-header mostlyclean: mostlyclean-quot mostlyclean-quot: rm -f *.insert-header lepton-eda-1.9.16/utils/cli/po/Makefile.in.in0000644000175000017500000003744214065635156015605 00000000000000# Makefile for PO directory in any package using GNU gettext. # Copyright (C) 1995-1997, 2000-2007, 2009-2010 by Ulrich Drepper # # This file can be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU General Public # License but which still want to provide support for the GNU gettext # functionality. # Please note that the actual code of GNU gettext is covered by the GNU # General Public License and is *not* in the public domain. # # Origin: gettext-0.18 GETTEXT_MACRO_VERSION = 0.18 PACKAGE = @PACKAGE@ VERSION = @VERSION@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ SHELL = /bin/sh @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ datarootdir = @datarootdir@ datadir = @datadir@ localedir = @localedir@ gettextsrcdir = $(datadir)/gettext/po INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ # We use $(mkdir_p). # In automake <= 1.9.x, $(mkdir_p) is defined either as "mkdir -p --" or as # "$(mkinstalldirs)" or as "$(install_sh) -d". For these automake versions, # @install_sh@ does not start with $(SHELL), so we add it. # In automake >= 1.10, @mkdir_p@ is derived from ${MKDIR_P}, which is defined # either as "/path/to/mkdir -p" or ".../install-sh -c -d". For these automake # versions, $(mkinstalldirs) and $(install_sh) are unused. mkinstalldirs = $(SHELL) @install_sh@ -d install_sh = $(SHELL) @install_sh@ MKDIR_P = @MKDIR_P@ mkdir_p = @mkdir_p@ GMSGFMT_ = @GMSGFMT@ GMSGFMT_no = @GMSGFMT@ GMSGFMT_yes = @GMSGFMT_015@ GMSGFMT = $(GMSGFMT_$(USE_MSGCTXT)) MSGFMT_ = @MSGFMT@ MSGFMT_no = @MSGFMT@ MSGFMT_yes = @MSGFMT_015@ MSGFMT = $(MSGFMT_$(USE_MSGCTXT)) XGETTEXT_ = @XGETTEXT@ XGETTEXT_no = @XGETTEXT@ XGETTEXT_yes = @XGETTEXT_015@ XGETTEXT = $(XGETTEXT_$(USE_MSGCTXT)) MSGMERGE = msgmerge MSGMERGE_UPDATE = @MSGMERGE@ --update MSGINIT = msginit MSGCONV = msgconv MSGFILTER = msgfilter POFILES = @POFILES@ GMOFILES = @GMOFILES@ UPDATEPOFILES = @UPDATEPOFILES@ DUMMYPOFILES = @DUMMYPOFILES@ DISTFILES.common = Makefile.in.in remove-potcdate.sin \ $(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3) DISTFILES = $(DISTFILES.common) Makevars POTFILES.in \ $(POFILES) $(GMOFILES) \ $(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3) POTFILES = \ CATALOGS = @CATALOGS@ # Makevars gets inserted here. (Don't remove this line!) .SUFFIXES: .SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update .po.mo: @echo "$(MSGFMT) -c -o $@ $<"; \ $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@ .po.gmo: @lang=`echo $* | sed -e 's,.*/,,'`; \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \ cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo .sin.sed: sed -e '/^#/d' $< > t-$@ mv t-$@ $@ all: check-macro-version all-@USE_NLS@ all-yes: stamp-po all-no: # Ensure that the gettext macros and this Makefile.in.in are in sync. check-macro-version: @test "$(GETTEXT_MACRO_VERSION)" = "@GETTEXT_MACRO_VERSION@" \ || { echo "*** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version $(GETTEXT_MACRO_VERSION) but the autoconf macros are from gettext version @GETTEXT_MACRO_VERSION@" 1>&2; \ exit 1; \ } # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because # we don't want to bother translators with empty POT files). We assume that # LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty. # In this case, stamp-po is a nop (i.e. a phony target). # stamp-po is a timestamp denoting the last time at which the CATALOGS have # been loosely updated. Its purpose is that when a developer or translator # checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS, # "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent # invocations of "make" will do nothing. This timestamp would not be necessary # if updating the $(CATALOGS) would always touch them; however, the rule for # $(POFILES) has been designed to not touch files that don't need to be # changed. stamp-po: $(srcdir)/$(DOMAIN).pot test ! -f $(srcdir)/$(DOMAIN).pot || \ test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES) @test ! -f $(srcdir)/$(DOMAIN).pot || { \ echo "touch stamp-po" && \ echo timestamp > stamp-poT && \ mv stamp-poT stamp-po; \ } # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update', # otherwise packages like GCC can not be built if only parts of the source # have been downloaded. # This target rebuilds $(DOMAIN).pot; it is an expensive operation. # Note that $(DOMAIN).pot is not touched if it doesn't need to be changed. $(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed if LC_ALL=C grep 'GNU @PACKAGE@' $(top_srcdir)/* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \ package_gnu='GNU '; \ else \ package_gnu=''; \ fi; \ if test -n '$(MSGID_BUGS_ADDRESS)' || test '$(PACKAGE_BUGREPORT)' = '@'PACKAGE_BUGREPORT'@'; then \ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \ else \ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \ fi; \ case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ --files-from=$(srcdir)/POTFILES.in \ --copyright-holder='$(COPYRIGHT_HOLDER)' \ --msgid-bugs-address="$$msgid_bugs_address" \ ;; \ *) \ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ --files-from=$(srcdir)/POTFILES.in \ --copyright-holder='$(COPYRIGHT_HOLDER)' \ --package-name="$${package_gnu}@PACKAGE@" \ --package-version='@VERSION@' \ --msgid-bugs-address="$$msgid_bugs_address" \ ;; \ esac test ! -f $(DOMAIN).po || { \ if test -f $(srcdir)/$(DOMAIN).pot; then \ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \ else \ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ fi; \ else \ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ fi; \ } # This rule has no dependencies: we don't need to update $(DOMAIN).pot at # every "make" invocation, only create it when it is missing. # Only "make $(DOMAIN).pot-update" or "make dist" will force an update. $(srcdir)/$(DOMAIN).pot: $(MAKE) $(DOMAIN).pot-update # This target rebuilds a PO file if $(DOMAIN).pot has changed. # Note that a PO file is not touched if it doesn't need to be changed. $(POFILES): $(srcdir)/$(DOMAIN).pot @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \ if test -f "$(srcdir)/$${lang}.po"; then \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \ cd $(srcdir) \ && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \ *) \ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \ esac; \ }; \ else \ $(MAKE) $${lang}.po-create; \ fi install: install-exec install-data install-exec: install-data: install-data-@USE_NLS@ if test "$(PACKAGE)" = "gettext-tools"; then \ $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ for file in $(DISTFILES.common) Makevars.template; do \ $(INSTALL_DATA) $(srcdir)/$$file \ $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ for file in Makevars; do \ rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ else \ : ; \ fi install-data-no: all install-data-yes: all @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ dir=$(localedir)/$$lang/LC_MESSAGES; \ $(mkdir_p) $(DESTDIR)$$dir; \ if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \ $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \ echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ if test -n "$$lc"; then \ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ for file in *; do \ if test -f $$file; then \ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ fi; \ done); \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ else \ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ :; \ else \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ fi; \ fi; \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \ fi; \ done; \ done install-strip: install installdirs: installdirs-exec installdirs-data installdirs-exec: installdirs-data: installdirs-data-@USE_NLS@ if test "$(PACKAGE)" = "gettext-tools"; then \ $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ else \ : ; \ fi installdirs-data-no: installdirs-data-yes: @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ dir=$(localedir)/$$lang/LC_MESSAGES; \ $(mkdir_p) $(DESTDIR)$$dir; \ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ if test -n "$$lc"; then \ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ for file in *; do \ if test -f $$file; then \ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ fi; \ done); \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ else \ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ :; \ else \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ fi; \ fi; \ fi; \ done; \ done # Define this as empty until I found a useful application. installcheck: uninstall: uninstall-exec uninstall-data uninstall-exec: uninstall-data: uninstall-data-@USE_NLS@ if test "$(PACKAGE)" = "gettext-tools"; then \ for file in $(DISTFILES.common) Makevars.template; do \ rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ else \ : ; \ fi uninstall-data-no: uninstall-data-yes: catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ done; \ done check: all info dvi ps pdf html tags TAGS ctags CTAGS ID: mostlyclean: rm -f remove-potcdate.sed rm -f stamp-poT rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po rm -fr *.o clean: mostlyclean distclean: clean rm -f Makefile Makefile.in POTFILES *.mo maintainer-clean: distclean @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." rm -f stamp-po $(GMOFILES) distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: $(MAKE) update-po @$(MAKE) dist2 # This is a separate target because 'update-po' must be executed before. dist2: stamp-po $(DISTFILES) dists="$(DISTFILES)"; \ if test "$(PACKAGE)" = "gettext-tools"; then \ dists="$$dists Makevars.template"; \ fi; \ if test -f $(srcdir)/$(DOMAIN).pot; then \ dists="$$dists $(DOMAIN).pot stamp-po"; \ fi; \ if test -f $(srcdir)/ChangeLog; then \ dists="$$dists ChangeLog"; \ fi; \ for i in 0 1 2 3 4 5 6 7 8 9; do \ if test -f $(srcdir)/ChangeLog.$$i; then \ dists="$$dists ChangeLog.$$i"; \ fi; \ done; \ if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \ for file in $$dists; do \ if test -f $$file; then \ cp -p $$file $(distdir) || exit 1; \ else \ cp -p $(srcdir)/$$file $(distdir) || exit 1; \ fi; \ done update-po: Makefile $(MAKE) $(DOMAIN).pot-update test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES) $(MAKE) update-gmo # General rule for creating PO files. .nop.po-create: @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \ echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \ exit 1 # General rule for updating PO files. .nop.po-update: @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \ if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; fi; \ tmpdir=`pwd`; \ echo "$$lang:"; \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \ cd $(srcdir); \ if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \ $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ *) \ $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ esac; \ }; then \ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ rm -f $$tmpdir/$$lang.new.po; \ else \ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ :; \ else \ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ exit 1; \ fi; \ fi; \ else \ echo "msgmerge for $$lang.po failed!" 1>&2; \ rm -f $$tmpdir/$$lang.new.po; \ fi $(DUMMYPOFILES): update-gmo: Makefile $(GMOFILES) @: # Recreate Makefile by invoking config.status. Explicitly invoke the shell, # because execution permission bits may not work on the current file system. # Use @SHELL@, which is the shell determined by autoconf for the use by its # scripts, not $(SHELL) which is hardwired to /bin/sh and may be deficient. Makefile: Makefile.in.in Makevars $(top_builddir)/config.status @POMAKEFILEDEPS@ cd $(top_builddir) \ && @SHELL@ ./config.status $(subdir)/$@.in po-directories force: # Tell versions [3.59,3.63) of GNU make not to export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/cli/po/remove-potcdate.sin0000644000175000017500000000066014065635157016735 00000000000000# Sed script that remove the POT-Creation-Date line in the header entry # from a POT file. # # The distinction between the first and the following occurrences of the # pattern is achieved by looking at the hold space. /^"POT-Creation-Date: .*"$/{ x # Test if the hold space is empty. s/P/P/ ta # Yes it was empty. First occurrence. Remove the line. g d bb :a # The hold space was nonempty. Following occurrences. Do nothing. x :b } lepton-eda-1.9.16/utils/cli/po/POTFILES.in0000644000175000017500000000017414101257250014662 00000000000000# List of translatable files utils/cli/src/lepton-cli.c utils/cli/src/config.c utils/cli/src/export.c utils/cli/src/shell.c lepton-eda-1.9.16/utils/cli/po/nl.gmo0000644000175000017500000000225314101262463014224 00000000000000T @:,A5n: cIn@3=-?kERROR: %s. ERROR: Selected output format does not support multipage output ERROR: You may only specify a single configuration store. ERROR: You must specify an output filename. ERROR: You must specify at least one input filename. ERROR: You must specify both configuration group and key. Project-Id-Version: geda-gaf Report-Msgid-Bugs-To: https://github.com/lepton-eda/lepton-eda/issues PO-Revision-Date: 2014-08-31 20:24+0100 Last-Translator: Bert Timmerman Language-Team: gEDA developers Language: nl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Poedit-Language: Dutch X-Poedit-Country: NETHERLANDS FOUT: %s. FOUT: Geselecteerde uitvoer formaat ondersteund geen meerbladige uitvoer FOUT: U mag alleen een enkele configuratie opslag specificeren. FOUT: U moet een uitvoer bestandnaam specificeren. FOUT: U moet tenminste een invoer bestandsnaam specificeren. FOUT: U moet beide configuratie groep en sleutel specificeren. lepton-eda-1.9.16/utils/cli/po/it.po0000644000175000017500000002677414101262226014076 00000000000000# Italian translation for the gEDA gaf package. # This file is distributed under the same license as the gEDA gschem package. # Copyright (C) 2014 Marco Ciampa # msgid "" msgstr "" "Project-Id-Version: geda-gaf\n" "Report-Msgid-Bugs-To: https://github.com/lepton-eda/lepton-eda/issues\n" "POT-Creation-Date: 2021-07-31 11:51+0300\n" "PO-Revision-Date: 2014-12-28 22:09+0100\n" "Last-Translator: Marco Ciampa \n" "Language-Team: Italian \n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #, fuzzy, c-format msgid "" "Usage: lepton-cli [OPTION...] COMMAND [ARGS ...]\n" "\n" "Lepton EDA command-line utility.\n" "\n" "General options:\n" " --no-rcfiles inhibit loading of 'gafrc' files\n" " -h, --help display usage information and exit\n" " -V, --version display version information and exit\n" "\n" "Commonly-used commands (type `lepton-cli --help' for usage):\n" " shell Scheme REPL for interactive Lepton EDA data processing\n" " config Edit Lepton EDA configuration\n" " export Export Lepton EDA files in various image formats.\n" "\n" "Report bugs at <%1$s>\n" "Lepton EDA homepage: <%2$s>\n" msgstr "" "Uso: gaf [OPZIONI...] COMANDO [ARG ...]\n" "\n" "gEDA/gaf utilità a riga di comando.\n" "\n" "Opzioni generali:\n" " --no-rcfiles inibisce il caricamento dei file 'gafrc'\n" " -h, --help mostra le informazioni sull'uso ed esce\n" " -V, --version mostra le informazioni di versione ed esce\n" "\n" "Comandi usati correntemente (battere `gaf --help' per l'uso):\n" " shell REPL Scheme per elaborazione dati gEDA interattiva\n" " config modifica la configurazione di gEDA\n" " export esporta i file gEDA in vari formati immagine.\n" "\n" "Segnalare eventuali difetti a %s.\n" #, c-format msgid "" "Lepton EDA %s%s.%s (git: %.7s)\n" "%s" msgstr "" #, fuzzy, c-format msgid "" "\n" "Run `lepton-cli --help' for more information.\n" msgstr "" "\n" "Eseguire \"gaf config --help\" per ulteriori informazioni.\n" #, fuzzy, c-format msgid "" "ERROR: You must specify a command to run.\n" "\n" "Run `lepton-cli --help' for more information.\n" msgstr "" "ERRORE: è necessario specificare un comando da eseguire.\n" "\n" "Eseguire \"gaf --help\" per ulteriori informazioni.\n" #, fuzzy, c-format msgid "" "ERROR: Unrecognised command `%1$s'.\n" "\n" "Run `lepton-cli --help' for more information.\n" msgstr "" "ERRORE: comando non riconosciuto \"%s\".\n" "\n" "Eseguire \"gaf --help\" per ulteriori informazioni.\n" #, fuzzy, c-format msgid "" "Usage: lepton-cli config [OPTION] [GROUP KEY [VALUE]]\n" "\n" "View and modify Lepton EDA configuration.\n" "\n" " -p, --project[=PATH] select project configuration [PATH=.]\n" " -u, --user select user configuration\n" " -s, --system select system configuration\n" " -c, --cache select cache configuration\n" " -h, --help display usage information and exit\n" "\n" "If GROUP and KEY are specified, retrieves the value of that\n" "configuration parameter. If a VALUE was specified, sets the value of\n" "the parameter. The -p, -u and -s options can be used to select the\n" "configuration store affected (by default, the project configuration\n" "store for the current directory). If no GROUP and KEY were provided,\n" "outputs the filename of the selected configuration store.\n" "\n" "Report bugs at <%1$s>\n" "Lepton EDA homepage: <%2$s>\n" msgstr "" "Uso: gaf config [OPZIONE] [GRUPPO CHIAVE [VALORE]]\n" "\n" "Visualizza e modifica la configurazione di gEDA.\n" "\n" " -p, --project[=PERCORSO] seleziona la configurazione del \n" " progetto [PERCORSO=]\n" " -u, --user seleziona la configurazione utente\n" " -s, --system seleziona la configurazione di sistema\n" " -h, --help mostra le informazioni d'uso ed esce\n" "\n" "Se GRUPPO e CHIAVE vengono specificati, recupera il valore di quel\n" "parametro di configurazione. Se un VALORE era stato specificato, \n" "imposta il valore di quel parametro.\n" "Le opzioni -p, -u e -s si possono usare per selezionare l'archivio\n" "di configurazione interessato (come preimpostazione, l'archivio di\n" "configurazione del progetto per la cartella corrente). Se nessun\n" "GRUPPO e CHIAVE vengono forniti, emette il nome del file dell'archivio\n" "di configurazione selezionato.\n" "\n" "Segnalare eventuali difetti a %s.\n" #, fuzzy msgid "" "\n" "Run `lepton-cli config --help' for more information.\n" msgstr "" "\n" "Eseguire \"gaf config --help\" per ulteriori informazioni.\n" msgid "ERROR: You may only specify a single configuration store.\n" msgstr "" "ERRORE: si può specificare solo un singolo archivio di configurazione.\n" #. TRANSLATORS: The first string is the filename, the second is #. * the detailed error message #, fuzzy, c-format msgid "WARNING: Could not load '%1$s': %2$s.\n" msgstr "ATTENZIONE: impossibile caricare \"%s\": %s.\n" #, c-format msgid "ERROR: You must specify both configuration group and key.\n" msgstr "" "ERRORE: si deve specificare sia il gruppo di configurazione che la chiave.\n" #, fuzzy, c-format msgid "ERROR: %1$s.\n" msgstr "ERRORE: %s.\n" #, fuzzy, c-format msgid "ERROR: Bad argument '%1$s' to %2$s option.\n" msgstr "ERRORE: argomento errato \"%s\" all'opzione %s.\n" #, fuzzy msgid "" "\n" "Run `lepton-cli export --help' for more information.\n" msgstr "" "\n" "Eseguire `gaf export --help' per ulteriori informazioni.\n" #, fuzzy, c-format msgid "ERROR: Cannot infer output format from filename '%1$s'.\n" msgstr "" "ERRORE: impossibile ricavare il formato di uscita dal nome del file \"%s\".\n" #, fuzzy, c-format msgid "ERROR: Cannot find supported format for filename '%1$s'.\n" msgstr "" "ERRORE: impossibile trovare il formato supportato per il file di nome \"%s" "\".\n" #, fuzzy, c-format msgid "ERROR: Unsupported output format '%1$s'.\n" msgstr "ERRORE: formato di uscita \"%s\" non supportato.\n" #, c-format msgid "ERROR: Selected output format does not support multipage output\n" msgstr "" "ERRORE: il formato di uscita selezionato non supporta le pagine multiple\n" #. TRANSLATORS: The first string is the filename, the second #. * is the detailed error message #, fuzzy, c-format msgid "ERROR: Failed to load '%1$s': %2$s\n" msgstr "ERRORE: fallito il caricamento di \"%s\": %s\n" #, fuzzy, c-format msgid "ERROR: Failed to change directory to '%1$s': %2$s\n" msgstr "ERRORE: fallito il cambiamento di cartella a \"%s\": %s\n" #, c-format msgid "ERROR: %s.\n" msgstr "ERRORE: %s.\n" #, fuzzy, c-format msgid "" "Usage: lepton-cli export [OPTION ...] -o OUTPUT [--] FILE ...\n" "\n" "Export Lepton EDA files in various image formats.\n" "\n" " -f, --format=TYPE output format (normally " "autodetected)\n" " -o, --output=OUTPUT output filename\n" " -p, --paper=NAME select paper size by name\n" " -P, --paper-names list paper size names and exit\n" " -s, --size=WIDTH;HEIGHT specify exact paper size\n" " -k, --scale=FACTOR specify output scale factor\n" " -l, --layout=ORIENT page orientation\n" " -m, --margins=TOP;LEFT;BOTTOM;RIGHT set page margins\n" " -a, --align=HALIGN;VALIGN set alignment of drawing within page\n" " -d, --dpi=DPI pixels-per-inch for raster outputs\n" " -c, --color enable color output\n" " --no-color disable color output\n" " -F, --font=NAME set font family for printing text\n" " -h, --help display usage information and exit\n" "\n" "Report bugs at <%1$s>\n" "Lepton EDA homepage: <%2$s>\n" msgstr "" "Uso: gaf export [OPZIONE ...] -o USCITA [--] FILE ...\n" "\n" "Esporta i file gEDA in vari formati immagine.\n" "\n" " -f, --format=TIPO formato d'uscita (normalmente autorilevato)\n" " -o, --output=USCITA nome file di uscita\n" " -p, --paper=NOME seleziona la dimensione carta per nome\n" " -s, --size=LARGH;ALT specifica esattamente la dimensione carta\n" " -k, --scale=FATTORE specifica il fattore di scala in uscita\n" " -l, --layout=ORIENT orientamento pagina\n" " -m, --margins=CIMA;SINISTRA;FONDO;DESTRA\n" " imposta i margini di pagina\n" " -a, --align=ALL.NTO-ORIZZ;ALL.NTO-VERT\n" " imposta l'allineamento dei disegni nella pagina\n" " -d, --dpi=DPI pixel-per-pollice per risultati raster\n" " -c, --color abilita il colore nei risultati\n" " --no-color disabilita il colore nei risultati\n" " -F, --font=NAME imposta il font family per la stampa del testo\n" " -h, --help mostra le informazioni sull'uso ed esce\n" "\n" "Segnalare eventuali difetti a %s.\n" #, c-format msgid "ERROR: You must specify at least one input filename.\n" msgstr "ERRORE: bisogna specificare almeno un nome file in ingresso.\n" #, c-format msgid "ERROR: You must specify an output filename.\n" msgstr "ERRORE: bisogna specificare un nome file in uscita.\n" #, fuzzy, c-format msgid "" "Usage: lepton-cli shell [OPTION ...]\n" "\n" "Shell for interactive processing of Lepton EDA data using Scheme.\n" "\n" " -s FILE load Scheme source code from FILE, and exit\n" " -c EXPR evaluate Scheme expression EXPR, and exit\n" " -- stop scanning arguments; run interactively\n" "\n" "The above switches stop argument processing, and pass all\n" "remaining arguments as the value of (command-line).\n" "\n" " -L DIRECTORY add DIRECTORY to the front of the Scheme load path\n" " -l FILE load Scheme source code from FILE\n" " -h, --help display usage information and exit\n" "\n" "Report bugs at <%1$s>\n" "Lepton EDA homepage: <%2$s>\n" msgstr "" "Uso: gaf shell [OPZIONE ...]\n" "\n" "Shell per l'elaborazione interattiva dei dati gEDA con Scheme.\n" "\n" " -s FILE carica il codice sorgente Scheme da FILE ed esce\n" " -c EXPR elabora l'espressione Scheme EXPR ed esce\n" " -- blocca la scansione degli argomenti ed esegue " "interattivamente\n" "\n" "L'opzione soprastante blocca l'elaborazione degli argomenti e passa tutti i\n" "rimanenti argomenti come valore di (command-line).\n" "\n" " -L CARTELLA aggiunge CARTELLA in cima al percorso di caricamento di " "Scheme\n" " -l FILE carica il codice sorgente Scheme da FILE\n" " -h, --help mostra le informazioni sull'uso ed esce\n" "\n" "Segnalare eventuali difetti a %s.\n" #, fuzzy, c-format msgid "" "\n" "Run `lepton-cli shell --help' for more information.\n" msgstr "" "\n" "Eseguire `gaf shell --help' per ulteriori informazioni.\n" #, fuzzy #~ msgid "" #~ "Lepton EDA %1$s (g%2$.7s)\n" #~ "Copyright (C) 1998-2016 gEDA developers\n" #~ "Copyright (C) 2017-2019 Lepton EDA developers\n" #~ "This is free software, and you are welcome to redistribute it under\n" #~ "certain conditions. For details, see the file `COPYING', which is\n" #~ "included in the Lepton EDA distribution.\n" #~ "There is NO WARRANTY, to the extent permitted by law.\n" #~ msgstr "" #~ "gEDA/gaf %s (g%.7s)\n" #~ "Copyright (C) 1998-2012 gli sviluppatori di gEDA\n" #~ "Questo è software libero, e siete invitati a redistribuirlo sotto\n" #~ "certe condizioni. Per i dettagli, vedere il file \"COPYING\", incluso\n" #~ "nella distribuzione di gEDA.\n" #~ "NON C'È ALCUNA GARANZIA, nei limiti della legislazione vigente.\n" #~ msgid "" #~ "\n" #~ "Run `gaf --help' for more information.\n" #~ msgstr "" #~ "\n" #~ "Eseguire \"gaf --help\" per ulteriori informazioni.\n" lepton-eda-1.9.16/utils/cli/po/lepton-cli.pot0000644000175000017500000001526314101262226015703 00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Lepton Developers # This file is distributed under the same license as the lepton-eda package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: lepton-eda 1.9.16\n" "Report-Msgid-Bugs-To: https://github.com/lepton-eda/lepton-eda/issues\n" "POT-Creation-Date: 2021-07-31 11:51+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: utils/cli/src/lepton-cli.c:68 #, c-format msgid "" "Usage: lepton-cli [OPTION...] COMMAND [ARGS ...]\n" "\n" "Lepton EDA command-line utility.\n" "\n" "General options:\n" " --no-rcfiles inhibit loading of 'gafrc' files\n" " -h, --help display usage information and exit\n" " -V, --version display version information and exit\n" "\n" "Commonly-used commands (type `lepton-cli --help' for usage):\n" " shell Scheme REPL for interactive Lepton EDA data processing\n" " config Edit Lepton EDA configuration\n" " export Export Lepton EDA files in various image formats.\n" "\n" "Report bugs at <%1$s>\n" "Lepton EDA homepage: <%2$s>\n" msgstr "" #: utils/cli/src/lepton-cli.c:94 #, c-format msgid "" "Lepton EDA %s%s.%s (git: %.7s)\n" "%s" msgstr "" #: utils/cli/src/lepton-cli.c:142 #, c-format msgid "" "\n" "Run `lepton-cli --help' for more information.\n" msgstr "" #: utils/cli/src/lepton-cli.c:154 #, c-format msgid "" "ERROR: You must specify a command to run.\n" "\n" "Run `lepton-cli --help' for more information.\n" msgstr "" #: utils/cli/src/lepton-cli.c:172 #, c-format msgid "" "ERROR: Unrecognised command `%1$s'.\n" "\n" "Run `lepton-cli --help' for more information.\n" msgstr "" #: utils/cli/src/config.c:48 #, c-format msgid "" "Usage: lepton-cli config [OPTION] [GROUP KEY [VALUE]]\n" "\n" "View and modify Lepton EDA configuration.\n" "\n" " -p, --project[=PATH] select project configuration [PATH=.]\n" " -u, --user select user configuration\n" " -s, --system select system configuration\n" " -c, --cache select cache configuration\n" " -h, --help display usage information and exit\n" "\n" "If GROUP and KEY are specified, retrieves the value of that\n" "configuration parameter. If a VALUE was specified, sets the value of\n" "the parameter. The -p, -u and -s options can be used to select the\n" "configuration store affected (by default, the project configuration\n" "store for the current directory). If no GROUP and KEY were provided,\n" "outputs the filename of the selected configuration store.\n" "\n" "Report bugs at <%1$s>\n" "Lepton EDA homepage: <%2$s>\n" msgstr "" #: utils/cli/src/config.c:73 msgid "" "\n" "Run `lepton-cli config --help' for more information.\n" msgstr "" #: utils/cli/src/config.c:74 msgid "ERROR: You may only specify a single configuration store.\n" msgstr "" #. TRANSLATORS: The first string is the filename, the second is #. * the detailed error message #: utils/cli/src/config.c:181 #, c-format msgid "WARNING: Could not load '%1$s': %2$s.\n" msgstr "" #: utils/cli/src/config.c:193 #, c-format msgid "ERROR: You must specify both configuration group and key.\n" msgstr "" #: utils/cli/src/config.c:205 utils/cli/src/config.c:219 #, c-format msgid "ERROR: %1$s.\n" msgstr "" #: utils/cli/src/export.c:144 #, c-format msgid "ERROR: Bad argument '%1$s' to %2$s option.\n" msgstr "" #: utils/cli/src/export.c:145 msgid "" "\n" "Run `lepton-cli export --help' for more information.\n" msgstr "" #: utils/cli/src/export.c:189 #, c-format msgid "ERROR: Cannot infer output format from filename '%1$s'.\n" msgstr "" #: utils/cli/src/export.c:206 #, c-format msgid "ERROR: Cannot find supported format for filename '%1$s'.\n" msgstr "" #: utils/cli/src/export.c:211 #, c-format msgid "ERROR: Unsupported output format '%1$s'.\n" msgstr "" #: utils/cli/src/export.c:223 #, c-format msgid "ERROR: Selected output format does not support multipage output\n" msgstr "" #. TRANSLATORS: The first string is the filename, the second #. * is the detailed error message #: utils/cli/src/export.c:272 #, c-format msgid "ERROR: Failed to load '%1$s': %2$s\n" msgstr "" #: utils/cli/src/export.c:278 #, c-format msgid "ERROR: Failed to change directory to '%1$s': %2$s\n" msgstr "" #: utils/cli/src/export.c:297 #, c-format msgid "ERROR: %s.\n" msgstr "" #: utils/cli/src/export.c:936 #, c-format msgid "" "Usage: lepton-cli export [OPTION ...] -o OUTPUT [--] FILE ...\n" "\n" "Export Lepton EDA files in various image formats.\n" "\n" " -f, --format=TYPE output format (normally " "autodetected)\n" " -o, --output=OUTPUT output filename\n" " -p, --paper=NAME select paper size by name\n" " -P, --paper-names list paper size names and exit\n" " -s, --size=WIDTH;HEIGHT specify exact paper size\n" " -k, --scale=FACTOR specify output scale factor\n" " -l, --layout=ORIENT page orientation\n" " -m, --margins=TOP;LEFT;BOTTOM;RIGHT set page margins\n" " -a, --align=HALIGN;VALIGN set alignment of drawing within page\n" " -d, --dpi=DPI pixels-per-inch for raster outputs\n" " -c, --color enable color output\n" " --no-color disable color output\n" " -F, --font=NAME set font family for printing text\n" " -h, --help display usage information and exit\n" "\n" "Report bugs at <%1$s>\n" "Lepton EDA homepage: <%2$s>\n" msgstr "" #: utils/cli/src/export.c:1136 #, c-format msgid "ERROR: You must specify at least one input filename.\n" msgstr "" #: utils/cli/src/export.c:1145 #, c-format msgid "ERROR: You must specify an output filename.\n" msgstr "" #: utils/cli/src/shell.c:46 #, c-format msgid "" "Usage: lepton-cli shell [OPTION ...]\n" "\n" "Shell for interactive processing of Lepton EDA data using Scheme.\n" "\n" " -s FILE load Scheme source code from FILE, and exit\n" " -c EXPR evaluate Scheme expression EXPR, and exit\n" " -- stop scanning arguments; run interactively\n" "\n" "The above switches stop argument processing, and pass all\n" "remaining arguments as the value of (command-line).\n" "\n" " -L DIRECTORY add DIRECTORY to the front of the Scheme load path\n" " -l FILE load Scheme source code from FILE\n" " -h, --help display usage information and exit\n" "\n" "Report bugs at <%1$s>\n" "Lepton EDA homepage: <%2$s>\n" msgstr "" #: utils/cli/src/shell.c:105 #, c-format msgid "" "\n" "Run `lepton-cli shell --help' for more information.\n" msgstr "" lepton-eda-1.9.16/utils/cli/po/ru.gmo0000644000175000017500000002765714101262463014260 00000000000000%@/A6q65  #+/9[82#@%Sf):Y,y5:2JC` k&B7[z[[2Z]sosVWDW cxVoiV*t#*Ie/     Run `lepton-cli --help' for more information. Run `lepton-cli config --help' for more information. Run `lepton-cli export --help' for more information. Run `lepton-cli shell --help' for more information. ERROR: %1$s. ERROR: %s. ERROR: Bad argument '%1$s' to %2$s option. ERROR: Cannot find supported format for filename '%1$s'. ERROR: Cannot infer output format from filename '%1$s'. ERROR: Failed to change directory to '%1$s': %2$s ERROR: Failed to load '%1$s': %2$s ERROR: Selected output format does not support multipage output ERROR: Unrecognised command `%1$s'. Run `lepton-cli --help' for more information. ERROR: Unsupported output format '%1$s'. ERROR: You may only specify a single configuration store. ERROR: You must specify a command to run. Run `lepton-cli --help' for more information. ERROR: You must specify an output filename. ERROR: You must specify at least one input filename. ERROR: You must specify both configuration group and key. Usage: lepton-cli [OPTION...] COMMAND [ARGS ...] Lepton EDA command-line utility. General options: --no-rcfiles inhibit loading of 'gafrc' files -h, --help display usage information and exit -V, --version display version information and exit Commonly-used commands (type `lepton-cli --help' for usage): shell Scheme REPL for interactive Lepton EDA data processing config Edit Lepton EDA configuration export Export Lepton EDA files in various image formats. Report bugs at <%1$s> Lepton EDA homepage: <%2$s> Usage: lepton-cli config [OPTION] [GROUP KEY [VALUE]] View and modify Lepton EDA configuration. -p, --project[=PATH] select project configuration [PATH=.] -u, --user select user configuration -s, --system select system configuration -c, --cache select cache configuration -h, --help display usage information and exit If GROUP and KEY are specified, retrieves the value of that configuration parameter. If a VALUE was specified, sets the value of the parameter. The -p, -u and -s options can be used to select the configuration store affected (by default, the project configuration store for the current directory). If no GROUP and KEY were provided, outputs the filename of the selected configuration store. Report bugs at <%1$s> Lepton EDA homepage: <%2$s> Usage: lepton-cli export [OPTION ...] -o OUTPUT [--] FILE ... Export Lepton EDA files in various image formats. -f, --format=TYPE output format (normally autodetected) -o, --output=OUTPUT output filename -p, --paper=NAME select paper size by name -P, --paper-names list paper size names and exit -s, --size=WIDTH;HEIGHT specify exact paper size -k, --scale=FACTOR specify output scale factor -l, --layout=ORIENT page orientation -m, --margins=TOP;LEFT;BOTTOM;RIGHT set page margins -a, --align=HALIGN;VALIGN set alignment of drawing within page -d, --dpi=DPI pixels-per-inch for raster outputs -c, --color enable color output --no-color disable color output -F, --font=NAME set font family for printing text -h, --help display usage information and exit Report bugs at <%1$s> Lepton EDA homepage: <%2$s> Usage: lepton-cli shell [OPTION ...] Shell for interactive processing of Lepton EDA data using Scheme. -s FILE load Scheme source code from FILE, and exit -c EXPR evaluate Scheme expression EXPR, and exit -- stop scanning arguments; run interactively The above switches stop argument processing, and pass all remaining arguments as the value of (command-line). -L DIRECTORY add DIRECTORY to the front of the Scheme load path -l FILE load Scheme source code from FILE -h, --help display usage information and exit Report bugs at <%1$s> Lepton EDA homepage: <%2$s> WARNING: Could not load '%1$s': %2$s. Project-Id-Version: lepton-eda Report-Msgid-Bugs-To: https://github.com/lepton-eda/lepton-eda/issues PO-Revision-Date: 2020-03-20 20:29+0300 Last-Translator: Vladimir Zhbanov Language-Team: Russian Language: ru MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Подробности см. в выводе команды «lepton-cli config --help». Подробности см. в выводе команды «lepton-cli config --help». Подробности см. в выводе команды «lepton-cli export --help». Подробности см. в выводе команды «lepton-cli shell --help». ОШИБКА: %1$s. ОШИБКА: %s. ОШИБКА: Недопустимый аргумент «%1$s» для опции «%2$s». ОШИБКА: Не удалось найти поддерживаемый формат для файла «%1$s». ОШИБКА: Не удалось определить формат выходного файла для «%1$s». ОШИБКА: Не удалось изменить каталог на «%1$s»: %2$s ОШИБКА: Не удалось загрузить «%1$s»: %2$s ОШИБКА: многостраничный вывод не поддерживается для выбранного выходного формата. ОШИБКА: Неизвестная команда «%1$s». Подробности см. в выводе команды «lepton-cli --help». ОШИБКА: Вывод в формате «%1$s» не поддерживается. ОШИБКА: можно указать только одно хранилище настроек. ОШИБКА: Необходимо указать команду для выполнения. Подробности см. в выводе команды «lepton-cli --help». ОШИБКА: необходимо задать имя выходного файла. ОШИБКА: необходимо задать имя хотя бы одного входного файла. ОШИБКА: Необходимо указать и группу настроек, и параметр. Использование: lepton-cli [КЛЮЧ...] КОМАНДА [АРГУМЕНТЫ...] Утилита командной строки Lepton EDA. Общие ключи: --no-rcfiles запрет загрузки файлов gafrc -h, --help справка об использовании и выход -V, --version вывод версии и выход Команды (для справки по использованию наберите «lepton-cli <команда> --help»): shell командная оболочка Scheme для интерактивной обработки данных Lepton EDA; config изменение настроек Lepton EDA; export экспорт файлов Lepton EDA в различные форматы изображений. Страница для отчётов об ошибках: %1$s Домашняя страница Lepton EDA: %2$s Использование: lepton-cli config [КЛЮЧ] [ГРУППА ПАРАМЕТР [ЗНАЧЕНИЕ]] Просмотр и изменение настроек Lepton EDA. -p, --project[=ПУТЬ] выбор настроек проекта [ПУТЬ=.] -u, --user выбор пользовательских настроек -s, --system выбор системных настроек -h, --help информация об использовании и выход Если указаны ГРУППА и ПАРАМЕТР, выдаётся значение указанного параметра. Если указано ЗНАЧЕНИЕ, параметру присваивается заданное значение. Ключи -p, -u и -s могут использоваться для выбора хранилища настроек (по умолчанию это хранилище настроек проекта в текущем каталоге). Если не указаны ни ГРУППА, ни ПАРАМЕТР, выводится имя файла выбранного хранилища настроек. Страница для отчётов об ошибках: %1$s Домашняя страница Lepton EDA: %2$s Использование: lepton-cli export [КЛЮЧ ...] -o ВЫХОДНОЙ_ФАЙЛ [--] ФАЙЛ ... Экспорт файлов Lepton EDA в различные форматы изображений. -f, --format=ТИП выходной формат (обычно определяется автоматически) -o, --output=ВЫХОДНОЙ_ФАЙЛ имя выходного файла -p, --paper=ФОРМАТ выбор формата страницы по названию -s, --size=ШИРИНА;ВЫСОТА задание точных размеров изображения -k, --scale=КОЭФФИЦИЕНТ задание коэффициента масштабирования вывода -l, --layout=ОРИЕНТАЦИЯ ориентация страницы -m, --margins=СВЕРХУ;СЛЕВА;СНИЗУ;СПРАВА установка полей страницы -a, --align=ГОРИЗ_ВЫРАВНИВАНИЕ;ВЕРТ_ВЫРАВНИВАНИЕ установка выравнивания чертежа на странице -d, --dpi=DPI количество точек на дюйм для растровых изображений -c, --color цветной вывод --no-color монохромный вывод -F, --font=ИМЯ_ШРИФТА имя шрифта для вывода текста -h, --help справка по использованию и выход Страница для отчётов об ошибках: %1$s Домашняя страница Lepton EDA: %2$s Использование: lepton-cli shell [КЛЮЧ ...] Командная оболочка интерпретатора Scheme для интерактивной работы с данными Lepton EDA. -s ФАЙЛ загрузка исходного кода Scheme из ФАЙЛА и выход -c ВЫРАЖЕНИЕ вычисление ВЫРАЖЕНИЯ Scheme и выход -- прекращение сканирования аргументов; запуск в интерактивном режиме При задании вышеуказанных ключей обработка аргументов прекращается, все оставшиеся аргументы передаются как значение функции (command-line). -L КАТАЛОГ добавление КАТАЛОГА первым в список путей загрузки Scheme -l ФАЙЛ загрузка исходного кода Scheme из ФАЙЛА -h, --help вывод справки по использованию и выход Страница для отчётов об ошибках: %1$s Домашняя страница Lepton EDA: %2$s ВНИМАНИЕ: Не удалось загрузить «%1$s»: %2$s. lepton-eda-1.9.16/utils/cli/po/boldquot.sed0000644000175000017500000000033114065635157015445 00000000000000s/"\([^"]*\)"/“\1”/g s/`\([^`']*\)'/‘\1’/g s/ '\([^`']*\)' / ‘\1’ /g s/ '\([^`']*\)'$/ ‘\1’/g s/^'\([^`']*\)' /‘\1’ /g s/“”/""/g s/“/“/g s/”/”/g s/‘/‘/g s/’/’/g lepton-eda-1.9.16/utils/cli/po/en@boldquot.header0000644000175000017500000000247114065635157016554 00000000000000# All this catalog "translates" are quotation characters. # The msgids must be ASCII and therefore cannot contain real quotation # characters, only substitutes like grave accent (0x60), apostrophe (0x27) # and double quote (0x22). These substitutes look strange; see # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html # # This catalog translates grave accent (0x60) and apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019). # It also translates pairs of apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019) # and pairs of quotation mark (0x22) to # left double quotation mark (U+201C) and right double quotation mark (U+201D). # # When output to an UTF-8 terminal, the quotation characters appear perfectly. # When output to an ISO-8859-1 terminal, the single quotation marks are # transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to # grave/acute accent (by libiconv), and the double quotation marks are # transliterated to 0x22. # When output to an ASCII terminal, the single quotation marks are # transliterated to apostrophes, and the double quotation marks are # transliterated to 0x22. # # This catalog furthermore displays the text between the quotation marks in # bold face, assuming the VT100/XTerm escape sequences. # lepton-eda-1.9.16/utils/cli/po/insert-header.sin0000644000175000017500000000124014065635157016364 00000000000000# Sed script that inserts the file called HEADER before the header entry. # # At each occurrence of a line starting with "msgid ", we execute the following # commands. At the first occurrence, insert the file. At the following # occurrences, do nothing. The distinction between the first and the following # occurrences is achieved by looking at the hold space. /^msgid /{ x # Test if the hold space is empty. s/m/m/ ta # Yes it was empty. First occurrence. Read the file. r HEADER # Output the file's contents by reading the next line. But don't lose the # current line while doing this. g N bb :a # The hold space was nonempty. Following occurrences. Do nothing. x :b } lepton-eda-1.9.16/utils/cli/po/Makevars0000644000175000017500000000357314101257250014607 00000000000000# Makefile variables for PO directory in any package using GNU gettext. # Usually the message domain is the same as the package name. DOMAIN = lepton-cli # These two variables depend on the location of this directory. subdir = utils/cli/po top_builddir = ../../.. # These options get passed to xgettext. XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ MSGMERGE_OPTIONS = --no-location PO_DEPENDS_ON_POT = no # This is the copyright holder that gets inserted into the header of the # $(DOMAIN).pot file. Set this to the copyright holder of the surrounding # package. (Note that the msgstr strings, extracted from the package's # sources, belong to the copyright holder of the package.) Translators are # expected to transfer the copyright for their translations to this person # or entity, or to disclaim their copyright. The empty string stands for # the public domain; in this case the translators are expected to disclaim # their copyright. COPYRIGHT_HOLDER = Lepton Developers # This is the email address or URL to which the translators shall report # bugs in the untranslated strings: # - Strings which are not entire sentences, see the maintainer guidelines # in the GNU gettext documentation, section 'Preparing Strings'. # - Strings which use unclear terms or require additional context to be # understood. # - Strings which make invalid assumptions about notation of date, time or # money. # - Pluralisation problems. # - Incorrect English spelling. # - Incorrect formatting. # It can be your email address, or a mailing list address where translators # can write to without being subscribed, or the URL of a web page through # which the translators can contact you. MSGID_BUGS_ADDRESS = https://github.com/lepton-eda/lepton-eda/issues # This is the list of locale categories, beyond LC_MESSAGES, for which the # message catalogs shall be used. It is usually empty. EXTRA_LOCALE_CATEGORIES = lepton-eda-1.9.16/utils/cli/po/quot.sed0000644000175000017500000000023114065635157014603 00000000000000s/"\([^"]*\)"/“\1”/g s/`\([^`']*\)'/‘\1’/g s/ '\([^`']*\)' / ‘\1’ /g s/ '\([^`']*\)'$/ ‘\1’/g s/^'\([^`']*\)' /‘\1’ /g s/“”/""/g lepton-eda-1.9.16/utils/cli/po/en@quot.header0000644000175000017500000000226314065635157015712 00000000000000# All this catalog "translates" are quotation characters. # The msgids must be ASCII and therefore cannot contain real quotation # characters, only substitutes like grave accent (0x60), apostrophe (0x27) # and double quote (0x22). These substitutes look strange; see # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html # # This catalog translates grave accent (0x60) and apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019). # It also translates pairs of apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019) # and pairs of quotation mark (0x22) to # left double quotation mark (U+201C) and right double quotation mark (U+201D). # # When output to an UTF-8 terminal, the quotation characters appear perfectly. # When output to an ISO-8859-1 terminal, the single quotation marks are # transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to # grave/acute accent (by libiconv), and the double quotation marks are # transliterated to 0x22. # When output to an ASCII terminal, the single quotation marks are # transliterated to apostrophes, and the double quotation marks are # transliterated to 0x22. # lepton-eda-1.9.16/utils/cli/po/LINGUAS0000644000175000017500000000004714101257250014131 00000000000000# Set of available languages it nl ru lepton-eda-1.9.16/utils/cli/po/it.gmo0000644000175000017500000000220614101262463014225 00000000000000T @:,A5n:G 'I4H~4=K:ERROR: %s. ERROR: Selected output format does not support multipage output ERROR: You may only specify a single configuration store. ERROR: You must specify an output filename. ERROR: You must specify at least one input filename. ERROR: You must specify both configuration group and key. Project-Id-Version: geda-gaf Report-Msgid-Bugs-To: https://github.com/lepton-eda/lepton-eda/issues PO-Revision-Date: 2014-12-28 22:09+0100 Last-Translator: Marco Ciampa Language-Team: Italian Language: it MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ERRORE: %s. ERRORE: il formato di uscita selezionato non supporta le pagine multiple ERRORE: si può specificare solo un singolo archivio di configurazione. ERRORE: bisogna specificare un nome file in uscita. ERRORE: bisogna specificare almeno un nome file in ingresso. ERRORE: si deve specificare sia il gruppo di configurazione che la chiave. lepton-eda-1.9.16/utils/cli/po/stamp-po0000644000175000017500000000001214101262463014561 00000000000000timestamp lepton-eda-1.9.16/utils/cli/docs/0000755000175000017500000000000014101262654013501 500000000000000lepton-eda-1.9.16/utils/cli/docs/Makefile.am0000644000175000017500000000146514101257250015457 00000000000000EXTRA_DIST = $(html_man_files) lepton-cli.1.in .1.in.1: d=`$(GUILE) -c '(setlocale LC_ALL "C") \ (display (strftime "%B %-d, %Y" \ (car (strptime "%Y%m%d" (cadr (program-arguments))))))' $(DATE_VERSION)` ; \ v="$(DOTTED_VERSION).$(DATE_VERSION)" ; \ y=`echo $(DATE_VERSION)| sed -e"s/\(....\).*/\1/"`; \ sed -e"s:[@]DATE@:$$d:" -e"s:[@]VERSION@:$$v:" -e"s:[@]YEAR@:$$y:" < $< > $@ # Rules for converting man->html dist_man_MANS = lepton-cli.1 html_man_files = lepton-cli.html docsmandir=$(docdir)/man docsman_DATA=$(html_man_files) if ENABLE_GROFF_HTML .1.html: rm -rf $@.tmp && \ LC_NUMERIC=C $(GROFF) -man -T html $< >$@.tmp && \ mv -f $@.tmp $@ else .1.html: @echo "No working groff available: cannot create $@" @! : endif SUFFIXES = .1.in .1 .html CLEANFILES = $(dist_man_MANS) $(html_man_files) lepton-eda-1.9.16/utils/cli/docs/Makefile.in0000644000175000017500000005225614101262632015474 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = utils/cli/docs ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/guile.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lepton-assert.m4 \ $(top_srcdir)/m4/lepton-attrib.m4 \ $(top_srcdir)/m4/lepton-awk.m4 \ $(top_srcdir)/m4/lepton-cairo.m4 \ $(top_srcdir)/m4/lepton-contrib.m4 \ $(top_srcdir)/m4/lepton-data-dirs.m4 \ $(top_srcdir)/m4/lepton-desktop-i18n.m4 \ $(top_srcdir)/m4/lepton-desktop.m4 \ $(top_srcdir)/m4/lepton-doxygen.m4 \ $(top_srcdir)/m4/lepton-gcc-flags.m4 \ $(top_srcdir)/m4/lepton-git-version.m4 \ $(top_srcdir)/m4/lepton-git.m4 \ $(top_srcdir)/m4/lepton-groff.m4 \ $(top_srcdir)/m4/lepton-guile.m4 \ $(top_srcdir)/m4/lepton-host.m4 \ $(top_srcdir)/m4/lepton-stroke.m4 \ $(top_srcdir)/m4/lepton-uri-viewer.m4 \ $(top_srcdir)/m4/lepton-windows.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/liblepton.m4 \ $(top_srcdir)/m4/libleptonattrib.m4 \ $(top_srcdir)/m4/libleptongui.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pcb-data-dirs.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } man1dir = $(mandir)/man1 am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docsmandir)" NROFF = nroff MANS = $(dist_man_MANS) DATA = $(docsman_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(dist_man_MANS) $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITMAP_DIRECTORY = @BITMAP_DIRECTORY@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@ CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@ CAIRO_PNG_CFLAGS = @CAIRO_PNG_CFLAGS@ CAIRO_PNG_LIBS = @CAIRO_PNG_LIBS@ CAIRO_PS_CFLAGS = @CAIRO_PS_CFLAGS@ CAIRO_PS_LIBS = @CAIRO_PS_LIBS@ CAIRO_SVG_CFLAGS = @CAIRO_SVG_CFLAGS@ CAIRO_SVG_LIBS = @CAIRO_SVG_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE_VERSION = @DATE_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DESKTOP_I18N = @DESKTOP_I18N@ DESKTOP_I18N_CREATE = @DESKTOP_I18N_CREATE@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@ DESKTOP_I18N_SCRIPT = @DESKTOP_I18N_SCRIPT@ DLLTOOL = @DLLTOOL@ DOT = @DOT@ DOTTED_VERSION = @DOTTED_VERSION@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GDK_CFLAGS = @GDK_CFLAGS@ GDK_LIBS = @GDK_LIBS@ GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@ GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@ GETTEXT = @GETTEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GIT = @GIT@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GROFF = @GROFF@ GTKEXTRA_CFLAGS = @GTKEXTRA_CFLAGS@ GTKEXTRA_LIBS = @GTKEXTRA_LIBS@ GTKSHEET_CFLAGS = @GTKSHEET_CFLAGS@ GTKSHEET_LIBS = @GTKSHEET_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GUILD = @GUILD@ GUILE = @GUILE@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@ GUILE_LDFLAGS = @GUILE_LDFLAGS@ GUILE_LIBS = @GUILE_LIBS@ GUILE_LTLIBS = @GUILE_LTLIBS@ GUILE_PKG_NAME = @GUILE_PKG_NAME@ GUILE_SNARF = @GUILE_SNARF@ GUILE_TOOLS = @GUILE_TOOLS@ HAVE_GIT_REPO = @HAVE_GIT_REPO@ ICON_THEME_INSTALLER = @ICON_THEME_INSTALLER@ INKSCAPE = @INKSCAPE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEPTONDATADIR = @LEPTONDATADIR@ LEPTON_SCHEME_MODULE_DIRECTORY = @LEPTON_SCHEME_MODULE_DIRECTORY@ LEPTON_SCM_PRECOMPILE_DIR = @LEPTON_SCM_PRECOMPILE_DIR@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBLEPTONATTRIB_MAJOR = @LIBLEPTONATTRIB_MAJOR@ LIBLEPTONATTRIB_SHLIB_VERSION = @LIBLEPTONATTRIB_SHLIB_VERSION@ LIBLEPTONGUI_MAJOR = @LIBLEPTONGUI_MAJOR@ LIBLEPTONGUI_SHLIB_VERSION = @LIBLEPTONGUI_SHLIB_VERSION@ LIBLEPTON_GETTEXT_DOMAIN = @LIBLEPTON_GETTEXT_DOMAIN@ LIBLEPTON_MAJOR = @LIBLEPTON_MAJOR@ LIBLEPTON_SHLIB_VERSION = @LIBLEPTON_SHLIB_VERSION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSTROKE_CPPFLAGS = @LIBSTROKE_CPPFLAGS@ LIBSTROKE_LDFLAGS = @LIBSTROKE_LDFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ M4 = @M4@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MINGW_CFLAGS = @MINGW_CFLAGS@ MINGW_GUI_LDFLAGS = @MINGW_GUI_LDFLAGS@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCBDATADIR = @PCBDATADIR@ PCBLIBPATH = @PCBLIBPATH@ PCBM4DIR = @PCBM4DIR@ PDFLATEX = @PDFLATEX@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ URI_VIEWER = @URI_VIEWER@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDOWS_LIBTOOL_FLAGS = @WINDOWS_LIBTOOL_FLAGS@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = $(html_man_files) lepton-cli.1.in # Rules for converting man->html dist_man_MANS = lepton-cli.1 html_man_files = lepton-cli.html docsmandir = $(docdir)/man docsman_DATA = $(html_man_files) SUFFIXES = .1.in .1 .html CLEANFILES = $(dist_man_MANS) $(html_man_files) all: all-am .SUFFIXES: .SUFFIXES: .1.in .1 .html $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/cli/docs/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign utils/cli/docs/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-man1: $(dist_man_MANS) @$(NORMAL_INSTALL) @list1=''; \ list2='$(dist_man_MANS)'; \ test -n "$(man1dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.1[a-z]*$$/p'; \ fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ done | \ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ sed 'N;N;s,\n, ,g' | { \ list=; while read file base inst; do \ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ fi; \ done; \ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ while read files; do \ test -z "$$files" || { \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ done; } uninstall-man1: @$(NORMAL_UNINSTALL) @list=''; test -n "$(man1dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \ sed -n '/\.1[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) install-docsmanDATA: $(docsman_DATA) @$(NORMAL_INSTALL) @list='$(docsman_DATA)'; test -n "$(docsmandir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(docsmandir)'"; \ $(MKDIR_P) "$(DESTDIR)$(docsmandir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docsmandir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(docsmandir)" || exit $$?; \ done uninstall-docsmanDATA: @$(NORMAL_UNINSTALL) @list='$(docsman_DATA)'; test -n "$(docsmandir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(docsmandir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(MANS) $(DATA) installdirs: for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docsmandir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-docsmanDATA install-man install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-man1 install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-docsmanDATA uninstall-man uninstall-man: uninstall-man1 .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am \ install-docsmanDATA install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-man1 install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \ uninstall-am uninstall-docsmanDATA uninstall-man \ uninstall-man1 .PRECIOUS: Makefile .1.in.1: d=`$(GUILE) -c '(setlocale LC_ALL "C") \ (display (strftime "%B %-d, %Y" \ (car (strptime "%Y%m%d" (cadr (program-arguments))))))' $(DATE_VERSION)` ; \ v="$(DOTTED_VERSION).$(DATE_VERSION)" ; \ y=`echo $(DATE_VERSION)| sed -e"s/\(....\).*/\1/"`; \ sed -e"s:[@]DATE@:$$d:" -e"s:[@]VERSION@:$$v:" -e"s:[@]YEAR@:$$y:" < $< > $@ @ENABLE_GROFF_HTML_TRUE@.1.html: @ENABLE_GROFF_HTML_TRUE@ rm -rf $@.tmp && \ @ENABLE_GROFF_HTML_TRUE@ LC_NUMERIC=C $(GROFF) -man -T html $< >$@.tmp && \ @ENABLE_GROFF_HTML_TRUE@ mv -f $@.tmp $@ @ENABLE_GROFF_HTML_FALSE@.1.html: @ENABLE_GROFF_HTML_FALSE@ @echo "No working groff available: cannot create $@" @ENABLE_GROFF_HTML_FALSE@ @! : # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/cli/docs/lepton-cli.html0000644000175000017500000003117514101262654016364 00000000000000 lepton-cli

lepton-cli

NAME
SYNOPSIS
DESCRIPTION
GENERAL OPTIONS
EXPORTING IMAGE FILES
ACCESSING CONFIGURATION
SCHEME PROCESSING
AUTHORS
COPYRIGHT
SEE ALSO

NAME

lepton-cli - Lepton EDA Command-Line Utility

SYNOPSIS

lepton-cli [OPTION ...] COMMAND [ARGS ...]

DESCRIPTION

lepton-cli is part of the Lepton EDA (Electronic Design Automation) toolset. It provides a number of small command-line utilities for working with schematic and symbol files, and is designed to be used for batch processing of designs created using the schematic editor lepton-schematic(1). It currently has three built-in COMMANDs:

lepton-cli export is used to create SVG, PDF, PNG, PS and EPS files from schematic and symbol files, for printing or embedding in other documents.

lepton-cli config allows reading and writing settings in Lepton EDA project, user and system configuration stores.

lepton-cli shell provides a Scheme REPL for command-line batch processing of schematic data.

GENERAL OPTIONS

--no-rcfiles

Prevent ’gafrc’ Scheme initialisation files from being loaded.

-h, --help

Print a help message.

-V, --version

Print lepton-cli version information.

EXPORTING IMAGE FILES

lepton-cli export [OPTION ...] -o OUTPUT [--] FILE ...

lepton-cli export can export schematic and symbol files in a variety of image formats for printing or further processing. It currently supports single-page PNG, SVG and EPS output, and multi-page PS and PDF output. It accepts a variety of options for controlling how the output is formatted.
-o
, --output=FILE

Output generated image data to FILE.

-f, --format=(png | pdf | svg | ps | eps)

Specify an output format. Usually, this option is not required, because lepton-cli export will infer the correct format from the file extension of the output file.

-p, --paper=NAME

Size the output for a particular paper size. The NAME should be a PWG 5101.1-2002 paper name. For example, valid values include ’iso_a4’, ’na_letter’, or ’na_d’.

-P, --paper-names

Print paper size names suitable to pass to the --paper option and exit.

-l, --layout=(auto | landscape | portrait)

When using a paper size, set the orientation of the output. If ’auto’ layout is used, the orientation that best fits the drawing will be used.

-s, --size=(auto | WIDTH:HEIGHT)

Size the output with specific dimensions. If the size is ’auto’, select the size that best fits the drawing.

-k, --scale=FACTOR Set the output scale

FACTOR. This is a distance identical with 100 points (1 default grid spacing) in lepton-schematic(1) coordinate space. It is used to size the output when neither --paper nor --size are given, and defaults to 100 mil.

-m, --margins=(auto | TOP[:LEFT[:BOTTOM[:RIGHT]]])

Set the widths of the margins to be used. If ’auto’ margins are specified, a sensible default value will be chosen. Up to four margin widths can be provided. If one is provided, it will be used on all four sides. If two are provided, the first will be used for the top/bottom and the second for the left/right. If three are provided, the first will be used for the top, the second for left/right, and the third for the bottom.

-a, --align=(auto | HALIGN:VALIGN)

Set how the drawing is aligned within the page. HALIGN controls the horizontal alignment, and VALIGN the vertical. Each alignment value should be in the range 0.0 to 1.0. The ’auto’ alignment is equivalent to a value of ’0.5:0.5’, i.e. centered.

-d, --dpi=DPI

Set the number of pixels per inch used when generating PNG output.

-c, --color

Enable colour output.

--no-color

Disable color output.

-F, --font=FONT-FAMILY

Set the font to be used for drawing text.

--

Treat all remaining arguments as schematic or symbol filenames. Use this if you have a schematic or symbol filename which begins with ’-’.

The --size, --margins, or --scale options described above accept values using units of ’mm’, ’cm’, ’in’, ’pc’, ’px’, or ’pt’. If you do not provide a unit, points are assumed. N.b. that ’px’ are evaluated relative to the current --dpi setting.

When using the --size, --margins, or --align options with multiple values, you may use ’;’, or ’ ’ as a separator between them instead of ’:’. In such a case, remember to properly quote your arguments to avoid them to be interpreted by your shell.

ACCESSING CONFIGURATION

lepton-cli config [OPTION] [GROUP KEY [VALUE]]

lepton-cli config is a basic utility for inspecting and modifying Lepton EDA configuration stores.

If a GROUP and KEY are specified, retrieves the value of that configuration parameter. If a VALUE is specified, sets the value of that parameter. The -p, -u and -s options can be used to select the configuration store affected (by default, the project configuration store for the current working directory). If no GROUP and KEY are provided, outputs the filename of the selected configuration store.
-p
, --project[=PATH]

Select the project configuration store of the project located in PATH. If no PATH is provided, selects the project in the current working directory.

-u, --user

Select the user configuration store.

-s, --system

Select the system configuration store. Depending on user permissions, the system configuration store may be read-only.

-c, --cache

Select the program-specific configuration store (CACHE configuration context, associated with $XDG_CACHE_HOME/lepton-eda/gui.conf configuration file).

SCHEME PROCESSING

lepton-cli shell [OPTION ...]

lepton-cli shell provides a Scheme Read-Eval-Print Loop (REPL) for automating processing of schematic and symbol files. It is designed to be used with the Lepton EDA Scheme API.

-s FILE

Evaluate Scheme source code from FILE, and exit.

-c EXPR

Evaluate the Scheme expression EXPR, and exit.

--

Stop scanning arguments; run interactively.

-L DIRECTORY

Prepend DIRECTORY to the list of directories to be searched for Scheme files.

-l FILE

Evaluate Scheme source code from FILE.

The -s, -c and -- switches stop argument processing and pass all the remaining arguments as the value of ’(command-line)’.

AUTHORS

See the ’AUTHORS’ file included with this program.

COPYRIGHT

Copyright © 2012-2017 gEDA Contributors.
Copyright © 2017-2021 Lepton Developers.
License GPLv2+: GNU GPL version 2 or later. Please see the ’COPYING’
file included with this program for full details.

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

SEE ALSO

lepton-schematic(1).

For more information on the Scheme API, see the lepton-scheme Texinfo manual. If the info program is properly installed at your site, the command

info lepton-scheme

should give you access to the complete manual.


lepton-eda-1.9.16/utils/cli/docs/lepton-cli.10000644000175000017500000001664414101262654015564 00000000000000.TH lepton-cli 1 "July 31, 2021" "Lepton EDA" 1.9.16.20210731 .SH NAME lepton-cli - Lepton EDA Command-Line Utility .SH "SYNOPSIS" .B lepton-cli [\fIOPTION\fR ...] \fICOMMAND\fR [\fIARGS\fR ...] .SH "DESCRIPTION" .PP .B lepton-cli is part of the Lepton EDA (Electronic Design Automation) toolset. It provides a number of small command-line utilities for working with schematic and symbol files, and is designed to be used for batch processing of designs created using the schematic editor \fBlepton-schematic\fR(1). It currently has three built-in \fICOMMAND\fRs: .B lepton-cli export is used to create SVG, PDF, PNG, PS and EPS files from schematic and symbol files, for printing or embedding in other documents. .B lepton-cli config allows reading and writing settings in Lepton EDA project, user and system configuration stores. .B lepton-cli shell provides a Scheme REPL for command-line batch processing of schematic data. .SH "GENERAL OPTIONS" .TP 8 \fB--no-rcfiles\fR Prevent `gafrc' Scheme initialisation files from being loaded. .TP 8 \fB-h\fR, \fB--help\fR Print a help message. .TP 8 \fB-V\fR, \fB--version\fR Print \fBlepton-cli\fR version information. .SH "EXPORTING IMAGE FILES" .B lepton-cli export [\fIOPTION\fR ...] \fB-o\fR \fIOUTPUT\fR [\fI--\fR] \fIFILE\fR ... .B lepton-cli export can export schematic and symbol files in a variety of image formats for printing or further processing. It currently supports single-page PNG, SVG and EPS output, and multi-page PS and PDF output. It accepts a variety of options for controlling how the output is formatted. .TP 8 \fB-o\fR, \fB--output\fR=\fIFILE\fR Output generated image data to \fIFILE\fR. .TP 8 \fB-f\fR, \fB--format\fR=(\fBpng\fR | \fBpdf\fR | \fBsvg\fR | \fBps\fR | \fBeps\fR) Specify an output format. Usually, this option is not required, because \fBlepton-cli export\fR will infer the correct format from the file extension of the output file. .TP 8 \fB-p\fR, \fB--paper\fR=\fINAME\fR Size the output for a particular paper size. The \fINAME\fR should be a PWG 5101.1-2002 paper name. For example, valid values include `iso_a4', `na_letter', or `na_d'. .TP 8 \fB-P\fR, \fB--paper-names\fR Print paper size names suitable to pass to the \fB--paper\fR option and exit. .TP 8 \fB-l\fR, \fB--layout\fR=(\fBauto\fR | \fBlandscape\fR | \fBportrait\fR) When using a paper size, set the orientation of the output. If `auto' layout is used, the orientation that best fits the drawing will be used. .TP 8 \fB-s\fR, \fB--size\fR=(\fBauto\fR | \fIWIDTH\fR:\fIHEIGHT\fR) Size the output with specific dimensions. If the size is `auto', select the size that best fits the drawing. .TP 8 \fB-k\fR, \fB--scale\fR=\fIFACTOR\fR Set the output scale \fIFACTOR\fR. This is a distance identical with 100 points (1 default grid spacing) in \fBlepton-schematic\fR(1) coordinate space. It is used to size the output when neither \fB--paper\fR nor \fB--size\fR are given, and defaults to 100 mil. .TP 8 \fB-m\fR, \fB--margins\fR=(\fBauto\fR | \fITOP\fR[:\fILEFT\fR[:\fIBOTTOM\fR[:\fIRIGHT\fR]]]) Set the widths of the margins to be used. If `auto' margins are specified, a sensible default value will be chosen. Up to four margin widths can be provided. If one is provided, it will be used on all four sides. If two are provided, the first will be used for the top/bottom and the second for the left/right. If three are provided, the first will be used for the top, the second for left/right, and the third for the bottom. .TP 8 \fB-a\fR, \fB--align\fR=(\fBauto\fR | \fIHALIGN\fR:\fIVALIGN\fR) Set how the drawing is aligned within the page. \fIHALIGN\fR controls the horizontal alignment, and \fIVALIGN\fR the vertical. Each alignment value should be in the range 0.0 to 1.0. The `auto' alignment is equivalent to a value of `0.5:0.5', i.e. centered. .TP 8 \fB-d\fR, \fB--dpi\fR=\fIDPI\fR Set the number of pixels per inch used when generating PNG output. .TP 8 \fB-c\fR, \fB--color\fR Enable colour output. .TP 8 \fB--no-color\fR Disable color output. .TP 8 \fB-F\fR, \fB--font\fR=\fIFONT-FAMILY\fR Set the font to be used for drawing text. .TP 8 \fB--\fR Treat all remaining arguments as schematic or symbol filenames. Use this if you have a schematic or symbol filename which begins with `-'. .PP The \fB--size\fR, \fB--margins\fR, or \fB--scale\fR options described above accept values using units of `mm', `cm', `in', `pc', `px', or `pt'. If you do not provide a unit, points are assumed. N.b. that `px' are evaluated relative to the current \fB--dpi\fR setting. .PP When using the \fB--size\fR, \fB--margins\fR, or \fB--align\fR options with multiple values, you may use `;', or ` ' as a separator between them instead of `:'. In such a case, remember to properly quote your arguments to avoid them to be interpreted by your shell. .SH "ACCESSING CONFIGURATION" .B lepton-cli config [\fIOPTION\fR] [\fIGROUP\fR \fIKEY\fR [\fIVALUE\fR]] .B lepton-cli config is a basic utility for inspecting and modifying Lepton EDA configuration stores. .PP If a \fIGROUP\fR and \fRKEY\fR are specified, retrieves the value of that configuration parameter. If a \fIVALUE\fR is specified, sets the value of that parameter. The \fB-p\fR, \fB-u\fR and \fB-s\fR options can be used to select the configuration store affected (by default, the project configuration store for the current working directory). If no \fIGROUP\fR and \fIKEY\fR are provided, outputs the filename of the selected configuration store. .PP .TP 8 \fB-p\fR, \fB--project\fR[=\fIPATH\fR] Select the project configuration store of the project located in \fIPATH\fR. If no \fIPATH\fR is provided, selects the project in the current working directory. .TP 8 \fB-u\fR, \fB--user\fR Select the user configuration store. .TP 8 \fB-s\fR, \fB--system\fR Select the system configuration store. Depending on user permissions, the system configuration store may be read-only. .TP 8 \fB-c\fR, \fB--cache\fR Select the program-specific configuration store (CACHE configuration context, associated with $XDG_CACHE_HOME/lepton-eda/gui.conf configuration file). .SH "SCHEME PROCESSING" .B lepton-cli shell [\fIOPTION ...\fR] .B lepton-cli shell provides a Scheme Read-Eval-Print Loop (REPL) for automating processing of schematic and symbol files. It is designed to be used with the Lepton EDA Scheme API. .TP 8 \fB-s\fR \fIFILE\fR Evaluate Scheme source code from \fIFILE\fR, and exit. .TP 8 \fB-c\fR \fIEXPR\fR Evaluate the Scheme expression \fIEXPR\fR, and exit. .TP 8 \fB--\fR Stop scanning arguments; run interactively. .TP 8 \fB-L\fR \fIDIRECTORY\fR Prepend \fIDIRECTORY\fR to the list of directories to be searched for Scheme files. .TP 8 \fB-l\fR \fIFILE\fR Evaluate Scheme source code from \fIFILE\fR. .PP The \fB-s\fR, \fB-c\fR and \fB--\fR switches stop argument processing and pass all the remaining arguments as the value of `(command-line)'. .SH AUTHORS See the `AUTHORS' file included with this program. .SH COPYRIGHT .nf Copyright \(co 2012-2017 gEDA Contributors. Copyright \(co 2017-2021 Lepton Developers. License GPLv2+: GNU GPL version 2 or later. Please see the `COPYING' file included with this program for full details. .PP This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. .SH SEE ALSO \fBlepton-schematic\fR(1). For more information on the Scheme API, see the \fBlepton-scheme\fR Texinfo manual. If the \fBinfo\fR program is properly installed at your site, the command .IP .B info lepton-scheme .PP should give you access to the complete manual. lepton-eda-1.9.16/utils/cli/docs/lepton-cli.1.in0000644000175000017500000001663114101257250016161 00000000000000.TH lepton-cli 1 "@DATE@" "Lepton EDA" @VERSION@ .SH NAME lepton-cli - Lepton EDA Command-Line Utility .SH "SYNOPSIS" .B lepton-cli [\fIOPTION\fR ...] \fICOMMAND\fR [\fIARGS\fR ...] .SH "DESCRIPTION" .PP .B lepton-cli is part of the Lepton EDA (Electronic Design Automation) toolset. It provides a number of small command-line utilities for working with schematic and symbol files, and is designed to be used for batch processing of designs created using the schematic editor \fBlepton-schematic\fR(1). It currently has three built-in \fICOMMAND\fRs: .B lepton-cli export is used to create SVG, PDF, PNG, PS and EPS files from schematic and symbol files, for printing or embedding in other documents. .B lepton-cli config allows reading and writing settings in Lepton EDA project, user and system configuration stores. .B lepton-cli shell provides a Scheme REPL for command-line batch processing of schematic data. .SH "GENERAL OPTIONS" .TP 8 \fB--no-rcfiles\fR Prevent `gafrc' Scheme initialisation files from being loaded. .TP 8 \fB-h\fR, \fB--help\fR Print a help message. .TP 8 \fB-V\fR, \fB--version\fR Print \fBlepton-cli\fR version information. .SH "EXPORTING IMAGE FILES" .B lepton-cli export [\fIOPTION\fR ...] \fB-o\fR \fIOUTPUT\fR [\fI--\fR] \fIFILE\fR ... .B lepton-cli export can export schematic and symbol files in a variety of image formats for printing or further processing. It currently supports single-page PNG, SVG and EPS output, and multi-page PS and PDF output. It accepts a variety of options for controlling how the output is formatted. .TP 8 \fB-o\fR, \fB--output\fR=\fIFILE\fR Output generated image data to \fIFILE\fR. .TP 8 \fB-f\fR, \fB--format\fR=(\fBpng\fR | \fBpdf\fR | \fBsvg\fR | \fBps\fR | \fBeps\fR) Specify an output format. Usually, this option is not required, because \fBlepton-cli export\fR will infer the correct format from the file extension of the output file. .TP 8 \fB-p\fR, \fB--paper\fR=\fINAME\fR Size the output for a particular paper size. The \fINAME\fR should be a PWG 5101.1-2002 paper name. For example, valid values include `iso_a4', `na_letter', or `na_d'. .TP 8 \fB-P\fR, \fB--paper-names\fR Print paper size names suitable to pass to the \fB--paper\fR option and exit. .TP 8 \fB-l\fR, \fB--layout\fR=(\fBauto\fR | \fBlandscape\fR | \fBportrait\fR) When using a paper size, set the orientation of the output. If `auto' layout is used, the orientation that best fits the drawing will be used. .TP 8 \fB-s\fR, \fB--size\fR=(\fBauto\fR | \fIWIDTH\fR:\fIHEIGHT\fR) Size the output with specific dimensions. If the size is `auto', select the size that best fits the drawing. .TP 8 \fB-k\fR, \fB--scale\fR=\fIFACTOR\fR Set the output scale \fIFACTOR\fR. This is a distance identical with 100 points (1 default grid spacing) in \fBlepton-schematic\fR(1) coordinate space. It is used to size the output when neither \fB--paper\fR nor \fB--size\fR are given, and defaults to 100 mil. .TP 8 \fB-m\fR, \fB--margins\fR=(\fBauto\fR | \fITOP\fR[:\fILEFT\fR[:\fIBOTTOM\fR[:\fIRIGHT\fR]]]) Set the widths of the margins to be used. If `auto' margins are specified, a sensible default value will be chosen. Up to four margin widths can be provided. If one is provided, it will be used on all four sides. If two are provided, the first will be used for the top/bottom and the second for the left/right. If three are provided, the first will be used for the top, the second for left/right, and the third for the bottom. .TP 8 \fB-a\fR, \fB--align\fR=(\fBauto\fR | \fIHALIGN\fR:\fIVALIGN\fR) Set how the drawing is aligned within the page. \fIHALIGN\fR controls the horizontal alignment, and \fIVALIGN\fR the vertical. Each alignment value should be in the range 0.0 to 1.0. The `auto' alignment is equivalent to a value of `0.5:0.5', i.e. centered. .TP 8 \fB-d\fR, \fB--dpi\fR=\fIDPI\fR Set the number of pixels per inch used when generating PNG output. .TP 8 \fB-c\fR, \fB--color\fR Enable colour output. .TP 8 \fB--no-color\fR Disable color output. .TP 8 \fB-F\fR, \fB--font\fR=\fIFONT-FAMILY\fR Set the font to be used for drawing text. .TP 8 \fB--\fR Treat all remaining arguments as schematic or symbol filenames. Use this if you have a schematic or symbol filename which begins with `-'. .PP The \fB--size\fR, \fB--margins\fR, or \fB--scale\fR options described above accept values using units of `mm', `cm', `in', `pc', `px', or `pt'. If you do not provide a unit, points are assumed. N.b. that `px' are evaluated relative to the current \fB--dpi\fR setting. .PP When using the \fB--size\fR, \fB--margins\fR, or \fB--align\fR options with multiple values, you may use `;', or ` ' as a separator between them instead of `:'. In such a case, remember to properly quote your arguments to avoid them to be interpreted by your shell. .SH "ACCESSING CONFIGURATION" .B lepton-cli config [\fIOPTION\fR] [\fIGROUP\fR \fIKEY\fR [\fIVALUE\fR]] .B lepton-cli config is a basic utility for inspecting and modifying Lepton EDA configuration stores. .PP If a \fIGROUP\fR and \fRKEY\fR are specified, retrieves the value of that configuration parameter. If a \fIVALUE\fR is specified, sets the value of that parameter. The \fB-p\fR, \fB-u\fR and \fB-s\fR options can be used to select the configuration store affected (by default, the project configuration store for the current working directory). If no \fIGROUP\fR and \fIKEY\fR are provided, outputs the filename of the selected configuration store. .PP .TP 8 \fB-p\fR, \fB--project\fR[=\fIPATH\fR] Select the project configuration store of the project located in \fIPATH\fR. If no \fIPATH\fR is provided, selects the project in the current working directory. .TP 8 \fB-u\fR, \fB--user\fR Select the user configuration store. .TP 8 \fB-s\fR, \fB--system\fR Select the system configuration store. Depending on user permissions, the system configuration store may be read-only. .TP 8 \fB-c\fR, \fB--cache\fR Select the program-specific configuration store (CACHE configuration context, associated with $XDG_CACHE_HOME/lepton-eda/gui.conf configuration file). .SH "SCHEME PROCESSING" .B lepton-cli shell [\fIOPTION ...\fR] .B lepton-cli shell provides a Scheme Read-Eval-Print Loop (REPL) for automating processing of schematic and symbol files. It is designed to be used with the Lepton EDA Scheme API. .TP 8 \fB-s\fR \fIFILE\fR Evaluate Scheme source code from \fIFILE\fR, and exit. .TP 8 \fB-c\fR \fIEXPR\fR Evaluate the Scheme expression \fIEXPR\fR, and exit. .TP 8 \fB--\fR Stop scanning arguments; run interactively. .TP 8 \fB-L\fR \fIDIRECTORY\fR Prepend \fIDIRECTORY\fR to the list of directories to be searched for Scheme files. .TP 8 \fB-l\fR \fIFILE\fR Evaluate Scheme source code from \fIFILE\fR. .PP The \fB-s\fR, \fB-c\fR and \fB--\fR switches stop argument processing and pass all the remaining arguments as the value of `(command-line)'. .SH AUTHORS See the `AUTHORS' file included with this program. .SH COPYRIGHT .nf Copyright \(co 2012-2017 gEDA Contributors. Copyright \(co 2017-@YEAR@ Lepton Developers. License GPLv2+: GNU GPL version 2 or later. Please see the `COPYING' file included with this program for full details. .PP This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. .SH SEE ALSO \fBlepton-schematic\fR(1). For more information on the Scheme API, see the \fBlepton-scheme\fR Texinfo manual. If the \fBinfo\fR program is properly installed at your site, the command .IP .B info lepton-scheme .PP should give you access to the complete manual. lepton-eda-1.9.16/utils/cli/Makefile.in0000644000175000017500000005462314101262632014544 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = utils/cli ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/guile.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lepton-assert.m4 \ $(top_srcdir)/m4/lepton-attrib.m4 \ $(top_srcdir)/m4/lepton-awk.m4 \ $(top_srcdir)/m4/lepton-cairo.m4 \ $(top_srcdir)/m4/lepton-contrib.m4 \ $(top_srcdir)/m4/lepton-data-dirs.m4 \ $(top_srcdir)/m4/lepton-desktop-i18n.m4 \ $(top_srcdir)/m4/lepton-desktop.m4 \ $(top_srcdir)/m4/lepton-doxygen.m4 \ $(top_srcdir)/m4/lepton-gcc-flags.m4 \ $(top_srcdir)/m4/lepton-git-version.m4 \ $(top_srcdir)/m4/lepton-git.m4 \ $(top_srcdir)/m4/lepton-groff.m4 \ $(top_srcdir)/m4/lepton-guile.m4 \ $(top_srcdir)/m4/lepton-host.m4 \ $(top_srcdir)/m4/lepton-stroke.m4 \ $(top_srcdir)/m4/lepton-uri-viewer.m4 \ $(top_srcdir)/m4/lepton-windows.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/liblepton.m4 \ $(top_srcdir)/m4/libleptonattrib.m4 \ $(top_srcdir)/m4/libleptongui.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pcb-data-dirs.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir distdir-am am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITMAP_DIRECTORY = @BITMAP_DIRECTORY@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@ CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@ CAIRO_PNG_CFLAGS = @CAIRO_PNG_CFLAGS@ CAIRO_PNG_LIBS = @CAIRO_PNG_LIBS@ CAIRO_PS_CFLAGS = @CAIRO_PS_CFLAGS@ CAIRO_PS_LIBS = @CAIRO_PS_LIBS@ CAIRO_SVG_CFLAGS = @CAIRO_SVG_CFLAGS@ CAIRO_SVG_LIBS = @CAIRO_SVG_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE_VERSION = @DATE_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DESKTOP_I18N = @DESKTOP_I18N@ DESKTOP_I18N_CREATE = @DESKTOP_I18N_CREATE@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@ DESKTOP_I18N_SCRIPT = @DESKTOP_I18N_SCRIPT@ DLLTOOL = @DLLTOOL@ DOT = @DOT@ DOTTED_VERSION = @DOTTED_VERSION@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GDK_CFLAGS = @GDK_CFLAGS@ GDK_LIBS = @GDK_LIBS@ GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@ GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@ GETTEXT = @GETTEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GIT = @GIT@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GROFF = @GROFF@ GTKEXTRA_CFLAGS = @GTKEXTRA_CFLAGS@ GTKEXTRA_LIBS = @GTKEXTRA_LIBS@ GTKSHEET_CFLAGS = @GTKSHEET_CFLAGS@ GTKSHEET_LIBS = @GTKSHEET_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GUILD = @GUILD@ GUILE = @GUILE@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@ GUILE_LDFLAGS = @GUILE_LDFLAGS@ GUILE_LIBS = @GUILE_LIBS@ GUILE_LTLIBS = @GUILE_LTLIBS@ GUILE_PKG_NAME = @GUILE_PKG_NAME@ GUILE_SNARF = @GUILE_SNARF@ GUILE_TOOLS = @GUILE_TOOLS@ HAVE_GIT_REPO = @HAVE_GIT_REPO@ ICON_THEME_INSTALLER = @ICON_THEME_INSTALLER@ INKSCAPE = @INKSCAPE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEPTONDATADIR = @LEPTONDATADIR@ LEPTON_SCHEME_MODULE_DIRECTORY = @LEPTON_SCHEME_MODULE_DIRECTORY@ LEPTON_SCM_PRECOMPILE_DIR = @LEPTON_SCM_PRECOMPILE_DIR@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBLEPTONATTRIB_MAJOR = @LIBLEPTONATTRIB_MAJOR@ LIBLEPTONATTRIB_SHLIB_VERSION = @LIBLEPTONATTRIB_SHLIB_VERSION@ LIBLEPTONGUI_MAJOR = @LIBLEPTONGUI_MAJOR@ LIBLEPTONGUI_SHLIB_VERSION = @LIBLEPTONGUI_SHLIB_VERSION@ LIBLEPTON_GETTEXT_DOMAIN = @LIBLEPTON_GETTEXT_DOMAIN@ LIBLEPTON_MAJOR = @LIBLEPTON_MAJOR@ LIBLEPTON_SHLIB_VERSION = @LIBLEPTON_SHLIB_VERSION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSTROKE_CPPFLAGS = @LIBSTROKE_CPPFLAGS@ LIBSTROKE_LDFLAGS = @LIBSTROKE_LDFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ M4 = @M4@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MINGW_CFLAGS = @MINGW_CFLAGS@ MINGW_GUI_LDFLAGS = @MINGW_GUI_LDFLAGS@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCBDATADIR = @PCBDATADIR@ PCBLIBPATH = @PCBLIBPATH@ PCBM4DIR = @PCBM4DIR@ PDFLATEX = @PDFLATEX@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ URI_VIEWER = @URI_VIEWER@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDOWS_LIBTOOL_FLAGS = @WINDOWS_LIBTOOL_FLAGS@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = po src docs all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/cli/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign utils/cli/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ check-am clean clean-generic clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ps ps-am tags tags-am uninstall uninstall-am .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/cli/src/0000755000175000017500000000000014101262654013340 500000000000000lepton-eda-1.9.16/utils/cli/src/Makefile.am0000644000175000017500000000207014101257250015307 00000000000000bin_PROGRAMS = lepton-cli BUILT_SOURCES = shell.x lepton_cli_SOURCES = \ builtins.h \ gettext.h \ lepton-cli.c \ config.c \ export.c \ shell.c lepton_cli_CPPFLAGS = \ -I$(top_srcdir) -I$(top_srcdir)/liblepton/include -I$(includedir) lepton_cli_CFLAGS = \ $(GCC_CFLAGS) $(MINGW_CFLAGS) $(GUILE_CFLAGS) $(GTK_CFLAGS) \ $(GDK_PIXBUF_CFLAGS) $(CAIRO_CFLAGS) $(CAIRO_PNG_CFLAGS) \ $(CAIRO_PDF_CLAGS) $(CAIRO_PS_CFLAGS) $(CAIRO_SVG_CFLAGS) $(CFLAGS) lepton_cli_LDFLAGS = $(GUILE_LIBS) $(GTK_LIBS) $(GDK_PIXBUF_LIBS) $(CAIRO_LIBS) \ $(CAIRO_PNG_LIBS) $(CAIRO_PDF_CLAGS) $(CAIRO_PS_LIBS) $(CAIRO_SVG_LIBS) lepton_cli_LDADD = \ $(top_builddir)/liblepton/src/liblepton.la localedir = @datadir@/locale DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ # This is used to generate boilerplate for defining Scheme functions # in C. snarf_cpp_opts = $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(lepton_cli_CPPFLAGS) $(AM_CFLAGS) $(lepton_cli_CFLAGS) .c.x: $(AM_V_GEN) CPP="$(CPP)" $(GUILE_SNARF) -o $@ $< $(snarf_cpp_opts) SUFFIXES = .x CLEANFILES = $(BUILT_SOURCES) lepton-eda-1.9.16/utils/cli/src/builtins.h0000644000175000017500000000165314101257250015263 00000000000000/* * Lepton EDA command-line utility * Copyright (C) 2012 Peter Brett * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ int cmd_shell (int argc, char **argv); int cmd_config (int argc, char **argv); int cmd_export (int argc, char **argv); lepton-eda-1.9.16/utils/cli/src/export.c0000644000175000017500000010272314101257250014746 00000000000000/* * Lepton EDA command-line utility * Copyright (C) 2012 Peter Brett * Copyright (C) 2014-2016 gEDA Contributors * Copyright (C) 2017-2021 Lepton EDA Contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include #include #include #include #include #include #include /* Gettext translation */ #include "gettext.h" #include #include #include #include #include #include #include #include #include #include static void export_layout_page (LeptonPage *page, cairo_rectangle_t *extents, cairo_matrix_t *mtx, gboolean postscript); static void export_draw_page (LeptonPage *page); static void export_png (void); static void export_postscript (gboolean is_eps); static void export_ps (void); static void export_eps (void); static void export_pdf (void); static void export_svg (void); static gdouble export_parse_dist (const gchar *dist); static gboolean export_parse_scale (const gchar *scale); static gboolean export_parse_layout (const gchar *layout); static gboolean export_parse_margins (const gchar *margins); static gboolean export_parse_paper (const gchar *paper); static gboolean export_parse_size (const gchar *size); static void export_config (void); static void export_usage (void); static void export_command_line (int argc, char * const *argv); /* Default pixels-per-inch for raster outputs */ #define DEFAULT_DPI 96 /* Default margin width in points */ #define DEFAULT_MARGIN 18 enum ExportFormatFlags { OUTPUT_MULTIPAGE = 1, OUTPUT_POINTS = 2, OUTPUT_PIXELS = 4, }; struct ExportFormat { const gchar *name; /* UTF-8 */ const gchar *alias; /* UTF-8 */ gint flags; void (*func)(void); }; enum ExportOrientation { ORIENTATION_AUTO, ORIENTATION_LANDSCAPE, ORIENTATION_PORTRAIT, }; struct ExportSettings { /* Input & output */ int infilec; char * const *infilev; /* Filename encoding */ const char *outfile; /* Filename encoding */ gchar *format; /* UTF-8 */ enum ExportOrientation layout; GtkPaperSize *paper; gdouble scale; /* Output scale; defaults to 1 mil per 1 lepton-schematic point*/ gdouble size[2]; /* Points */ gdouble margins[4]; /* Points. Top, right, bottom, left. */ gdouble align[2]; /* 0.0 < align < 1.0 for halign and valign */ gdouble dpi; gboolean color; gchar *font; /* UTF-8 */ }; static struct ExportFormat formats[] = { {"Portable Network Graphics (PNG)", "png", OUTPUT_PIXELS, export_png}, {"Postscript (PS)", "ps", OUTPUT_POINTS | OUTPUT_MULTIPAGE, export_ps}, {"Encapsulated Postscript (EPS)", "eps", OUTPUT_POINTS, export_eps}, {"Portable Document Format (PDF)", "pdf", OUTPUT_POINTS | OUTPUT_MULTIPAGE, export_pdf}, {"Scalable Vector Graphics (SVG)", "svg", OUTPUT_POINTS, export_svg}, {NULL, NULL, 0, NULL}, }; static EdaRenderer *renderer = NULL; static LeptonToplevel *toplevel = NULL; static struct ExportSettings settings = { 0, NULL, NULL, NULL, ORIENTATION_AUTO, NULL, 72.0/1000, {-1, -1}, {-1, -1, -1, -1}, {0.5,0.5}, DEFAULT_DPI, FALSE, NULL, }; #define bad_arg_msg _("ERROR: Bad argument '%1$s' to %2$s option.\n") #define see_help_msg _("\nRun `lepton-cli export --help' for more information.\n") static void cmd_export_impl (void *data, int argc, char **argv) { size_t i; GError *err = NULL; gchar *tmp; const gchar *out_suffix; struct ExportFormat *exporter = NULL; GArray *render_color_map = NULL; gchar *original_cwd = g_get_current_dir (); gtk_init_check (&argc, &argv); scm_init_guile (); liblepton_init (); /* Enable rendering of placeholders. Otherwise the user won't see what's wrong. */ set_render_placeholders (); scm_dynwind_begin ((scm_t_dynwind_flags) 0); toplevel = s_toplevel_new (); edascm_dynwind_toplevel (toplevel); /* Now load rc files, if necessary */ if (getenv ("LEPTON_INHIBIT_RC_FILES") == NULL) { g_rc_parse ("lepton-cli export", NULL, NULL); } /* Parse configuration files */ export_config (); /* Parse command-line arguments */ export_command_line (argc, argv); /* If no format was specified, try and guess from output * filename. */ if (settings.format == NULL) { out_suffix = strrchr (settings.outfile, '.'); if (out_suffix != NULL) { out_suffix++; /* Skip '.' */ } else { fprintf (stderr, _("ERROR: Cannot infer output format from filename '%1$s'.\n"), settings.outfile); exit (1); } } /* Try and find an exporter function */ tmp = g_utf8_strdown ((settings.format == NULL) ? out_suffix : settings.format, -1); for (i = 0; formats[i].name != NULL; i++) { if (strcmp (tmp, formats[i].alias) == 0) { exporter = &formats[i]; break; } } if (exporter == NULL) { if (settings.format == NULL) { fprintf (stderr, _("ERROR: Cannot find supported format for filename '%1$s'.\n"), settings.outfile); exit (1); } else { fprintf (stderr, _("ERROR: Unsupported output format '%1$s'.\n"), settings.format); fprintf (stderr, see_help_msg); exit (1); } } g_free (tmp); /* If more than one schematic/symbol file was specified, check that * exporter supports multipage output. */ if ((settings.infilec > 1) && !(exporter->flags & OUTPUT_MULTIPAGE)) { fprintf (stderr, _("ERROR: Selected output format does not support multipage output\n")); exit (1); } /* Create renderer */ renderer = eda_renderer_new (NULL, NULL); if (settings.font != NULL) { g_object_set (renderer, "font-name", settings.font, NULL); } /* Create color map */ render_color_map = g_array_sized_new (FALSE, FALSE, sizeof(LeptonColor), colors_count()); LeptonColor* print_colors = print_colors_array(); render_color_map = g_array_append_vals (render_color_map, print_colors, colors_count()); if (!settings.color) { /* Create a black and white color map. All non-background colors * are black. */ LeptonColor white = {255, 255, 255, 255, TRUE}; LeptonColor black = {0, 0, 0, 255, TRUE}; for (i = 0; i < colors_count(); i++) { LeptonColor *c = &g_array_index (render_color_map, LeptonColor, i); if (!c->enabled) continue; if (c->a == 0) { c->enabled = FALSE; continue; } if (i == OUTPUT_BACKGROUND_COLOR) { *c = white; } else { *c = black; } } } eda_renderer_set_color_map (renderer, render_color_map); /* Load schematic files */ while (optind < argc) { LeptonPage *page; tmp = argv[optind++]; page = s_page_new (toplevel, tmp); if (!f_open (toplevel, page, tmp, &err)) { fprintf (stderr, /* TRANSLATORS: The first string is the filename, the second * is the detailed error message */ _("ERROR: Failed to load '%1$s': %2$s\n"), tmp, err->message); exit (1); } if (g_chdir (original_cwd) != 0) { fprintf (stderr, _("ERROR: Failed to change directory to '%1$s': %2$s\n"), original_cwd, g_strerror (errno)); exit (1); } } /* Render */ exporter->func (); scm_dynwind_end (); exit (0); } /* Prints a message and quits with error status if a cairo status * value is not "success". */ static inline void export_cairo_check_error (cairo_status_t status) { if (status != CAIRO_STATUS_SUCCESS) { fprintf (stderr, _("ERROR: %s.\n"), cairo_status_to_string (status)); exit (1); } } /* Calculates a page layout. If page is NULL, uses the first page * (this is convenient for single-page rendering). The required size * of the page is returned in extents, and the cairo transformation * matrix needed to fit the drawing into the page is returned in mtx. * Takes into account all of the margin/orientation/paper settings, * and the size of the drawing itself. */ static void export_layout_page (LeptonPage *page, cairo_rectangle_t *extents, cairo_matrix_t *mtx, gboolean postscript) { cairo_rectangle_t drawable; int wx_min, wy_min, wx_max, wy_max, w_width, w_height; gboolean landscape = FALSE; gdouble m[4]; /* Calculated margins */ gdouble s; /* Calculated scale */ gdouble slack[2]; /* Calculated alignment slack */ if (page == NULL) { const GList *pages = lepton_list_get_glist (toplevel->pages); g_assert (pages != NULL && pages->data != NULL); page = (LeptonPage *) pages->data; } /* Set the margins. If none were provided by the user, get them * from the paper size (if a paper size is being used) or just use a * sensible default. */ if (settings.margins[0] >= 0) { memcpy (m, settings.margins, 4*sizeof(gdouble)); } else if (settings.paper != NULL) { m[0] = gtk_paper_size_get_default_top_margin (settings.paper, GTK_UNIT_POINTS); m[1] = gtk_paper_size_get_default_left_margin (settings.paper, GTK_UNIT_POINTS); m[2] = gtk_paper_size_get_default_bottom_margin (settings.paper, GTK_UNIT_POINTS); m[3] = gtk_paper_size_get_default_right_margin (settings.paper, GTK_UNIT_POINTS); } else { m[0] = DEFAULT_MARGIN; m[1] = DEFAULT_MARGIN; m[2] = DEFAULT_MARGIN; m[3] = DEFAULT_MARGIN; } /* Now calculate extents of objects within page. Hidden text is not taken into account. */ world_get_object_glist_bounds (s_page_objects (page), FALSE, &wx_min, &wy_min, &wx_max, &wy_max); w_width = wx_max - wx_min; w_height = wy_max - wy_min; /* If a size was specified, use it. Otherwise, use paper size, if * provided. Fall back to just using the size of the drawing. */ extents->x = extents->y = 0; if (settings.size[0] >= 0) { /* get extents from size */ extents->width = settings.size[0]; extents->height = settings.size[1]; } else if (settings.paper != NULL) { /* get extents from paper */ gdouble p_width, p_height; /* Select orientation */ switch (settings.layout) { case ORIENTATION_LANDSCAPE: landscape = TRUE; break; case ORIENTATION_PORTRAIT: landscape = FALSE; break; case ORIENTATION_AUTO: default: landscape = (w_width > w_height); break; } p_width = gtk_paper_size_get_width (settings.paper, GTK_UNIT_POINTS); p_height = gtk_paper_size_get_height (settings.paper, GTK_UNIT_POINTS); if (landscape) { extents->width = p_height; extents->height = p_width; } else { extents->width = p_width; extents->height = p_height; } } else { /* get extents from drawing */ extents->width = w_width * settings.scale; /* in points */ extents->height = w_height * settings.scale; /* in points */ /* If the extents were obtained from the drawing, grow the extents * rather than shrinking the drawable area. This ensures that the * overall aspect ratio of the image remains correct. */ extents->width += m[1] + m[3]; extents->height += m[0] + m[2]; } drawable.x = m[1]; drawable.y = m[0]; drawable.width = extents->width - m[1] - m[3]; drawable.height = extents->height - m[0] - m[2]; /* Calculate optimum scale */ s = fmin (drawable.width / w_width, drawable.height / w_height); /* Calculate alignment slack */ slack[0] = fmin (1, fmax (0, settings.align[0])) * (drawable.width - w_width * s); slack[1] = fmin (1, fmax (0, settings.align[1])) * (drawable.height - w_height * s); /* Finally, create and set a cairo transformation matrix that * centres the drawing into the drawable area. */ /* Create an initial matrix */ cairo_matrix_init_identity (mtx); /* To understand how the following transformations work, read * them from bottom to top. */ /* Turn page 90 degrees CCW. This is needed only for plain PS * output in landscape orientation. See comments in * export_postscript() for more information. */ if (postscript && (extents->width > extents->height)) { cairo_matrix_translate (mtx, 0, extents->width); cairo_matrix_rotate (mtx, -M_PI/2); } /* Align the matrix accounting for margins and 'slack' space. */ cairo_matrix_translate (mtx, drawable.x + slack[0], drawable.y + slack[1]); /* Reverse the Y axis since the drawable origin is top-left * while the schematic origin is bottom-left, and scale the * matrix using the optimum scale factor found above. */ cairo_matrix_scale (mtx, s, -s); /* Translate matrix to the drawable origin (its left-top point) */ cairo_matrix_translate (mtx, -wx_min, -(wy_min + w_height)); } /* Actually draws a page. If page is NULL, uses the first open page. */ static void export_draw_page (LeptonPage *page) { const GList *contents; GList *iter; cairo_t *cr; cr = eda_renderer_get_cairo_context (renderer); if (page == NULL) { const GList *pages = lepton_list_get_glist (toplevel->pages); g_assert (pages != NULL && pages->data != NULL); page = (LeptonPage *) pages->data; } /* Draw background */ eda_cairo_set_source_color (cr, OUTPUT_BACKGROUND_COLOR, eda_renderer_get_color_map (renderer)); cairo_paint (cr); /* Draw objects & cues */ contents = s_page_objects (page); for (iter = (GList *) contents; iter != NULL; iter = g_list_next (iter)) eda_renderer_draw (renderer, (LeptonObject *) iter->data); for (iter = (GList *) contents; iter != NULL; iter = g_list_next (iter)) eda_renderer_draw_cues (renderer, (LeptonObject *) iter->data); } static void export_png (void) { cairo_surface_t *surface; cairo_t *cr; cairo_matrix_t mtx; cairo_rectangle_t extents; cairo_status_t status; double scale; /* Create a dummy context to permit calculating extents taking text * into account. */ surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, 0, 0); cr = cairo_create (surface); cairo_surface_destroy (surface); g_object_set (renderer, "cairo-context", cr, "render-flags", EDA_RENDERER_FLAG_HINTING, NULL); /* Calculate page layout */ export_layout_page (NULL, &extents, &mtx, FALSE); cairo_destroy (cr); /* Create a rendering surface of the correct size. 'extents' is * measured in points, so we need to use the DPI setting to * transform to pixels. */ scale = settings.dpi / 72.0; surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, (int) ceil (extents.width * scale), (int) ceil (extents.height * scale)); /* Create a cairo context and set the transformation matrix. */ cr = cairo_create (surface); cairo_scale (cr, scale, scale); cairo_transform (cr, &mtx); /* Set up renderer. We need to enable subpixel hinting. */ g_object_set (renderer, "cairo-context", cr, NULL); /* Draw */ export_draw_page (NULL); export_cairo_check_error (cairo_surface_status (surface)); /* Save to file */ status = cairo_surface_write_to_png (surface, settings.outfile); export_cairo_check_error (status); } /* Worker function used by both export_ps and export_eps */ static void export_postscript (gboolean is_eps) { cairo_surface_t *surface; cairo_rectangle_t extents; cairo_matrix_t mtx; cairo_t *cr; GList *iter; /* Create a surface. To begin with, we don't know the size. */ surface = cairo_ps_surface_create (settings.outfile, 1, 1); cairo_ps_surface_set_eps (surface, is_eps); cr = cairo_create (surface); g_object_set (renderer, "cairo-context", cr, NULL); for (iter = lepton_list_get_glist (toplevel->pages); iter != NULL; iter = g_list_next (iter)) { LeptonPage *page = (LeptonPage *) iter->data; export_layout_page (page, &extents, &mtx, !is_eps); /* Postscript output must always go in Portrait orientation to * pleasure printers, so we apply appropriate transformations * to extents here, and add DSC comments to notify Postscript * viewers of how to properly orient on-screen pages. Please * see the following document for more information: * https://www.cairographics.org/documentation/using_the_postscript_surface/ */ if (!is_eps) { if (extents.width > extents.height) { /* Exchange width and height of the output extents. */ cairo_ps_surface_set_size (surface, extents.height, extents.width); cairo_ps_surface_dsc_begin_page_setup (surface); cairo_ps_surface_dsc_comment (surface, "%%PageOrientation: Landscape"); } else { cairo_ps_surface_set_size (surface, extents.width, extents.height); cairo_ps_surface_dsc_begin_page_setup (surface); cairo_ps_surface_dsc_comment (surface, "%%PageOrientation: Portrait"); } } else { cairo_ps_surface_set_size (surface, extents.width, extents.height); } cairo_set_matrix (cr, &mtx); export_draw_page (page); cairo_show_page (cr); } cairo_surface_finish (surface); export_cairo_check_error (cairo_surface_status (surface)); } static void export_ps (void) { export_postscript (FALSE); } static void export_eps (void) { export_postscript (TRUE); } static void export_pdf (void) { cairo_surface_t *surface; cairo_rectangle_t extents; cairo_matrix_t mtx; cairo_t *cr; GList *iter; /* Create a surface. To begin with, we don't know the size. */ surface = cairo_pdf_surface_create (settings.outfile, 1, 1); cr = cairo_create (surface); g_object_set (renderer, "cairo-context", cr, NULL); for (iter = lepton_list_get_glist (toplevel->pages); iter != NULL; iter = g_list_next (iter)) { LeptonPage *page = (LeptonPage *) iter->data; export_layout_page (page, &extents, &mtx, FALSE); cairo_pdf_surface_set_size (surface, extents.width, extents.height); cairo_set_matrix (cr, &mtx); export_draw_page (page); cairo_show_page (cr); } cairo_surface_finish (surface); export_cairo_check_error (cairo_surface_status (surface)); } static void export_svg () { cairo_surface_t *surface; cairo_rectangle_t extents; cairo_matrix_t mtx; cairo_t *cr; /* Create a surface and run export_layout_page() to figure out * the picture extents and set up the cairo transformation * matrix. The surface is created only in order to force * eda_renderer_default_get_user_bounds() to behave quietly. */ surface = cairo_svg_surface_create (settings.outfile, 0, 0); cr = cairo_create (surface); g_object_set (renderer, "cairo-context", cr, NULL); export_layout_page (NULL, &extents, &mtx, FALSE); cairo_destroy (cr); /* Now create a new surface with the known extents. */ surface = cairo_svg_surface_create (settings.outfile, extents.width, extents.height); cr = cairo_create (surface); g_object_set (renderer, "cairo-context", cr, NULL); cairo_set_matrix (cr, &mtx); export_draw_page (NULL); cairo_show_page (cr); cairo_surface_finish (surface); export_cairo_check_error (cairo_surface_status (surface)); } /* Parse a distance specification. A distance specification consists * of a floating point value followed by an optional two-character * unit name (in, cm, mm, pc, px, or pt, same as CSS). If no unit is * specified, assumes that the unit is pt. This is used for the * --margins, --size and --scale command-line options. */ static gdouble export_parse_dist (const gchar *dist) { gdouble base, mult; gchar *unit; errno = 0; base = strtod(dist, &unit); if (errno != 0) return -1; if (g_strcmp0 (unit, "in") == 0) { mult = 72.0; } else if (g_strcmp0 (unit, "cm") == 0) { mult = 72.0 / 2.54; } else if (g_strcmp0 (unit, "mm") == 0) { mult = 72.0 / 25.4; } else if (g_strcmp0 (unit, "pc") == 0) { /* Picas */ mult = 12.0; } else if (g_strcmp0 (unit, "px") == 0) { mult = 72.0 / settings.dpi; } else if (g_strcmp0 (unit, "pt") == 0 || unit[0] == 0) { mult = 1.0; } else { return -1; /* Indicate that parsing unit failed */ } return mult * base; } /* Parse the --align command line option. */ static gboolean export_parse_align (const gchar *align) { int n; gchar **args; /* Automatic alignment case */ if (g_strcmp0 (align, "auto") == 0 || align[0] == 0) { settings.align[0] = settings.align[1] = 0.5; return TRUE; } args = g_strsplit_set (align, ":; ", 2); for (n = 0; args[n] != NULL; n++) { gdouble d = strtod (args[n], NULL); if (d < 0 || d > 1) return FALSE; settings.align[n] = d; } g_strfreev (args); if (n != 2) return FALSE; return TRUE; } /* Parse the --layout command line option and the export.layout config * file setting. */ static gboolean export_parse_layout (const gchar *layout) { if (g_strcmp0 (layout, "landscape") == 0) { settings.layout = ORIENTATION_LANDSCAPE; } else if (g_strcmp0 (layout, "portrait") == 0) { settings.layout = ORIENTATION_PORTRAIT; } else if (g_strcmp0 (layout, "auto") == 0 || layout == NULL || layout[0] == 0) { settings.layout = ORIENTATION_AUTO; } else { return FALSE; } return TRUE; } /* Parse the --margins command-line option. If the value is "auto" or * empty, sets margins to be determined automatically from paper size * or compiled-in defaults. Otherwise, expects a list of 1-4 distance * specs; see export_parse_dist(). Rules if <4 distances are * specified are as for 'margin' property in CSS. */ static gboolean export_parse_margins (const gchar *margins) { gint n; gchar **dists; g_assert (margins != NULL); /* Automatic margins case */ if (g_strcmp0 (margins, "auto") == 0 || margins[0] == 0) { for (n = 0; n < 4; n++) settings.margins[n] = -1; return TRUE; } dists = g_strsplit_set (margins, ":; ", 4); for (n = 0; dists[n] != NULL; n++) { gdouble d = export_parse_dist (dists[n]); if (d < 0) return FALSE; settings.margins[n] = d; } g_strfreev (dists); if (n == 1) { /* If only one value is specified, it applies to all four sides. */ settings.margins[3] = settings.margins[2] = settings.margins[1] = settings.margins[0]; } else if (n == 2) { /* If two values are specified, the first applies to the top/bottom, and the second to left/right. */ settings.margins[2] = settings.margins[0]; settings.margins[3] = settings.margins[1]; } else if (n == 3) { /* If three values are specified, the first applies to the top, the second to left/right, and the third to the bottom. */ settings.margins[3] = settings.margins[1]; } else if (n != 4) { return FALSE; /* Must correctly specify 1-4 distances + units */ } return TRUE; } /* Parse the --paper option. Clears any size setting. */ static gboolean export_parse_paper (const gchar *paper) { GtkPaperSize *paper_size = gtk_paper_size_new (paper); if (paper_size == NULL) return FALSE; if (settings.paper != NULL) gtk_paper_size_free (settings.paper); settings.paper = paper_size; /* Must reset size setting to invalid or it will override paper * setting */ settings.size[0] = settings.size[1] = -1; return TRUE; } /* Parse the --size option, which must either be "auto" (i.e. obtain * size from drawing) or a list of two distances (width/height). */ static gboolean export_parse_size (const gchar *size) { gint n; gchar **dists; /* Automatic size case */ if (g_strcmp0 (size, "auto") == 0 || size[0] == 0) { settings.size[0] = settings.size[1] = -1; return TRUE; } dists = g_strsplit_set (size, ":; ", 2); for (n = 0; dists[n] != NULL; n++) { gdouble d = export_parse_dist (dists[n]); if (d < 0) return FALSE; settings.size[n] = d; } g_strfreev (dists); if (n != 2) return FALSE; return TRUE; } /* Parse the --scale option. The value should be a distance * corresponding to 100 points in lepton-schematic (1 default grid * spacing). */ static gboolean export_parse_scale (const gchar *scale) { gdouble d = export_parse_dist (scale); if (d <= 0) return FALSE; settings.scale = d/100; return TRUE; } /* Initialise settings from config store. */ static void export_config (void) { EdaConfig *cfg = eda_config_get_context_for_path ("."); gchar *str; gdouble *lst; gdouble dval; gdouble bval; gsize n; GError *err = NULL; /* Parse orientation */ str = eda_config_get_string (cfg, "export", "layout", NULL); export_parse_layout (str); /* Don't care if it works */ g_free (str); /* Parse paper size */ str = eda_config_get_string (cfg, "export", "paper", NULL); export_parse_paper (str); g_free (str); /* Parse specific size setting -- always in points */ if (eda_config_has_key (cfg, "export", "size", NULL)) { lst = eda_config_get_double_list (cfg, "export", "size", &n, NULL); if (lst != NULL) { if (n >= 2) { memcpy (settings.size, lst, 2*sizeof(gdouble)); } g_free (lst); } /* Since a specific size was provided, ditch the paper size * setting */ if (settings.paper != NULL) { gtk_paper_size_free (settings.paper); settings.paper = NULL; } } /* Parse margins -- always in points */ lst = eda_config_get_double_list (cfg, "export", "margins", &n, NULL); if (lst != NULL) { if (n >= 4) { /* In the config file all four sides must be specified */ memcpy (settings.margins, lst, 4*sizeof(gdouble)); } g_free (lst); } /* Parse alignment */ lst = eda_config_get_double_list (cfg, "export", "align", &n, NULL); if (lst != NULL) { if (n >= 2) { /* Both halign and valign must be specified */ memcpy (settings.align, lst, 2*sizeof(gdouble)); } g_free (lst); } /* Parse dpi */ dval = eda_config_get_double (cfg, "export", "dpi", &err); if (err == NULL) { settings.dpi = dval; } else { g_clear_error (&err); } bval = eda_config_get_boolean (cfg, "export", "monochrome", &err); if (err == NULL) { settings.color = !bval; } else { g_clear_error (&err); } str = eda_config_get_string (cfg, "export", "font", NULL); if (str != NULL) { g_free (settings.font); settings.font = str; } } #define export_short_options "a:cd:f:F:hl:m:o:p:Ps:k:" static struct option export_long_options[] = { {"no-color", 0, NULL, 2}, {"align", 1, NULL, 'a'}, {"color", 0, NULL, 'c'}, {"dpi", 1, NULL, 'd'}, {"format", 1, NULL, 'f'}, {"font", 1, NULL, 'F'}, {"help", 0, NULL, 'h'}, {"layout", 1, NULL, 'l'}, {"margins", 1, NULL, 'm'}, {"output", 1, NULL, 'o'}, {"paper", 1, NULL, 'p'}, {"paper-names", 0, NULL, 'P'}, {"size", 1, NULL, 's'}, {"scale", 1, NULL, 'k'}, {NULL, 0, NULL, 0}, }; static void export_usage (void) { printf (_("Usage: lepton-cli export [OPTION ...] -o OUTPUT [--] FILE ...\n" "\n" "Export Lepton EDA files in various image formats.\n" "\n" " -f, --format=TYPE output format (normally autodetected)\n" " -o, --output=OUTPUT output filename\n" " -p, --paper=NAME select paper size by name\n" " -P, --paper-names list paper size names and exit\n" " -s, --size=WIDTH;HEIGHT specify exact paper size\n" " -k, --scale=FACTOR specify output scale factor\n" " -l, --layout=ORIENT page orientation\n" " -m, --margins=TOP;LEFT;BOTTOM;RIGHT set page margins\n" " -a, --align=HALIGN;VALIGN set alignment of drawing within page\n" " -d, --dpi=DPI pixels-per-inch for raster outputs\n" " -c, --color enable color output\n" " --no-color disable color output\n" " -F, --font=NAME set font family for printing text\n" " -h, --help display usage information and exit\n" "\n" "Report bugs at <%1$s>\n" "Lepton EDA homepage: <%2$s>\n"), PACKAGE_BUGREPORT, PACKAGE_URL); exit (0); } static void export_list_paper_size_names() { GList* names = gtk_paper_size_get_paper_sizes (TRUE); for (GList* p = names; p != NULL; p = p->next) { printf ("%s\n", gtk_paper_size_get_name ((GtkPaperSize*) p->data)); gtk_paper_size_free ((GtkPaperSize*) p->data); } g_list_free (names); exit (0); } /* Helper function for checking that a command-line option value can * be successfully converted to UTF-8. */ static inline gchar * export_command_line__utf8_check (gchar *str, const gchar *arg) { GError *err = NULL; gchar *result; g_assert (str != NULL); g_assert (arg != NULL); result = g_locale_to_utf8 (str, -1, NULL, NULL, &err); if (result == NULL) { fprintf (stderr, bad_arg_msg, optarg, arg); fprintf (stderr, see_help_msg); exit (1); } return result; } static void export_command_line (int argc, char * const *argv) { int c; gchar *str; /* Parse command-line arguments */ while ((c = getopt_long (argc, argv, export_short_options, export_long_options, NULL)) != -1) { switch (c) { case 0: /* This is a long-form-only flag option, and has already been * dealt with by getopt_long(). */ break; case 2: /* --no-color */ settings.color = FALSE; break; case 'a': str = export_command_line__utf8_check (optarg, "-a,--align"); if (!export_parse_align (str)) { fprintf (stderr, bad_arg_msg, optarg, "-a,--align"); fprintf (stderr, see_help_msg); exit (1); } g_free (str); break; case 'c': settings.color = TRUE; break; case 'd': settings.dpi = strtod (optarg, NULL); if (settings.dpi <= 0) { fprintf (stderr, bad_arg_msg, optarg, "-d,--dpi"); fprintf (stderr, see_help_msg); exit (1); } break; case 'f': g_free (settings.format); settings.format = export_command_line__utf8_check (optarg, "-f,--format"); break; case 'F': str = export_command_line__utf8_check (optarg, "-F,--font"); g_free (settings.font); settings.font = str; break; case 'h': export_usage (); break; case 'k': str = export_command_line__utf8_check (optarg, "-k,--scale"); if (!export_parse_scale (str)) { fprintf (stderr, bad_arg_msg, optarg, "-k,--scale"); fprintf (stderr, see_help_msg); exit (1); } g_free (str); /* Since a specific scale was provided, ditch the paper size * setting */ if (settings.paper != NULL) { gtk_paper_size_free (settings.paper); settings.paper = NULL; } break; case 'l': if (!export_parse_layout (optarg)) { fprintf (stderr, bad_arg_msg, optarg, "-l,--layout"); fprintf (stderr, see_help_msg); exit (1); } break; case 'm': str = export_command_line__utf8_check (optarg, "-m,--margins"); if (!export_parse_margins (str)) { fprintf (stderr, bad_arg_msg, optarg, "-m,--margins"); fprintf (stderr, see_help_msg); exit (1); } g_free (str); break; case 'o': settings.outfile = optarg; break; case 'p': str = export_command_line__utf8_check (optarg, "-p,--paper"); if (!export_parse_paper (str)) { fprintf (stderr, bad_arg_msg, optarg, "-p,--paper"); fprintf (stderr, see_help_msg); exit (1); } g_free (str); break; case 'P': export_list_paper_size_names(); break; case 's': str = export_command_line__utf8_check (optarg, "-s,--size"); if (!export_parse_size (str)) { fprintf (stderr, bad_arg_msg, optarg, "-s,--size"); fprintf (stderr, see_help_msg); exit (1); } g_free (str); /* Since a specific size was provided, ditch the paper size * setting */ if (settings.paper != NULL) { gtk_paper_size_free (settings.paper); settings.paper = NULL; } break; case '?': /* getopt_long already printed an error message */ fprintf (stderr, see_help_msg); exit (1); break; default: g_assert_not_reached (); } } /* Check that some schematic files to print were provided */ if (argc <= optind) { fprintf (stderr, _("ERROR: You must specify at least one input filename.\n")); fprintf (stderr, see_help_msg); exit (1); } settings.infilec = argc - optind; settings.infilev = &argv[optind]; if (settings.outfile == NULL) { fprintf (stderr, _("ERROR: You must specify an output filename.\n")); fprintf (stderr, see_help_msg); exit (1); } } /* Main function for `lepton-cli export' */ int cmd_export (int argc, char **argv) { set_guile_compiled_path(); scm_boot_guile (argc, argv, cmd_export_impl, NULL); /* Doesn't return */ return 0; } lepton-eda-1.9.16/utils/cli/src/config.c0000644000175000017500000001470614101257250014675 00000000000000/* * Lepton EDA command-line utility * Copyright (C) 2012 Peter Brett * Copyright (C) 2015 gEDA Contributors * Copyright (C) 2017-2020 Lepton EDA Contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include #include #include #include #include /* Gettext translation */ #include "gettext.h" #include #define config_short_options "hp::suc" static struct option config_long_options[] = { {"help", 0, NULL, 'h'}, {"project", 2, NULL, 'p'}, {"system", 0, NULL, 's'}, {"user", 0, NULL, 'u'}, {"cache", 0, NULL, 'c'}, {0, 0, 0, 0} }; static void config_usage (void) { printf (_("Usage: lepton-cli config [OPTION] [GROUP KEY [VALUE]]\n" "\n" "View and modify Lepton EDA configuration.\n" "\n" " -p, --project[=PATH] select project configuration [PATH=.]\n" " -u, --user select user configuration\n" " -s, --system select system configuration\n" " -c, --cache select cache configuration\n" " -h, --help display usage information and exit\n" "\n" "If GROUP and KEY are specified, retrieves the value of that\n" "configuration parameter. If a VALUE was specified, sets the value of\n" "the parameter. The -p, -u and -s options can be used to select the\n" "configuration store affected (by default, the project configuration\n" "store for the current directory). If no GROUP and KEY were provided,\n" "outputs the filename of the selected configuration store.\n" "\n" "Report bugs at <%1$s>\n" "Lepton EDA homepage: <%2$s>\n"), PACKAGE_BUGREPORT, PACKAGE_URL); exit (0); } #define see_help_msg _("\nRun `lepton-cli config --help' for more information.\n") #define multi_store_msg _("ERROR: You may only specify a single configuration store.\n") static void cmd_config_impl (void *data, int argc, char **argv) { int c; EdaConfig *cfg = NULL, *parent; const gchar *project_store_path = NULL; const char *group, *key; scm_init_guile (); liblepton_init (); /* Parse command-line arguments */ while ((c = getopt_long (argc, argv, config_short_options, config_long_options, NULL)) != -1) { switch (c) { case 0: /* This is a long-form-only flag option, and has already been * dealt with by getopt_long(). */ break; case 'p': if (cfg != NULL || project_store_path != NULL) { fprintf (stderr, multi_store_msg); fprintf (stderr, see_help_msg); exit (1); } project_store_path = (optarg == NULL) ? "." : optarg; break; case 's': if (cfg != NULL || project_store_path != NULL) { fprintf (stderr, multi_store_msg); fprintf (stderr, see_help_msg); exit (1); } cfg = eda_config_get_system_context (); break; case 'u': if (cfg != NULL || project_store_path != NULL) { fprintf (stderr, multi_store_msg); fprintf (stderr, see_help_msg); exit (1); } cfg = eda_config_get_user_context (); break; case 'c': if (cfg != NULL || project_store_path != NULL) { fprintf (stderr, multi_store_msg); fprintf (stderr, see_help_msg); exit (1); } cfg = eda_config_get_cache_context(); break; case 'h': config_usage (); break; case '?': /* getopt_long already printed an error message */ fprintf (stderr, see_help_msg); exit (1); break; default: g_assert_not_reached (); } } /* If no configuration is available yet, grab the project * configuration. */ if (cfg == NULL) { if (project_store_path == NULL) { project_store_path = "."; } cfg = eda_config_get_context_for_path (project_store_path); } /* If no further arguments were specified, output the configuration * file location. */ if (argc == optind) { printf ("%s\n", eda_config_get_filename (cfg)); exit (0); } /* Attempt to load the file, and all its parents */ for (parent = cfg; parent != NULL; parent = eda_config_get_parent (parent)) { if (eda_config_is_loaded (parent) || eda_config_get_filename (parent) == NULL) { continue; } GError *err = NULL; if (!eda_config_load (parent, &err)) { if (!g_error_matches (err, G_IO_ERROR, G_IO_ERROR_NOT_FOUND)) { /* TRANSLATORS: The first string is the filename, the second is * the detailed error message */ fprintf (stderr, _("WARNING: Could not load '%1$s': %2$s.\n"), eda_config_get_filename (parent), err->message); } g_clear_error (&err); } } /* Otherwise, we must have group and key */ if (argc - optind < 2) { fprintf (stderr, _("ERROR: You must specify both configuration group and key.\n")); fprintf (stderr, see_help_msg); exit (1); } group = argv[optind++]; key = argv[optind++]; /* If no value was specified, output the parameter value. */ if (argc == optind) { GError *err = NULL; gchar *value = eda_config_get_string (cfg, group, key, &err); if (value == NULL) { fprintf (stderr, _("ERROR: %1$s.\n"), err->message); exit (1); } printf ("%s\n", value); exit (0); } /* If a value was specified, set the value and save the * configuration. */ if (argc - optind > 0) { GError *err = NULL; const gchar *value = argv[optind++]; eda_config_set_string (cfg, group, key, value); if (!eda_config_save (cfg, &err)) { fprintf (stderr, _("ERROR: %1$s.\n"), err->message); exit (1); } exit (0); } g_assert_not_reached (); } /* Main function for `lepton-cli config' */ int cmd_config (int argc, char **argv) { set_guile_compiled_path(); scm_boot_guile (argc, argv, cmd_config_impl, NULL); /* Doesn't return */ return 0; } lepton-eda-1.9.16/utils/cli/src/Makefile.in0000644000175000017500000010213414101262632015322 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ bin_PROGRAMS = lepton-cli$(EXEEXT) subdir = utils/cli/src ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/guile.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lepton-assert.m4 \ $(top_srcdir)/m4/lepton-attrib.m4 \ $(top_srcdir)/m4/lepton-awk.m4 \ $(top_srcdir)/m4/lepton-cairo.m4 \ $(top_srcdir)/m4/lepton-contrib.m4 \ $(top_srcdir)/m4/lepton-data-dirs.m4 \ $(top_srcdir)/m4/lepton-desktop-i18n.m4 \ $(top_srcdir)/m4/lepton-desktop.m4 \ $(top_srcdir)/m4/lepton-doxygen.m4 \ $(top_srcdir)/m4/lepton-gcc-flags.m4 \ $(top_srcdir)/m4/lepton-git-version.m4 \ $(top_srcdir)/m4/lepton-git.m4 \ $(top_srcdir)/m4/lepton-groff.m4 \ $(top_srcdir)/m4/lepton-guile.m4 \ $(top_srcdir)/m4/lepton-host.m4 \ $(top_srcdir)/m4/lepton-stroke.m4 \ $(top_srcdir)/m4/lepton-uri-viewer.m4 \ $(top_srcdir)/m4/lepton-windows.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/liblepton.m4 \ $(top_srcdir)/m4/libleptonattrib.m4 \ $(top_srcdir)/m4/libleptongui.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pcb-data-dirs.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__installdirs = "$(DESTDIR)$(bindir)" PROGRAMS = $(bin_PROGRAMS) am_lepton_cli_OBJECTS = lepton_cli-lepton-cli.$(OBJEXT) \ lepton_cli-config.$(OBJEXT) lepton_cli-export.$(OBJEXT) \ lepton_cli-shell.$(OBJEXT) lepton_cli_OBJECTS = $(am_lepton_cli_OBJECTS) lepton_cli_DEPENDENCIES = $(top_builddir)/liblepton/src/liblepton.la AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = lepton_cli_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(lepton_cli_CFLAGS) \ $(CFLAGS) $(lepton_cli_LDFLAGS) $(LDFLAGS) -o $@ AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/build-tools/depcomp am__maybe_remake_depfiles = depfiles am__depfiles_remade = ./$(DEPDIR)/lepton_cli-config.Po \ ./$(DEPDIR)/lepton_cli-export.Po \ ./$(DEPDIR)/lepton_cli-lepton-cli.Po \ ./$(DEPDIR)/lepton_cli-shell.Po am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(lepton_cli_SOURCES) DIST_SOURCES = $(lepton_cli_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in \ $(top_srcdir)/build-tools/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITMAP_DIRECTORY = @BITMAP_DIRECTORY@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@ CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@ CAIRO_PNG_CFLAGS = @CAIRO_PNG_CFLAGS@ CAIRO_PNG_LIBS = @CAIRO_PNG_LIBS@ CAIRO_PS_CFLAGS = @CAIRO_PS_CFLAGS@ CAIRO_PS_LIBS = @CAIRO_PS_LIBS@ CAIRO_SVG_CFLAGS = @CAIRO_SVG_CFLAGS@ CAIRO_SVG_LIBS = @CAIRO_SVG_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE_VERSION = @DATE_VERSION@ DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ DEPDIR = @DEPDIR@ DESKTOP_I18N = @DESKTOP_I18N@ DESKTOP_I18N_CREATE = @DESKTOP_I18N_CREATE@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@ DESKTOP_I18N_SCRIPT = @DESKTOP_I18N_SCRIPT@ DLLTOOL = @DLLTOOL@ DOT = @DOT@ DOTTED_VERSION = @DOTTED_VERSION@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GDK_CFLAGS = @GDK_CFLAGS@ GDK_LIBS = @GDK_LIBS@ GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@ GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@ GETTEXT = @GETTEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GIT = @GIT@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GROFF = @GROFF@ GTKEXTRA_CFLAGS = @GTKEXTRA_CFLAGS@ GTKEXTRA_LIBS = @GTKEXTRA_LIBS@ GTKSHEET_CFLAGS = @GTKSHEET_CFLAGS@ GTKSHEET_LIBS = @GTKSHEET_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GUILD = @GUILD@ GUILE = @GUILE@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@ GUILE_LDFLAGS = @GUILE_LDFLAGS@ GUILE_LIBS = @GUILE_LIBS@ GUILE_LTLIBS = @GUILE_LTLIBS@ GUILE_PKG_NAME = @GUILE_PKG_NAME@ GUILE_SNARF = @GUILE_SNARF@ GUILE_TOOLS = @GUILE_TOOLS@ HAVE_GIT_REPO = @HAVE_GIT_REPO@ ICON_THEME_INSTALLER = @ICON_THEME_INSTALLER@ INKSCAPE = @INKSCAPE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEPTONDATADIR = @LEPTONDATADIR@ LEPTON_SCHEME_MODULE_DIRECTORY = @LEPTON_SCHEME_MODULE_DIRECTORY@ LEPTON_SCM_PRECOMPILE_DIR = @LEPTON_SCM_PRECOMPILE_DIR@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBLEPTONATTRIB_MAJOR = @LIBLEPTONATTRIB_MAJOR@ LIBLEPTONATTRIB_SHLIB_VERSION = @LIBLEPTONATTRIB_SHLIB_VERSION@ LIBLEPTONGUI_MAJOR = @LIBLEPTONGUI_MAJOR@ LIBLEPTONGUI_SHLIB_VERSION = @LIBLEPTONGUI_SHLIB_VERSION@ LIBLEPTON_GETTEXT_DOMAIN = @LIBLEPTON_GETTEXT_DOMAIN@ LIBLEPTON_MAJOR = @LIBLEPTON_MAJOR@ LIBLEPTON_SHLIB_VERSION = @LIBLEPTON_SHLIB_VERSION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSTROKE_CPPFLAGS = @LIBSTROKE_CPPFLAGS@ LIBSTROKE_LDFLAGS = @LIBSTROKE_LDFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ M4 = @M4@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MINGW_CFLAGS = @MINGW_CFLAGS@ MINGW_GUI_LDFLAGS = @MINGW_GUI_LDFLAGS@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCBDATADIR = @PCBDATADIR@ PCBLIBPATH = @PCBLIBPATH@ PCBM4DIR = @PCBM4DIR@ PDFLATEX = @PDFLATEX@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ URI_VIEWER = @URI_VIEWER@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDOWS_LIBTOOL_FLAGS = @WINDOWS_LIBTOOL_FLAGS@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @datadir@/locale localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ BUILT_SOURCES = shell.x lepton_cli_SOURCES = \ builtins.h \ gettext.h \ lepton-cli.c \ config.c \ export.c \ shell.c lepton_cli_CPPFLAGS = \ -I$(top_srcdir) -I$(top_srcdir)/liblepton/include -I$(includedir) lepton_cli_CFLAGS = \ $(GCC_CFLAGS) $(MINGW_CFLAGS) $(GUILE_CFLAGS) $(GTK_CFLAGS) \ $(GDK_PIXBUF_CFLAGS) $(CAIRO_CFLAGS) $(CAIRO_PNG_CFLAGS) \ $(CAIRO_PDF_CLAGS) $(CAIRO_PS_CFLAGS) $(CAIRO_SVG_CFLAGS) $(CFLAGS) lepton_cli_LDFLAGS = $(GUILE_LIBS) $(GTK_LIBS) $(GDK_PIXBUF_LIBS) $(CAIRO_LIBS) \ $(CAIRO_PNG_LIBS) $(CAIRO_PDF_CLAGS) $(CAIRO_PS_LIBS) $(CAIRO_SVG_LIBS) lepton_cli_LDADD = \ $(top_builddir)/liblepton/src/liblepton.la # This is used to generate boilerplate for defining Scheme functions # in C. snarf_cpp_opts = $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(lepton_cli_CPPFLAGS) $(AM_CFLAGS) $(lepton_cli_CFLAGS) SUFFIXES = .x CLEANFILES = $(BUILT_SOURCES) all: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) all-am .SUFFIXES: .SUFFIXES: .x .c .lo .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/cli/src/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign utils/cli/src/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ for p in $$list; do echo "$$p $$p"; done | \ sed 's/$(EXEEXT)$$//' | \ while read p p1; do if test -f $$p \ || test -f $$p1 \ ; then echo "$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n;h' \ -e 's|.*|.|' \ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) files[d] = files[d] " " $$1; \ else { print "f", $$3 "/" $$4, $$1; } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ -e 's/$$/$(EXEEXT)/' \ `; \ test -n "$$list" || exit 0; \ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(bindir)" && rm -f $$files clean-binPROGRAMS: @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ echo " rm -f" $$list; \ rm -f $$list || exit $$?; \ test -n "$(EXEEXT)" || exit 0; \ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list lepton-cli$(EXEEXT): $(lepton_cli_OBJECTS) $(lepton_cli_DEPENDENCIES) $(EXTRA_lepton_cli_DEPENDENCIES) @rm -f lepton-cli$(EXEEXT) $(AM_V_CCLD)$(lepton_cli_LINK) $(lepton_cli_OBJECTS) $(lepton_cli_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lepton_cli-config.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lepton_cli-export.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lepton_cli-lepton-cli.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lepton_cli-shell.Po@am__quote@ # am--include-marker $(am__depfiles_remade): @$(MKDIR_P) $(@D) @echo '# dummy' >$@-t && $(am__mv) $@-t $@ am--depfiles: $(am__depfiles_remade) .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< lepton_cli-lepton-cli.o: lepton-cli.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lepton_cli_CPPFLAGS) $(CPPFLAGS) $(lepton_cli_CFLAGS) $(CFLAGS) -MT lepton_cli-lepton-cli.o -MD -MP -MF $(DEPDIR)/lepton_cli-lepton-cli.Tpo -c -o lepton_cli-lepton-cli.o `test -f 'lepton-cli.c' || echo '$(srcdir)/'`lepton-cli.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lepton_cli-lepton-cli.Tpo $(DEPDIR)/lepton_cli-lepton-cli.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lepton-cli.c' object='lepton_cli-lepton-cli.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lepton_cli_CPPFLAGS) $(CPPFLAGS) $(lepton_cli_CFLAGS) $(CFLAGS) -c -o lepton_cli-lepton-cli.o `test -f 'lepton-cli.c' || echo '$(srcdir)/'`lepton-cli.c lepton_cli-lepton-cli.obj: lepton-cli.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lepton_cli_CPPFLAGS) $(CPPFLAGS) $(lepton_cli_CFLAGS) $(CFLAGS) -MT lepton_cli-lepton-cli.obj -MD -MP -MF $(DEPDIR)/lepton_cli-lepton-cli.Tpo -c -o lepton_cli-lepton-cli.obj `if test -f 'lepton-cli.c'; then $(CYGPATH_W) 'lepton-cli.c'; else $(CYGPATH_W) '$(srcdir)/lepton-cli.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lepton_cli-lepton-cli.Tpo $(DEPDIR)/lepton_cli-lepton-cli.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lepton-cli.c' object='lepton_cli-lepton-cli.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lepton_cli_CPPFLAGS) $(CPPFLAGS) $(lepton_cli_CFLAGS) $(CFLAGS) -c -o lepton_cli-lepton-cli.obj `if test -f 'lepton-cli.c'; then $(CYGPATH_W) 'lepton-cli.c'; else $(CYGPATH_W) '$(srcdir)/lepton-cli.c'; fi` lepton_cli-config.o: config.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lepton_cli_CPPFLAGS) $(CPPFLAGS) $(lepton_cli_CFLAGS) $(CFLAGS) -MT lepton_cli-config.o -MD -MP -MF $(DEPDIR)/lepton_cli-config.Tpo -c -o lepton_cli-config.o `test -f 'config.c' || echo '$(srcdir)/'`config.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lepton_cli-config.Tpo $(DEPDIR)/lepton_cli-config.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='config.c' object='lepton_cli-config.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lepton_cli_CPPFLAGS) $(CPPFLAGS) $(lepton_cli_CFLAGS) $(CFLAGS) -c -o lepton_cli-config.o `test -f 'config.c' || echo '$(srcdir)/'`config.c lepton_cli-config.obj: config.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lepton_cli_CPPFLAGS) $(CPPFLAGS) $(lepton_cli_CFLAGS) $(CFLAGS) -MT lepton_cli-config.obj -MD -MP -MF $(DEPDIR)/lepton_cli-config.Tpo -c -o lepton_cli-config.obj `if test -f 'config.c'; then $(CYGPATH_W) 'config.c'; else $(CYGPATH_W) '$(srcdir)/config.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lepton_cli-config.Tpo $(DEPDIR)/lepton_cli-config.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='config.c' object='lepton_cli-config.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lepton_cli_CPPFLAGS) $(CPPFLAGS) $(lepton_cli_CFLAGS) $(CFLAGS) -c -o lepton_cli-config.obj `if test -f 'config.c'; then $(CYGPATH_W) 'config.c'; else $(CYGPATH_W) '$(srcdir)/config.c'; fi` lepton_cli-export.o: export.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lepton_cli_CPPFLAGS) $(CPPFLAGS) $(lepton_cli_CFLAGS) $(CFLAGS) -MT lepton_cli-export.o -MD -MP -MF $(DEPDIR)/lepton_cli-export.Tpo -c -o lepton_cli-export.o `test -f 'export.c' || echo '$(srcdir)/'`export.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lepton_cli-export.Tpo $(DEPDIR)/lepton_cli-export.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='export.c' object='lepton_cli-export.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lepton_cli_CPPFLAGS) $(CPPFLAGS) $(lepton_cli_CFLAGS) $(CFLAGS) -c -o lepton_cli-export.o `test -f 'export.c' || echo '$(srcdir)/'`export.c lepton_cli-export.obj: export.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lepton_cli_CPPFLAGS) $(CPPFLAGS) $(lepton_cli_CFLAGS) $(CFLAGS) -MT lepton_cli-export.obj -MD -MP -MF $(DEPDIR)/lepton_cli-export.Tpo -c -o lepton_cli-export.obj `if test -f 'export.c'; then $(CYGPATH_W) 'export.c'; else $(CYGPATH_W) '$(srcdir)/export.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lepton_cli-export.Tpo $(DEPDIR)/lepton_cli-export.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='export.c' object='lepton_cli-export.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lepton_cli_CPPFLAGS) $(CPPFLAGS) $(lepton_cli_CFLAGS) $(CFLAGS) -c -o lepton_cli-export.obj `if test -f 'export.c'; then $(CYGPATH_W) 'export.c'; else $(CYGPATH_W) '$(srcdir)/export.c'; fi` lepton_cli-shell.o: shell.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lepton_cli_CPPFLAGS) $(CPPFLAGS) $(lepton_cli_CFLAGS) $(CFLAGS) -MT lepton_cli-shell.o -MD -MP -MF $(DEPDIR)/lepton_cli-shell.Tpo -c -o lepton_cli-shell.o `test -f 'shell.c' || echo '$(srcdir)/'`shell.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lepton_cli-shell.Tpo $(DEPDIR)/lepton_cli-shell.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='shell.c' object='lepton_cli-shell.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lepton_cli_CPPFLAGS) $(CPPFLAGS) $(lepton_cli_CFLAGS) $(CFLAGS) -c -o lepton_cli-shell.o `test -f 'shell.c' || echo '$(srcdir)/'`shell.c lepton_cli-shell.obj: shell.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lepton_cli_CPPFLAGS) $(CPPFLAGS) $(lepton_cli_CFLAGS) $(CFLAGS) -MT lepton_cli-shell.obj -MD -MP -MF $(DEPDIR)/lepton_cli-shell.Tpo -c -o lepton_cli-shell.obj `if test -f 'shell.c'; then $(CYGPATH_W) 'shell.c'; else $(CYGPATH_W) '$(srcdir)/shell.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lepton_cli-shell.Tpo $(DEPDIR)/lepton_cli-shell.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='shell.c' object='lepton_cli-shell.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lepton_cli_CPPFLAGS) $(CPPFLAGS) $(lepton_cli_CFLAGS) $(CFLAGS) -c -o lepton_cli-shell.obj `if test -f 'shell.c'; then $(CYGPATH_W) 'shell.c'; else $(CYGPATH_W) '$(srcdir)/shell.c'; fi` mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) check-am all-am: Makefile $(PROGRAMS) installdirs: for dir in "$(DESTDIR)$(bindir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) install-am install-exec: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) clean: clean-am clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f ./$(DEPDIR)/lepton_cli-config.Po -rm -f ./$(DEPDIR)/lepton_cli-export.Po -rm -f ./$(DEPDIR)/lepton_cli-lepton-cli.Po -rm -f ./$(DEPDIR)/lepton_cli-shell.Po -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-binPROGRAMS install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f ./$(DEPDIR)/lepton_cli-config.Po -rm -f ./$(DEPDIR)/lepton_cli-export.Po -rm -f ./$(DEPDIR)/lepton_cli-lepton-cli.Po -rm -f ./$(DEPDIR)/lepton_cli-shell.Po -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binPROGRAMS .MAKE: all check install install-am install-exec install-strip .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ clean-binPROGRAMS clean-generic clean-libtool cscopelist-am \ ctags ctags-am distclean distclean-compile distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-binPROGRAMS \ install-data install-data-am install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags tags-am uninstall uninstall-am uninstall-binPROGRAMS .PRECIOUS: Makefile .c.x: $(AM_V_GEN) CPP="$(CPP)" $(GUILE_SNARF) -o $@ $< $(snarf_cpp_opts) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/cli/src/shell.c0000644000175000017500000001043014101257250014525 00000000000000/* * Lepton EDA command-line utility * Copyright (C) 2012 Peter Brett * Copyright (C) 2014-2015 gEDA Contributors * Copyright (C) 2017-2021 Lepton EDA Contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include #include #include #include #include #include /* Gettext translation */ #include "gettext.h" #include #include #define shell_short_options "s:c:L:l:h" static struct option shell_long_options[] = { {"help", 0, NULL, 'h'}, {NULL, 0, NULL, 0}, }; static void shell_usage (void) { printf (_("Usage: lepton-cli shell [OPTION ...]\n" "\n" "Shell for interactive processing of Lepton EDA data using Scheme.\n" "\n" " -s FILE load Scheme source code from FILE, and exit\n" " -c EXPR evaluate Scheme expression EXPR, and exit\n" " -- stop scanning arguments; run interactively\n" "\n" "The above switches stop argument processing, and pass all\n" "remaining arguments as the value of (command-line).\n" "\n" " -L DIRECTORY add DIRECTORY to the front of the Scheme load path\n" " -l FILE load Scheme source code from FILE\n" " -h, --help display usage information and exit\n" "\n" "Report bugs at <%1$s>\n" "Lepton EDA homepage: <%2$s>\n"), PACKAGE_BUGREPORT, PACKAGE_URL); exit (0); } /* Some symbols we need */ SCM_SYMBOL (sym_begin, "begin"); SCM_SYMBOL (sym_use_modules, "use-modules"); SCM_SYMBOL (sym_ice_9, "ice-9"); SCM_SYMBOL (sym_readline, "readline"); SCM_SYMBOL (sym_activate_readline, "activate-readline"); static void cmd_shell_impl (void *data, int argc, char **argv) { int c, interactive = 1; LeptonToplevel *toplevel; #include "shell.x" /* Parse command-line arguments */ while ((c = getopt_long (argc, argv, shell_short_options, shell_long_options, NULL)) != -1) { switch (c) { case 0: /* This is a long-form-only flag option, and has already been * dealt with by getopt_long(). */ break; case 's': case 'c': interactive = 0; /* Intentionally falls through */ case 'l': case 'L': /* Do nothing, scm_shell() will deal with these. */ break; case 'h': shell_usage (); break; case '?': /* getopt_long already printed an error message */ fprintf (stderr, _("\nRun `lepton-cli shell --help' for more information.\n")); exit (1); break; default: g_assert_not_reached (); } } liblepton_init (); scm_dynwind_begin ((scm_t_dynwind_flags) 0); toplevel = s_toplevel_new (); edascm_dynwind_toplevel (toplevel); /* Interactive, so enable readline support and print an abbreviated * version message. */ if (interactive) { fprintf (stderr, "Lepton EDA %s (g%.7s)\n", PACKAGE_DOTTED_VERSION, PACKAGE_GIT_COMMIT); /* readline is not supported for MinGW builds yet */ #ifndef __MINGW32__ SCM expr = scm_list_3 (sym_begin, scm_list_2 (sym_use_modules, scm_list_2 (sym_ice_9, sym_readline)), scm_list_1 (sym_activate_readline)); scm_eval_x (expr, scm_current_module ()); #endif /* __MINGW32__ */ } /* Now load rc files, if necessary */ if (getenv ("LEPTON_INHIBIT_RC_FILES") == NULL) { g_rc_parse ("lepton-cli shell", NULL, NULL); } scm_shell (argc, argv); /* Doesn't return */ scm_dynwind_end (); } int cmd_shell (int argc, char **argv) { set_guile_compiled_path(); scm_boot_guile (argc, argv, cmd_shell_impl, NULL); /* Doesn't return */ return 0; } lepton-eda-1.9.16/utils/cli/src/lepton-cli.c0000644000175000017500000001064714101257250015476 00000000000000/* * Lepton EDA command-line utility * Copyright (C) 2012-2013 Peter Brett * Copyright (C) 2012-2014 gEDA Contributors * Copyright (C) 2017-2020 Lepton EDA Contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include #include #include #include #include #include #include /* Gettext translation */ #include "gettext.h" #include #include "builtins.h" #include #define short_options "+hV" static struct option long_options[] = { {"help", 0, NULL, 'h'}, {"version", 0, NULL, 'V'}, {"no-rcfiles", 0, NULL, 2}, {NULL, 0, NULL, 0}, }; struct internal_command { const char *name; int (*func)(int, char **); }; static struct internal_command commands[] = { {"shell", cmd_shell}, {"config", cmd_config}, {"export", cmd_export}, {NULL, NULL}, }; /* Print help info and exit */ static void usage (void) { printf (_("Usage: lepton-cli [OPTION...] COMMAND [ARGS ...]\n" "\n" "Lepton EDA command-line utility.\n" "\n" "General options:\n" " --no-rcfiles inhibit loading of 'gafrc' files\n" " -h, --help display usage information and exit\n" " -V, --version display version information and exit\n" "\n" "Commonly-used commands (type `lepton-cli --help' for usage):\n" " shell Scheme REPL for interactive Lepton EDA data processing\n" " config Edit Lepton EDA configuration\n" " export Export Lepton EDA files in various image formats.\n" "\n" "Report bugs at <%1$s>\n" "Lepton EDA homepage: <%2$s>\n"), PACKAGE_BUGREPORT, PACKAGE_URL); exit (0); } /* Print version info and exit */ static void version (void) { printf (_("Lepton EDA %s%s.%s (git: %.7s)\n%s"), lepton_version_prepend (), lepton_version_dotted (), lepton_version_date (), lepton_version_git_commit (), lepton_version_copyright ()); exit (0); } int main (int argc, char **argv) { int c; char *cmd = NULL; int cmd_argc = 0; char **cmd_argv = NULL; int (*cmd_func)(int, char **) = NULL; /* Set up gettext */ #if ENABLE_NLS setlocale (LC_ALL, ""); bindtextdomain ("lepton-cli", LOCALEDIR); textdomain ("lepton-cli"); bind_textdomain_codeset ("lepton-cli", "UTF-8"); #endif while (-1 != (c = getopt_long (argc, argv, short_options, long_options, NULL))) { switch (c) { case 0: /* This is a long-form-only flag option, and has already been * dealt with by getopt_long(). */ break; case 2: /* --no-rcfiles */ g_setenv ("LEPTON_INHIBIT_RC_FILES", "1", 1); break; case 'V': version (); case 'h': usage (); case '?': /* getopt_long already printed an error message */ fprintf (stderr, _("\nRun `lepton-cli --help' for more information.\n")); exit (1); break; default: g_assert_not_reached (); } } /* The next argument should be a command */ if (optind == argc) { fprintf (stderr, _("ERROR: You must specify a command to run.\n" "\n" "Run `lepton-cli --help' for more information.\n")); exit (1); } cmd = argv[optind]; /* Look up the command */ int i; for (i = 0; commands[i].name != NULL; i++) { if (strcmp (cmd, commands[i].name) == 0) { cmd_func = commands[i].func; break; } } if (cmd_func == NULL) { fprintf (stderr, _("ERROR: Unrecognised command `%1$s'.\n" "\n" "Run `lepton-cli --help' for more information.\n"), cmd); exit (1); } cmd_argc = argc - optind; cmd_argv = argv + optind; optind = 1; return cmd_func (cmd_argc, cmd_argv); } lepton-eda-1.9.16/utils/cli/src/gettext.h0000644000175000017500000000601614101257250015114 00000000000000/* Convenience header for conditional use of GNU . Copyright (C) 1995-1998, 2000-2002 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef _LIBGETTEXT_H #define _LIBGETTEXT_H 1 /* NLS can be disabled through the configure --disable-nls option. */ #if ENABLE_NLS /* Get declarations of GNU message catalog functions. */ # include #else /* Solaris /usr/include/locale.h includes /usr/include/libintl.h, which chokes if dcgettext is defined as a macro. So include it now, to make later inclusions of a NOP. We don't include as well because people using "gettext.h" will not include , and also including would fail on SunOS 4, whereas is OK. */ #if defined(__sun) # include #endif /* Disabled NLS. The casts to 'const char *' serve the purpose of producing warnings for invalid uses of the value returned from these functions. On pre-ANSI systems without 'const', the config.h file is supposed to contain "#define const". */ # define gettext(Msgid) ((const char *) (Msgid)) # define dgettext(Domainname, Msgid) ((const char *) (Msgid)) # define dcgettext(Domainname, Msgid, Category) ((const char *) (Msgid)) # define ngettext(Msgid1, Msgid2, N) \ ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2)) # define dngettext(Domainname, Msgid1, Msgid2, N) \ ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2)) # define dcngettext(Domainname, Msgid1, Msgid2, N, Category) \ ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2)) # define textdomain(Domainname) ((const char *) (Domainname)) # define bindtextdomain(Domainname, Dirname) ((const char *) (Dirname)) # define bind_textdomain_codeset(Domainname, Codeset) ((const char *) (Codeset)) #endif /* A pseudo function call that serves as a marker for the automated extraction of messages, but does not call gettext(). The run-time translation is done at a different place in the code. The argument, String, should be a literal string. Concatenated strings and other string expressions won't work. The macro's expansion is not parenthesized, so that it is suitable as initializer for static 'char[]' or 'const char[]' variables. */ #define gettext_noop(String) String #define _(String) gettext(String) #endif /* _LIBGETTEXT_H */ lepton-eda-1.9.16/utils/attrib/0000755000175000017500000000000014101262653013266 500000000000000lepton-eda-1.9.16/utils/attrib/Makefile.am0000644000175000017500000000142414101257250015240 00000000000000bin_SCRIPTS = lepton-attrib if CYGWIN LIBLEPTONATTRIB=cygleptonattrib-$(LIBLEPTONATTRIB_MAJOR) if ENABLE_GTK3 LIBGTK = cyggtk-3-0 else LIBGTK = cyggtk-x11-2.0-0 endif else LIBLEPTONATTRIB=libleptonattrib if ENABLE_GTK3 LIBGTK = libgtk-3 else LIBGTK = libgtk-x11-2.0 endif endif lepton-attrib: lepton-attrib.scm Makefile $(do_subst) < $(srcdir)/$@.scm > $@ chmod +x $@ do_subst = sed \ -e 's,[@]libdir[@],$(libdir),g' \ -e 's,[@]GUILE[@],$(GUILE),g' \ -e 's,[@]LEPTON_SCHEME_MODULE_DIRECTORY[@],$(LEPTON_SCHEME_MODULE_DIRECTORY),g' \ -e 's,[@]LIBGTK[@],$(LIBGTK),g' \ -e 's,[@]LIBLEPTONATTRIB[@],$(LIBLEPTONATTRIB),g' \ -e 's,[@]localedir[@],$(localedir),g' \ -e 's,[@]ccachedir[@],@LEPTON_SCM_PRECOMPILE_DIR@,g' EXTRA_DIST = \ lepton-attrib.scm CLEANFILES = $(bin_SCRIPTS) lepton-eda-1.9.16/utils/attrib/lepton-attrib.scm0000644000175000017500000001255314101257250016501 00000000000000#!/usr/bin/env sh export GUILE_LOAD_COMPILED_PATH="@ccachedir@:${GUILE_LOAD_COMPILED_PATH}" exec @GUILE@ -s "$0" "$@" !# ;;; Lepton EDA attribute editor ;;; Copyright (C) 2003-2010 Stuart D. Brorson. ;;; Copyright (C) 2005-2016 gEDA Contributors ;;; Copyright (C) 2017-2021 Lepton EDA Contributors ;;; ;;; This program is free software; you can redistribute it and/or modify ;;; it under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 2 of the License, or ;;; (at your option) any later version. ;;; ;;; This program is distributed in the hope that it will be useful, ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with this program; if not, write to the Free Software ;;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA (eval-when (expand load eval) (unless (getenv "LIBLEPTON") (add-to-load-path "@LEPTON_SCHEME_MODULE_DIRECTORY@"))) (use-modules (ice-9 getopt-long) (ice-9 receive) (srfi srfi-1) (system foreign) (lepton ffi)) ;;; Initialize liblepton library. (liblepton_init) (define libgtk (dynamic-link "@LIBGTK@")) (define libleptonattrib (dynamic-link "@LIBLEPTONATTRIB@")) (define gtk-init (pointer->procedure void (dynamic-func "gtk_init" libgtk) (list '* '*))) (define gtk-main (pointer->procedure void (dynamic-func "gtk_main" libgtk) '())) (define set-verbose-mode! (pointer->procedure void (dynamic-func "set_verbose_mode" libleptonattrib) '())) (define fileselect-open (pointer->procedure '* (dynamic-func "x_fileselect_open" libleptonattrib) '())) (define lepton-attrib-window (pointer->procedure void (dynamic-func "lepton_attrib_window" libleptonattrib) '())) ;;; Localization. (define %textdomain "libleptonattrib") (bindtextdomain %textdomain "@localedir@") (textdomain %textdomain) (bind-textdomain-codeset %textdomain "UTF-8") (setlocale LC_ALL "") (setlocale LC_NUMERIC "C") (define (G_ msg) (gettext msg %textdomain)) (primitive-eval '(use-modules (lepton core toplevel) (lepton file-system) (lepton log) (lepton page) (lepton rc) (lepton version))) (define (usage) (format #t (G_ "Usage: ~A [OPTIONS] FILE ... lepton-attrib: Lepton EDA attribute editor. Presents schematic attributes in easy-to-edit spreadsheet format. Options: -v, --verbose Verbose mode on -V, --version Show version information -h, --help This help menu Report bugs at ~S Lepton EDA homepage: ~S ") (basename (car (program-arguments))) (lepton-version-ref 'bugs) (lepton-version-ref 'url)) (primitive-exit 0)) (define (report-unreadable filename) (format (current-error-port) "Could not open file ~S.\n" filename)) (define (gslist->list gslist) (let loop ((gsls gslist) (ls '())) (if (null-pointer? gsls) ls (let* ((elem (parse-c-struct gsls (list '* '*))) (str (pointer->string (first elem))) (gsls (second elem))) (loop gsls (cons str ls)))))) (define (process-gafrc* name) (process-gafrc "lepton-attrib" name)) ;;; Init logging. (init-log "attrib") (display-lepton-version #:print-name #t #:log #t) (let* ((option-spec '((help (single-char #\h)) (verbose (single-char #\v)) (version (single-char #\V)))) (options (getopt-long (program-arguments) option-spec)) (help (option-ref options 'help #f)) (version (option-ref options 'version #f)) (files (option-ref options '() '())) (verbose? (option-ref options 'verbose #f))) (when help (usage)) ;; Output version to stdout and exit, if requested. (when version (display-lepton-version #:print-name #t #:copyright #t) (primitive-exit 0)) (when verbose? (set-verbose-mode!)) (receive (readable-files unreadable-files) (partition file-readable? files) (if (null? unreadable-files) ;; Main procedure. (begin ;; Initialize GTK. (gtk-init %null-pointer %null-pointer) (let ((files (if (null? readable-files) ;; No files specified on the command ;; line, pop up the File open dialog. (gslist->list (fileselect-open)) readable-files))) (if (null? files) (primitive-exit 0) (%with-toplevel (%make-toplevel) (lambda () (for-each process-gafrc* files) ;; Open all files. (for-each file->page files) ;; Run attribute editor. (lepton-attrib-window) ;; Run main GTK loop. (gtk-main) (primitive-exit 0)))))) ;; There are non-existing or unreadable files. Report and ;; exit. (begin (for-each report-unreadable unreadable-files) (primitive-exit 1))))) lepton-eda-1.9.16/utils/attrib/Makefile.in0000644000175000017500000004754014101262632015262 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = utils/attrib ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/guile.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lepton-assert.m4 \ $(top_srcdir)/m4/lepton-attrib.m4 \ $(top_srcdir)/m4/lepton-awk.m4 \ $(top_srcdir)/m4/lepton-cairo.m4 \ $(top_srcdir)/m4/lepton-contrib.m4 \ $(top_srcdir)/m4/lepton-data-dirs.m4 \ $(top_srcdir)/m4/lepton-desktop-i18n.m4 \ $(top_srcdir)/m4/lepton-desktop.m4 \ $(top_srcdir)/m4/lepton-doxygen.m4 \ $(top_srcdir)/m4/lepton-gcc-flags.m4 \ $(top_srcdir)/m4/lepton-git-version.m4 \ $(top_srcdir)/m4/lepton-git.m4 \ $(top_srcdir)/m4/lepton-groff.m4 \ $(top_srcdir)/m4/lepton-guile.m4 \ $(top_srcdir)/m4/lepton-host.m4 \ $(top_srcdir)/m4/lepton-stroke.m4 \ $(top_srcdir)/m4/lepton-uri-viewer.m4 \ $(top_srcdir)/m4/lepton-windows.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/liblepton.m4 \ $(top_srcdir)/m4/libleptonattrib.m4 \ $(top_srcdir)/m4/libleptongui.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pcb-data-dirs.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(bindir)" SCRIPTS = $(bin_SCRIPTS) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITMAP_DIRECTORY = @BITMAP_DIRECTORY@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@ CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@ CAIRO_PNG_CFLAGS = @CAIRO_PNG_CFLAGS@ CAIRO_PNG_LIBS = @CAIRO_PNG_LIBS@ CAIRO_PS_CFLAGS = @CAIRO_PS_CFLAGS@ CAIRO_PS_LIBS = @CAIRO_PS_LIBS@ CAIRO_SVG_CFLAGS = @CAIRO_SVG_CFLAGS@ CAIRO_SVG_LIBS = @CAIRO_SVG_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE_VERSION = @DATE_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DESKTOP_I18N = @DESKTOP_I18N@ DESKTOP_I18N_CREATE = @DESKTOP_I18N_CREATE@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@ DESKTOP_I18N_SCRIPT = @DESKTOP_I18N_SCRIPT@ DLLTOOL = @DLLTOOL@ DOT = @DOT@ DOTTED_VERSION = @DOTTED_VERSION@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GDK_CFLAGS = @GDK_CFLAGS@ GDK_LIBS = @GDK_LIBS@ GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@ GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@ GETTEXT = @GETTEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GIT = @GIT@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GROFF = @GROFF@ GTKEXTRA_CFLAGS = @GTKEXTRA_CFLAGS@ GTKEXTRA_LIBS = @GTKEXTRA_LIBS@ GTKSHEET_CFLAGS = @GTKSHEET_CFLAGS@ GTKSHEET_LIBS = @GTKSHEET_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GUILD = @GUILD@ GUILE = @GUILE@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@ GUILE_LDFLAGS = @GUILE_LDFLAGS@ GUILE_LIBS = @GUILE_LIBS@ GUILE_LTLIBS = @GUILE_LTLIBS@ GUILE_PKG_NAME = @GUILE_PKG_NAME@ GUILE_SNARF = @GUILE_SNARF@ GUILE_TOOLS = @GUILE_TOOLS@ HAVE_GIT_REPO = @HAVE_GIT_REPO@ ICON_THEME_INSTALLER = @ICON_THEME_INSTALLER@ INKSCAPE = @INKSCAPE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEPTONDATADIR = @LEPTONDATADIR@ LEPTON_SCHEME_MODULE_DIRECTORY = @LEPTON_SCHEME_MODULE_DIRECTORY@ LEPTON_SCM_PRECOMPILE_DIR = @LEPTON_SCM_PRECOMPILE_DIR@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBLEPTONATTRIB_MAJOR = @LIBLEPTONATTRIB_MAJOR@ LIBLEPTONATTRIB_SHLIB_VERSION = @LIBLEPTONATTRIB_SHLIB_VERSION@ LIBLEPTONGUI_MAJOR = @LIBLEPTONGUI_MAJOR@ LIBLEPTONGUI_SHLIB_VERSION = @LIBLEPTONGUI_SHLIB_VERSION@ LIBLEPTON_GETTEXT_DOMAIN = @LIBLEPTON_GETTEXT_DOMAIN@ LIBLEPTON_MAJOR = @LIBLEPTON_MAJOR@ LIBLEPTON_SHLIB_VERSION = @LIBLEPTON_SHLIB_VERSION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSTROKE_CPPFLAGS = @LIBSTROKE_CPPFLAGS@ LIBSTROKE_LDFLAGS = @LIBSTROKE_LDFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ M4 = @M4@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MINGW_CFLAGS = @MINGW_CFLAGS@ MINGW_GUI_LDFLAGS = @MINGW_GUI_LDFLAGS@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCBDATADIR = @PCBDATADIR@ PCBLIBPATH = @PCBLIBPATH@ PCBM4DIR = @PCBM4DIR@ PDFLATEX = @PDFLATEX@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ URI_VIEWER = @URI_VIEWER@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDOWS_LIBTOOL_FLAGS = @WINDOWS_LIBTOOL_FLAGS@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ bin_SCRIPTS = lepton-attrib @CYGWIN_FALSE@LIBLEPTONATTRIB = libleptonattrib @CYGWIN_TRUE@LIBLEPTONATTRIB = cygleptonattrib-$(LIBLEPTONATTRIB_MAJOR) @CYGWIN_FALSE@@ENABLE_GTK3_FALSE@LIBGTK = libgtk-x11-2.0 @CYGWIN_FALSE@@ENABLE_GTK3_TRUE@LIBGTK = libgtk-3 @CYGWIN_TRUE@@ENABLE_GTK3_FALSE@LIBGTK = cyggtk-x11-2.0-0 @CYGWIN_TRUE@@ENABLE_GTK3_TRUE@LIBGTK = cyggtk-3-0 do_subst = sed \ -e 's,[@]libdir[@],$(libdir),g' \ -e 's,[@]GUILE[@],$(GUILE),g' \ -e 's,[@]LEPTON_SCHEME_MODULE_DIRECTORY[@],$(LEPTON_SCHEME_MODULE_DIRECTORY),g' \ -e 's,[@]LIBGTK[@],$(LIBGTK),g' \ -e 's,[@]LIBLEPTONATTRIB[@],$(LIBLEPTONATTRIB),g' \ -e 's,[@]localedir[@],$(localedir),g' \ -e 's,[@]ccachedir[@],@LEPTON_SCM_PRECOMPILE_DIR@,g' EXTRA_DIST = \ lepton-attrib.scm CLEANFILES = $(bin_SCRIPTS) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/attrib/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign utils/attrib/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-binSCRIPTS: $(bin_SCRIPTS) @$(NORMAL_INSTALL) @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n' \ -e 'h;s|.*|.|' \ -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) { files[d] = files[d] " " $$1; \ if (++n[d] == $(am__install_max)) { \ print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ else { print "f", d "/" $$4, $$1 } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 's,.*/,,;$(transform)'`; \ dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir) mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(SCRIPTS) installdirs: for dir in "$(DESTDIR)$(bindir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-binSCRIPTS install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binSCRIPTS .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-binSCRIPTS install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \ uninstall-am uninstall-binSCRIPTS .PRECIOUS: Makefile lepton-attrib: lepton-attrib.scm Makefile $(do_subst) < $(srcdir)/$@.scm > $@ chmod +x $@ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/sch2pcb/0000755000175000017500000000000014101262653013325 500000000000000lepton-eda-1.9.16/utils/sch2pcb/Makefile.am0000644000175000017500000000003414101257250015273 00000000000000SUBDIRS = src examples docs lepton-eda-1.9.16/utils/sch2pcb/docs/0000755000175000017500000000000014101262653014255 500000000000000lepton-eda-1.9.16/utils/sch2pcb/docs/Makefile.am0000644000175000017500000000165114101257250016231 00000000000000dist_man_MANS = \ lepton-sch2pcb.1 EXTRA_DIST = \ lepton-sch2pcb.1.in \ README.lepton-sch2pcb docsreadmedir = $(docdir)/readmes docsreadme_DATA = \ README.lepton-sch2pcb .1.in.1: d=`$(GUILE) -c '(setlocale LC_ALL "C") \ (display (strftime "%B %-d, %Y" \ (car (strptime "%Y%m%d" (cadr (program-arguments))))))' $(DATE_VERSION)` ; \ v="$(DOTTED_VERSION).$(DATE_VERSION)" ; \ y=`echo $(DATE_VERSION)| sed -e"s/\(....\).*/\1/"`; \ sed -e"s:[@]DATE@:$$d:" -e"s:[@]VERSION@:$$v:" -e"s:[@]YEAR@:$$y:" < $< > $@ # Rules for converting man->html html_man_files = $(dist_man_MANS:%.1=%.html) SUFFIXES = .1.in .1 .html docsmandir=$(docdir)/man dist_docsman_DATA=$(html_man_files) if ENABLE_GROFF_HTML .1.html: rm -rf $@.tmp && \ LC_NUMERIC=C $(GROFF) -man -T html $< >$@.tmp && \ mv -f $@.tmp $@ else .1.html: @echo "No working groff available: cannot create $@" @! : endif CLEANFILES = $(dist_man_MANS) $(html_man_files) lepton-eda-1.9.16/utils/sch2pcb/docs/lepton-sch2pcb.html0000644000175000017500000002443314101262653017714 00000000000000 lepton-sch2pcb

lepton-sch2pcb

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
PROJECT FILES
ENVIRONMENT
AUTHOR
COPYRIGHT
SEE ALSO

NAME

lepton-sch2pcb - Update PCB layouts from Lepton EDA schematics

SYNOPSIS

lepton-sch2pcb [OPTION ...] {PROJECT | FILE ...}

DESCRIPTION

lepton-sch2pcb is a frontend to lepton-netlist(1) which aids in creating and updating pcb(1) printed circuit board layouts based on a set of electronic schematics created with lepton-schematic(1).

Instead of specifying all options and input schematic FILEs on the command line, lepton-sch2pcb can use a PROJECT file instead.

lepton-sch2pcb first runs lepton-netlist(1) with the ’PCB’ backend (or backend specified by --backend-net) to create a ’<name>.net’ file containing a pcb(1) formatted netlist for the design.

The second step is to run lepton-netlist(1) again with the ’gsch2pcb’ backend (or backend specified by --backend-pcb) to find any M4(1) elements required by the schematics. Any missing elements are found by searching a set of file element directories. If no ’<name>.pcb’ file exists for the design yet, it is created with the required elements; otherwise, any new elements are output to a ’<name>.new.pcb’ file.

If a ’<name>.pcb’ file exists, it is searched for elements with a non-empty element name with no matching schematic symbol. These elements are removed from the ’<name>.pcb’ file, with a backup in a ’<name>.pcb.bak’ file.

Finally, lepton-netlist(1) is run a third time with the ’pcbpins’ backend (or backend specified by --backend-cmd) to create a ’<name>.cmd’ file. This can be loaded into pcb(1) to rename all pin names in the PCB layout to match the schematic.

OPTIONS

-o, --output-name=BASENAME

Use output filenames ’BASENAME.net’, ’BASENAME.pcb’, and ’BASENAME.new.pcb’. By default, the basename of the first schematic file in the list of input files is used.

-d, --elements-dir=DIRECTORY

Add DIRECTORY to the list of directories to search for PCB file elements. By default, the following directories are searched if they exist: ’./packages’, ’/usr/local/share/pcb/newlib’, ’/usr/share/pcb/newlib’, ’/usr/local/lib/pcb_lib’, ’/usr/lib/pcb_lib’, ’/usr/local/pcb_lib’.

-f, --use-files

Force use of file elements in preference to elements generated with M4(1).

-s, --skip-m4

Disable element generation using M4(1) entirely.

--m4-file FILE

Use the M4(1) file FILE in addition to the default M4 files ’./pcb.inc’ and ’~/.pcb/pcb.inc’.

--m4-pcbdir DIRECTORY

Set DIRECTORY as the directory where lepton-sch2pcb should look for M4(1) files installed by pcb(1).

-r, --remove-unfound

Don’t include references to unfound elements in the generated ’.pcb’ files. Use if you want pcb(1) to be able to load the (incomplete) ’.pcb’ file. This is enabled by default.

-k, --keep-unfound

Keep include references to unfound elements in the generated ’.pcb’ files. Use if you want to hand edit or otherwise preprocess the generated ’.pcb’ file before running pcb(1).

-p, --preserve

Preserve elements in PCB files which are not found in the schematics. Since elements with an empty element name (schematic "refdes") are never deleted, this option is rarely useful.

--backend-cmd BACKEND

Use BACKEND to generate ’<name>.cmd’ file instead of the default one (’pcbpins’).

--backend-net BACKEND

Use BACKEND to generate ’<name>.net’ file instead of the default one (’PCB’).

--backend-pcb BACKEND

Use BACKEND to generate ’<name>.pcb’ file instead of the default one (’gsch2pcb’).

--gnetlist BACKEND

In addition to the default backends, run lepton-netlist(1) with ’-g BACKEND’, with output to ’<name>.BACKEND’.

--gnetlist-arg ARG

Pass ARG as an additional argument to lepton-netlist(1).

--empty-footprint NAME

If NAME is not ’none’, lepton-sch2pcb will not add elements for components with that name to the PCB file. Note that if the omitted components have net connections, they will still appear in the netlist and pcb(1) will warn that they are missing.

--fix-elements

If a schematic component’s ’footprint’ attribute is not equal to the ’Description’ of the corresponding PCB element, update the ’Description’ instead of replacing the element.

-q, --quiet

Don’t output information on steps to take after running lepton-sch2pcb.

-v, --verbose

Output extra debugging information. This option can be specified twice (’-v -v’) to obtain additional debugging for file elements.

-h, --help

Print a help message.

-V, --version

Print lepton-sch2pcb version information.

PROJECT FILES

A lepton-sch2pcb project file is a file (not ending in ’.sch’) containing a list of schematics to process and some options. Any long-form command line option can appear in the project file with the leading ’--’ removed, with the exception of ’--gnetlist-arg’, ’--fix-elements’, ’--verbose’, and ’--version’. Schematics should be listed on a line beginning with ’schematics’.

An example project file might look like:

schematics partA.sch partB.sch

output-name design

ENVIRONMENT

NETLISTER

specifies the netlister(1) program to run. The default is ’lepton-netlist’.

AUTHOR

Bill Wilson

COPYRIGHT

Copyright © 2012-2017 gEDA Contributors.
Copyright © 2017-2021 Lepton Developers.
License GPLv2+: GNU GPL version 2 or later. Please see the ’COPYING’
file included with this program for full details.

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

SEE ALSO

lepton-schematic(1), lepton-netlist(1), pcb(1)


lepton-eda-1.9.16/utils/sch2pcb/docs/Makefile.in0000644000175000017500000005455414101262632016254 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = utils/sch2pcb/docs ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/guile.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lepton-assert.m4 \ $(top_srcdir)/m4/lepton-attrib.m4 \ $(top_srcdir)/m4/lepton-awk.m4 \ $(top_srcdir)/m4/lepton-cairo.m4 \ $(top_srcdir)/m4/lepton-contrib.m4 \ $(top_srcdir)/m4/lepton-data-dirs.m4 \ $(top_srcdir)/m4/lepton-desktop-i18n.m4 \ $(top_srcdir)/m4/lepton-desktop.m4 \ $(top_srcdir)/m4/lepton-doxygen.m4 \ $(top_srcdir)/m4/lepton-gcc-flags.m4 \ $(top_srcdir)/m4/lepton-git-version.m4 \ $(top_srcdir)/m4/lepton-git.m4 \ $(top_srcdir)/m4/lepton-groff.m4 \ $(top_srcdir)/m4/lepton-guile.m4 \ $(top_srcdir)/m4/lepton-host.m4 \ $(top_srcdir)/m4/lepton-stroke.m4 \ $(top_srcdir)/m4/lepton-uri-viewer.m4 \ $(top_srcdir)/m4/lepton-windows.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/liblepton.m4 \ $(top_srcdir)/m4/libleptonattrib.m4 \ $(top_srcdir)/m4/libleptongui.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pcb-data-dirs.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(dist_docsman_DATA) \ $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } man1dir = $(mandir)/man1 am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docsmandir)" \ "$(DESTDIR)$(docsreadmedir)" NROFF = nroff MANS = $(dist_man_MANS) DATA = $(dist_docsman_DATA) $(docsreadme_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(dist_man_MANS) $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITMAP_DIRECTORY = @BITMAP_DIRECTORY@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@ CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@ CAIRO_PNG_CFLAGS = @CAIRO_PNG_CFLAGS@ CAIRO_PNG_LIBS = @CAIRO_PNG_LIBS@ CAIRO_PS_CFLAGS = @CAIRO_PS_CFLAGS@ CAIRO_PS_LIBS = @CAIRO_PS_LIBS@ CAIRO_SVG_CFLAGS = @CAIRO_SVG_CFLAGS@ CAIRO_SVG_LIBS = @CAIRO_SVG_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE_VERSION = @DATE_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DESKTOP_I18N = @DESKTOP_I18N@ DESKTOP_I18N_CREATE = @DESKTOP_I18N_CREATE@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@ DESKTOP_I18N_SCRIPT = @DESKTOP_I18N_SCRIPT@ DLLTOOL = @DLLTOOL@ DOT = @DOT@ DOTTED_VERSION = @DOTTED_VERSION@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GDK_CFLAGS = @GDK_CFLAGS@ GDK_LIBS = @GDK_LIBS@ GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@ GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@ GETTEXT = @GETTEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GIT = @GIT@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GROFF = @GROFF@ GTKEXTRA_CFLAGS = @GTKEXTRA_CFLAGS@ GTKEXTRA_LIBS = @GTKEXTRA_LIBS@ GTKSHEET_CFLAGS = @GTKSHEET_CFLAGS@ GTKSHEET_LIBS = @GTKSHEET_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GUILD = @GUILD@ GUILE = @GUILE@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@ GUILE_LDFLAGS = @GUILE_LDFLAGS@ GUILE_LIBS = @GUILE_LIBS@ GUILE_LTLIBS = @GUILE_LTLIBS@ GUILE_PKG_NAME = @GUILE_PKG_NAME@ GUILE_SNARF = @GUILE_SNARF@ GUILE_TOOLS = @GUILE_TOOLS@ HAVE_GIT_REPO = @HAVE_GIT_REPO@ ICON_THEME_INSTALLER = @ICON_THEME_INSTALLER@ INKSCAPE = @INKSCAPE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEPTONDATADIR = @LEPTONDATADIR@ LEPTON_SCHEME_MODULE_DIRECTORY = @LEPTON_SCHEME_MODULE_DIRECTORY@ LEPTON_SCM_PRECOMPILE_DIR = @LEPTON_SCM_PRECOMPILE_DIR@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBLEPTONATTRIB_MAJOR = @LIBLEPTONATTRIB_MAJOR@ LIBLEPTONATTRIB_SHLIB_VERSION = @LIBLEPTONATTRIB_SHLIB_VERSION@ LIBLEPTONGUI_MAJOR = @LIBLEPTONGUI_MAJOR@ LIBLEPTONGUI_SHLIB_VERSION = @LIBLEPTONGUI_SHLIB_VERSION@ LIBLEPTON_GETTEXT_DOMAIN = @LIBLEPTON_GETTEXT_DOMAIN@ LIBLEPTON_MAJOR = @LIBLEPTON_MAJOR@ LIBLEPTON_SHLIB_VERSION = @LIBLEPTON_SHLIB_VERSION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSTROKE_CPPFLAGS = @LIBSTROKE_CPPFLAGS@ LIBSTROKE_LDFLAGS = @LIBSTROKE_LDFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ M4 = @M4@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MINGW_CFLAGS = @MINGW_CFLAGS@ MINGW_GUI_LDFLAGS = @MINGW_GUI_LDFLAGS@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCBDATADIR = @PCBDATADIR@ PCBLIBPATH = @PCBLIBPATH@ PCBM4DIR = @PCBM4DIR@ PDFLATEX = @PDFLATEX@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ URI_VIEWER = @URI_VIEWER@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDOWS_LIBTOOL_FLAGS = @WINDOWS_LIBTOOL_FLAGS@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ dist_man_MANS = \ lepton-sch2pcb.1 EXTRA_DIST = \ lepton-sch2pcb.1.in \ README.lepton-sch2pcb docsreadmedir = $(docdir)/readmes docsreadme_DATA = \ README.lepton-sch2pcb # Rules for converting man->html html_man_files = $(dist_man_MANS:%.1=%.html) SUFFIXES = .1.in .1 .html docsmandir = $(docdir)/man dist_docsman_DATA = $(html_man_files) CLEANFILES = $(dist_man_MANS) $(html_man_files) all: all-am .SUFFIXES: .SUFFIXES: .1.in .1 .html $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/sch2pcb/docs/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign utils/sch2pcb/docs/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-man1: $(dist_man_MANS) @$(NORMAL_INSTALL) @list1=''; \ list2='$(dist_man_MANS)'; \ test -n "$(man1dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.1[a-z]*$$/p'; \ fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ done | \ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ sed 'N;N;s,\n, ,g' | { \ list=; while read file base inst; do \ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ fi; \ done; \ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ while read files; do \ test -z "$$files" || { \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ done; } uninstall-man1: @$(NORMAL_UNINSTALL) @list=''; test -n "$(man1dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \ sed -n '/\.1[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) install-dist_docsmanDATA: $(dist_docsman_DATA) @$(NORMAL_INSTALL) @list='$(dist_docsman_DATA)'; test -n "$(docsmandir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(docsmandir)'"; \ $(MKDIR_P) "$(DESTDIR)$(docsmandir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docsmandir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(docsmandir)" || exit $$?; \ done uninstall-dist_docsmanDATA: @$(NORMAL_UNINSTALL) @list='$(dist_docsman_DATA)'; test -n "$(docsmandir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(docsmandir)'; $(am__uninstall_files_from_dir) install-docsreadmeDATA: $(docsreadme_DATA) @$(NORMAL_INSTALL) @list='$(docsreadme_DATA)'; test -n "$(docsreadmedir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(docsreadmedir)'"; \ $(MKDIR_P) "$(DESTDIR)$(docsreadmedir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docsreadmedir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(docsreadmedir)" || exit $$?; \ done uninstall-docsreadmeDATA: @$(NORMAL_UNINSTALL) @list='$(docsreadme_DATA)'; test -n "$(docsreadmedir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(docsreadmedir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(MANS) $(DATA) installdirs: for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docsmandir)" "$(DESTDIR)$(docsreadmedir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dist_docsmanDATA install-docsreadmeDATA \ install-man install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-man1 install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-dist_docsmanDATA uninstall-docsreadmeDATA \ uninstall-man uninstall-man: uninstall-man1 .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am \ install-dist_docsmanDATA install-docsreadmeDATA install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-man1 install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ps ps-am tags-am uninstall uninstall-am \ uninstall-dist_docsmanDATA uninstall-docsreadmeDATA \ uninstall-man uninstall-man1 .PRECIOUS: Makefile .1.in.1: d=`$(GUILE) -c '(setlocale LC_ALL "C") \ (display (strftime "%B %-d, %Y" \ (car (strptime "%Y%m%d" (cadr (program-arguments))))))' $(DATE_VERSION)` ; \ v="$(DOTTED_VERSION).$(DATE_VERSION)" ; \ y=`echo $(DATE_VERSION)| sed -e"s/\(....\).*/\1/"`; \ sed -e"s:[@]DATE@:$$d:" -e"s:[@]VERSION@:$$v:" -e"s:[@]YEAR@:$$y:" < $< > $@ @ENABLE_GROFF_HTML_TRUE@.1.html: @ENABLE_GROFF_HTML_TRUE@ rm -rf $@.tmp && \ @ENABLE_GROFF_HTML_TRUE@ LC_NUMERIC=C $(GROFF) -man -T html $< >$@.tmp && \ @ENABLE_GROFF_HTML_TRUE@ mv -f $@.tmp $@ @ENABLE_GROFF_HTML_FALSE@.1.html: @ENABLE_GROFF_HTML_FALSE@ @echo "No working groff available: cannot create $@" @ENABLE_GROFF_HTML_FALSE@ @! : # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/sch2pcb/docs/README.lepton-sch2pcb0000644000175000017500000001217614101257250017703 00000000000000gsch2pcb -------- gsch2pcb is a program that interfaces a set of schematics generated with with the gEDA gschem to PCB layout files. gsch2pcb is conceptually similar to the gschem2pcb shell script, but additionally handles multiple schematics, handles file element footprints, and removes pc board elements corresponding to components deleted from the schematics. It also forward annotates component value changes. Using gsch2pcb allows you to drive all design changes from the gschem schematics without the headache of manually keeping PCB elements and element values in sync. It requires that the gnet-gsch2pcb.scm file be install into the gEDA scheme directory. On Debian this is /usr/share/gEDA/scheme, but see the INSTALL file. Typical usage ------------- 1) Create your custom PCB elements and save each one into its own file. Some compatibility tips if you will be inserting elements into a layout manually as well as with gsch2pcb: * Make the initial "Description" field of these elements the same as the file name because gsch2pcb depends on this name (which is the gschem footprint value) to know when footprints/elements are changed. * Make the initial layout-name field (displayed when the "name on PCB" menu entry is selected) empty (ie "") so that gsch2pcb will not delete your element when you want it to be in the layout even though it is not in the schematic. You can later edit the layout-name to be some refdes value, but I'm not sure it makes sense to name a PCB element that is not referenced in the schematic. Note: since once a layout element is named PCB won't let you reset it to an empty name, a sort of kludge is that setting the first character of the layout-name to a non-alphanumeric will protect the element from being deleted by gsch2pcb. These file elements should be placed in a directory heirarchy that gsch2pcb will search. The default directories /usr/local/pcb_lib and ./packages are searched in addition to any directories you specify with --elements-dir dirname arguments to gsch2pcb. 2) Create your schematic with gschem. Make sure each component has a unique refdes attribute and a footprint attribute that matches either a PCB m4 element or one of your custom file element names. Beware of file element names that collide with PCB m4 macro names (or specify the use-files option). Make a project file if you wish. 3) Run "gsch2pcb foo.sch" or "gsch2pcb myproject" if you've created the myproject file. If you didn't specify an output name, this will generate a foo.pcb and a foo.net file. If you get errors about footprints not found, you need to create PCB elements for them and repeat this step until you get no errors. Or, just run gsch2pcb again and it will shift unfound elements to foo.new.pcb and you can proceed using PCB on foo.pcb if you wish to fix the errors from inside of PCB. 4) Run "pcb foo.pcb". All the elements will be stacked on top of each other, so move them to desired locations. Load the netlist file foo.net and proceed with using PCB. 5) Modify foo.sch and again run "gsch2pcb foo.sch". * If components were added, PCB elements for them will be placed in the file foo.new.pcb. If components were deleted, the elements for them will be removed from foo.pcb and the original foo.pcb will be renamed to a foo.pcb.bak sequence. * If elements can't be found for new schematic footprints, then the unfound elements will be indicated with PKG_ lines in foo.new.pcb unless you run "gsch2pcb --remove-unfound foo.sch" which will omit the PKG_ lines so you can go ahead and load foo.new.pcb into PCB. * Note that If you have added elements to the .pcb layout which will not exist on the schematics (mounting holes, etc), make sure there is no "name on PCB" (the gschem refdes) for them or else gsch2pcb will delete them when they don't match a schematic refdes and footprint. You could use the --preserve option to prevent deleting any elements at all, but this is really not the best way to use gsch2pcb. 6) Run "pcb foo.pcb" and clean up any dangling traces left over from removed elements. Load any new elements in foo.new.pcb with the "Load layout data to paste-buffer" function. Load the new netlist foo.net. Caveats ------- * gsch2pcb uses a gnetlist backend gnet-gsch2pcb.scm, so be sure when you install gsch2pcb that the gnet-gsch2pcb.scm file gets installed into the right place. Look at the INSTALL file in the tarball. * WARNING: if you wish to start processing with gsch2pcb any existing PCB files that have m4 elements and were originally generated with gschem2pcb, then be sure to run first with at least gsch2pcb 0.4: gsch2pcb --fix-elements on the PCB file schematics or else gsch2pcb will want to delete the m4 elements. * footprint information is saved into PCB element's Description fields, so it's probably not a good idea to change element Description values in your layout while using gsch2pcb unless it is a protected element that has an empty layout-name. Bill Wilson billw@wt.net lepton-eda-1.9.16/utils/sch2pcb/docs/lepton-sch2pcb.10000644000175000017500000001402514101262653017104 00000000000000.TH lepton-sch2pcb 1 "July 31, 2021" "Lepton EDA" 1.9.16.20210731 .SH NAME lepton-sch2pcb - Update PCB layouts from Lepton EDA schematics .SH SYNOPSIS \fBlepton-sch2pcb\fR [\fIOPTION\fR ...] {\fIPROJECT\fR | \fIFILE\fR ...} .SH DESCRIPTION .PP \fBlepton-sch2pcb\fR is a frontend to \fBlepton-netlist\fR(1) which aids in creating and updating \fBpcb\fR(1) printed circuit board layouts based on a set of electronic schematics created with \fBlepton-schematic\fR(1). .PP Instead of specifying all options and input schematic \fIFILE\fRs on the command line, \fBlepton-sch2pcb\fR can use a \fIPROJECT\fR file instead. .PP \fBlepton-sch2pcb\fR first runs \fBlepton-netlist\fR(1) with the `PCB' backend (or backend specified by --backend-net) to create a `.net' file containing a \fBpcb\fR(1) formatted netlist for the design. .PP The second step is to run \fBlepton-netlist\fR(1) again with the `gsch2pcb' backend (or backend specified by --backend-pcb) to find any \fBM4\fR(1) elements required by the schematics. Any missing elements are found by searching a set of file element directories. If no `.pcb' file exists for the design yet, it is created with the required elements; otherwise, any new elements are output to a `.new.pcb' file. .PP If a `.pcb' file exists, it is searched for elements with a non-empty element name with no matching schematic symbol. These elements are removed from the `.pcb' file, with a backup in a `.pcb.bak' file. .PP Finally, \fBlepton-netlist\fR(1) is run a third time with the `pcbpins' backend (or backend specified by --backend-cmd) to create a `.cmd' file. This can be loaded into \fBpcb\fR(1) to rename all pin names in the PCB layout to match the schematic. .SH OPTIONS .TP 8 \fB-o\fR, \fB--output-name\fR=\fIBASENAME\fR Use output filenames `\fIBASENAME\fR.net', `\fIBASENAME\fR.pcb', and `\fIBASENAME\fR.new.pcb'. By default, the basename of the first schematic file in the list of input files is used. .TP 8 \fB-d\fR, \fB--elements-dir\fR=\fIDIRECTORY\fR Add \fIDIRECTORY\fR to the list of directories to search for PCB file elements. By default, the following directories are searched if they exist: `./packages', `/usr/local/share/pcb/newlib', `/usr/share/pcb/newlib', `/usr/local/lib/pcb_lib', `/usr/lib/pcb_lib', `/usr/local/pcb_lib'. .TP 8 \fB-f\fR, \fB--use-files\fR Force use of file elements in preference to elements generated with \fBM4\fR(1). .TP 8 \fB-s\fR, \fB--skip-m4\fR Disable element generation using \fBM4\fR(1) entirely. .TP 8 \fB--m4-file\fR \fIFILE\fR Use the \fBM4\fR(1) file \fIFILE\fR in addition to the default M4 files `./pcb.inc' and `~/.pcb/pcb.inc'. .TP 8 \fB--m4-pcbdir\fR \fIDIRECTORY\fR Set \fIDIRECTORY\fR as the directory where \fBlepton-sch2pcb\fR should look for \fBM4\fR(1) files installed by \fBpcb\fR(1). .TP 8 \fB-r\fR, \fB--remove-unfound\fR Don't include references to unfound elements in the generated `.pcb' files. Use if you want \fBpcb\fR(1) to be able to load the (incomplete) `.pcb' file. This is enabled by default. .TP 8 \fB-k\fR, \fB--keep-unfound\fR Keep include references to unfound elements in the generated `.pcb' files. Use if you want to hand edit or otherwise preprocess the generated `.pcb' file before running \fBpcb\fR(1). .TP 8 \fB-p\fR, \fB--preserve\fR Preserve elements in PCB files which are not found in the schematics. Since elements with an empty element name (schematic "refdes") are never deleted, this option is rarely useful. .TP 8 \fB--backend-cmd\fR \fIBACKEND\fR Use \fIBACKEND\fR to generate `.cmd' file instead of the default one (`pcbpins'). .TP 8 \fB--backend-net\fR \fIBACKEND\fR Use \fIBACKEND\fR to generate `.net' file instead of the default one (`PCB'). .TP 8 \fB--backend-pcb\fR \fIBACKEND\fR Use \fIBACKEND\fR to generate `.pcb' file instead of the default one (`gsch2pcb'). .TP 8 \fB--gnetlist\fR \fIBACKEND\fR In addition to the default backends, run \fBlepton-netlist\fR(1) with `\-g \fIBACKEND\fR', with output to `.\fIBACKEND\fR'. .TP 8 \fB--gnetlist-arg\fR \fIARG\fR Pass \fIARG\fR as an additional argument to \fBlepton-netlist\fR(1). .TP 8 \fB--empty-footprint\fR \fINAME\fR If \fINAME\fR is not `none', \fBlepton-sch2pcb\fR will not add elements for components with that name to the PCB file. Note that if the omitted components have net connections, they will still appear in the netlist and \fBpcb\fR(1) will warn that they are missing. .TP 8 \fB--fix-elements\fR If a schematic component's `footprint' attribute is not equal to the `Description' of the corresponding PCB element, update the `Description' instead of replacing the element. .TP 8 \fB-q\fR, \fB--quiet\fR Don't output information on steps to take after running \fBlepton-sch2pcb\fR. .TP 8 \fB-v\fR, \fB--verbose\fR Output extra debugging information. This option can be specified twice (`\-v \-v') to obtain additional debugging for file elements. .TP 8 \fB-h\fR, \fB--help\fR Print a help message. .TP 8 \fB-V\fR, \fB--version\fR Print \fBlepton-sch2pcb\fR version information. .SH PROJECT FILES .PP A \fBlepton-sch2pcb\fR project file is a file (not ending in `.sch') containing a list of schematics to process and some options. Any long-form command line option can appear in the project file with the leading `\-\-' removed, with the exception of `\-\-gnetlist-arg', `\-\-fix-elements', `\-\-verbose', and `\-\-version'. Schematics should be listed on a line beginning with `schematics'. .PP An example project file might look like: .nf schematics partA.sch partB.sch output-name design .ad b .SH ENVIRONMENT .TP 8 .B NETLISTER specifies the \fBnetlister\fR(1) program to run. The default is `lepton-netlist'. .SH AUTHOR Bill Wilson .SH COPYRIGHT .nf Copyright \(co 2012-2017 gEDA Contributors. Copyright \(co 2017-2021 Lepton Developers. License GPLv2+: GNU GPL version 2 or later. Please see the `COPYING' file included with this program for full details. .PP This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. .SH SEE ALSO \fBlepton-schematic\fR(1), \fBlepton-netlist\fR(1), \fBpcb\fR(1) lepton-eda-1.9.16/utils/sch2pcb/docs/lepton-sch2pcb.1.in0000644000175000017500000001401214101257250017502 00000000000000.TH lepton-sch2pcb 1 "@DATE@" "Lepton EDA" @VERSION@ .SH NAME lepton-sch2pcb - Update PCB layouts from Lepton EDA schematics .SH SYNOPSIS \fBlepton-sch2pcb\fR [\fIOPTION\fR ...] {\fIPROJECT\fR | \fIFILE\fR ...} .SH DESCRIPTION .PP \fBlepton-sch2pcb\fR is a frontend to \fBlepton-netlist\fR(1) which aids in creating and updating \fBpcb\fR(1) printed circuit board layouts based on a set of electronic schematics created with \fBlepton-schematic\fR(1). .PP Instead of specifying all options and input schematic \fIFILE\fRs on the command line, \fBlepton-sch2pcb\fR can use a \fIPROJECT\fR file instead. .PP \fBlepton-sch2pcb\fR first runs \fBlepton-netlist\fR(1) with the `PCB' backend (or backend specified by --backend-net) to create a `.net' file containing a \fBpcb\fR(1) formatted netlist for the design. .PP The second step is to run \fBlepton-netlist\fR(1) again with the `gsch2pcb' backend (or backend specified by --backend-pcb) to find any \fBM4\fR(1) elements required by the schematics. Any missing elements are found by searching a set of file element directories. If no `.pcb' file exists for the design yet, it is created with the required elements; otherwise, any new elements are output to a `.new.pcb' file. .PP If a `.pcb' file exists, it is searched for elements with a non-empty element name with no matching schematic symbol. These elements are removed from the `.pcb' file, with a backup in a `.pcb.bak' file. .PP Finally, \fBlepton-netlist\fR(1) is run a third time with the `pcbpins' backend (or backend specified by --backend-cmd) to create a `.cmd' file. This can be loaded into \fBpcb\fR(1) to rename all pin names in the PCB layout to match the schematic. .SH OPTIONS .TP 8 \fB-o\fR, \fB--output-name\fR=\fIBASENAME\fR Use output filenames `\fIBASENAME\fR.net', `\fIBASENAME\fR.pcb', and `\fIBASENAME\fR.new.pcb'. By default, the basename of the first schematic file in the list of input files is used. .TP 8 \fB-d\fR, \fB--elements-dir\fR=\fIDIRECTORY\fR Add \fIDIRECTORY\fR to the list of directories to search for PCB file elements. By default, the following directories are searched if they exist: `./packages', `/usr/local/share/pcb/newlib', `/usr/share/pcb/newlib', `/usr/local/lib/pcb_lib', `/usr/lib/pcb_lib', `/usr/local/pcb_lib'. .TP 8 \fB-f\fR, \fB--use-files\fR Force use of file elements in preference to elements generated with \fBM4\fR(1). .TP 8 \fB-s\fR, \fB--skip-m4\fR Disable element generation using \fBM4\fR(1) entirely. .TP 8 \fB--m4-file\fR \fIFILE\fR Use the \fBM4\fR(1) file \fIFILE\fR in addition to the default M4 files `./pcb.inc' and `~/.pcb/pcb.inc'. .TP 8 \fB--m4-pcbdir\fR \fIDIRECTORY\fR Set \fIDIRECTORY\fR as the directory where \fBlepton-sch2pcb\fR should look for \fBM4\fR(1) files installed by \fBpcb\fR(1). .TP 8 \fB-r\fR, \fB--remove-unfound\fR Don't include references to unfound elements in the generated `.pcb' files. Use if you want \fBpcb\fR(1) to be able to load the (incomplete) `.pcb' file. This is enabled by default. .TP 8 \fB-k\fR, \fB--keep-unfound\fR Keep include references to unfound elements in the generated `.pcb' files. Use if you want to hand edit or otherwise preprocess the generated `.pcb' file before running \fBpcb\fR(1). .TP 8 \fB-p\fR, \fB--preserve\fR Preserve elements in PCB files which are not found in the schematics. Since elements with an empty element name (schematic "refdes") are never deleted, this option is rarely useful. .TP 8 \fB--backend-cmd\fR \fIBACKEND\fR Use \fIBACKEND\fR to generate `.cmd' file instead of the default one (`pcbpins'). .TP 8 \fB--backend-net\fR \fIBACKEND\fR Use \fIBACKEND\fR to generate `.net' file instead of the default one (`PCB'). .TP 8 \fB--backend-pcb\fR \fIBACKEND\fR Use \fIBACKEND\fR to generate `.pcb' file instead of the default one (`gsch2pcb'). .TP 8 \fB--gnetlist\fR \fIBACKEND\fR In addition to the default backends, run \fBlepton-netlist\fR(1) with `\-g \fIBACKEND\fR', with output to `.\fIBACKEND\fR'. .TP 8 \fB--gnetlist-arg\fR \fIARG\fR Pass \fIARG\fR as an additional argument to \fBlepton-netlist\fR(1). .TP 8 \fB--empty-footprint\fR \fINAME\fR If \fINAME\fR is not `none', \fBlepton-sch2pcb\fR will not add elements for components with that name to the PCB file. Note that if the omitted components have net connections, they will still appear in the netlist and \fBpcb\fR(1) will warn that they are missing. .TP 8 \fB--fix-elements\fR If a schematic component's `footprint' attribute is not equal to the `Description' of the corresponding PCB element, update the `Description' instead of replacing the element. .TP 8 \fB-q\fR, \fB--quiet\fR Don't output information on steps to take after running \fBlepton-sch2pcb\fR. .TP 8 \fB-v\fR, \fB--verbose\fR Output extra debugging information. This option can be specified twice (`\-v \-v') to obtain additional debugging for file elements. .TP 8 \fB-h\fR, \fB--help\fR Print a help message. .TP 8 \fB-V\fR, \fB--version\fR Print \fBlepton-sch2pcb\fR version information. .SH PROJECT FILES .PP A \fBlepton-sch2pcb\fR project file is a file (not ending in `.sch') containing a list of schematics to process and some options. Any long-form command line option can appear in the project file with the leading `\-\-' removed, with the exception of `\-\-gnetlist-arg', `\-\-fix-elements', `\-\-verbose', and `\-\-version'. Schematics should be listed on a line beginning with `schematics'. .PP An example project file might look like: .nf schematics partA.sch partB.sch output-name design .ad b .SH ENVIRONMENT .TP 8 .B NETLISTER specifies the \fBnetlister\fR(1) program to run. The default is `lepton-netlist'. .SH AUTHOR Bill Wilson .SH COPYRIGHT .nf Copyright \(co 2012-2017 gEDA Contributors. Copyright \(co 2017-@YEAR@ Lepton Developers. License GPLv2+: GNU GPL version 2 or later. Please see the `COPYING' file included with this program for full details. .PP This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. .SH SEE ALSO \fBlepton-schematic\fR(1), \fBlepton-netlist\fR(1), \fBpcb\fR(1) lepton-eda-1.9.16/utils/sch2pcb/Makefile.in0000644000175000017500000005464514101262632015325 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = utils/sch2pcb ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/guile.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lepton-assert.m4 \ $(top_srcdir)/m4/lepton-attrib.m4 \ $(top_srcdir)/m4/lepton-awk.m4 \ $(top_srcdir)/m4/lepton-cairo.m4 \ $(top_srcdir)/m4/lepton-contrib.m4 \ $(top_srcdir)/m4/lepton-data-dirs.m4 \ $(top_srcdir)/m4/lepton-desktop-i18n.m4 \ $(top_srcdir)/m4/lepton-desktop.m4 \ $(top_srcdir)/m4/lepton-doxygen.m4 \ $(top_srcdir)/m4/lepton-gcc-flags.m4 \ $(top_srcdir)/m4/lepton-git-version.m4 \ $(top_srcdir)/m4/lepton-git.m4 \ $(top_srcdir)/m4/lepton-groff.m4 \ $(top_srcdir)/m4/lepton-guile.m4 \ $(top_srcdir)/m4/lepton-host.m4 \ $(top_srcdir)/m4/lepton-stroke.m4 \ $(top_srcdir)/m4/lepton-uri-viewer.m4 \ $(top_srcdir)/m4/lepton-windows.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/liblepton.m4 \ $(top_srcdir)/m4/libleptonattrib.m4 \ $(top_srcdir)/m4/libleptongui.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pcb-data-dirs.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir distdir-am am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITMAP_DIRECTORY = @BITMAP_DIRECTORY@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@ CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@ CAIRO_PNG_CFLAGS = @CAIRO_PNG_CFLAGS@ CAIRO_PNG_LIBS = @CAIRO_PNG_LIBS@ CAIRO_PS_CFLAGS = @CAIRO_PS_CFLAGS@ CAIRO_PS_LIBS = @CAIRO_PS_LIBS@ CAIRO_SVG_CFLAGS = @CAIRO_SVG_CFLAGS@ CAIRO_SVG_LIBS = @CAIRO_SVG_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE_VERSION = @DATE_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DESKTOP_I18N = @DESKTOP_I18N@ DESKTOP_I18N_CREATE = @DESKTOP_I18N_CREATE@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@ DESKTOP_I18N_SCRIPT = @DESKTOP_I18N_SCRIPT@ DLLTOOL = @DLLTOOL@ DOT = @DOT@ DOTTED_VERSION = @DOTTED_VERSION@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GDK_CFLAGS = @GDK_CFLAGS@ GDK_LIBS = @GDK_LIBS@ GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@ GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@ GETTEXT = @GETTEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GIT = @GIT@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GROFF = @GROFF@ GTKEXTRA_CFLAGS = @GTKEXTRA_CFLAGS@ GTKEXTRA_LIBS = @GTKEXTRA_LIBS@ GTKSHEET_CFLAGS = @GTKSHEET_CFLAGS@ GTKSHEET_LIBS = @GTKSHEET_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GUILD = @GUILD@ GUILE = @GUILE@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@ GUILE_LDFLAGS = @GUILE_LDFLAGS@ GUILE_LIBS = @GUILE_LIBS@ GUILE_LTLIBS = @GUILE_LTLIBS@ GUILE_PKG_NAME = @GUILE_PKG_NAME@ GUILE_SNARF = @GUILE_SNARF@ GUILE_TOOLS = @GUILE_TOOLS@ HAVE_GIT_REPO = @HAVE_GIT_REPO@ ICON_THEME_INSTALLER = @ICON_THEME_INSTALLER@ INKSCAPE = @INKSCAPE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEPTONDATADIR = @LEPTONDATADIR@ LEPTON_SCHEME_MODULE_DIRECTORY = @LEPTON_SCHEME_MODULE_DIRECTORY@ LEPTON_SCM_PRECOMPILE_DIR = @LEPTON_SCM_PRECOMPILE_DIR@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBLEPTONATTRIB_MAJOR = @LIBLEPTONATTRIB_MAJOR@ LIBLEPTONATTRIB_SHLIB_VERSION = @LIBLEPTONATTRIB_SHLIB_VERSION@ LIBLEPTONGUI_MAJOR = @LIBLEPTONGUI_MAJOR@ LIBLEPTONGUI_SHLIB_VERSION = @LIBLEPTONGUI_SHLIB_VERSION@ LIBLEPTON_GETTEXT_DOMAIN = @LIBLEPTON_GETTEXT_DOMAIN@ LIBLEPTON_MAJOR = @LIBLEPTON_MAJOR@ LIBLEPTON_SHLIB_VERSION = @LIBLEPTON_SHLIB_VERSION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSTROKE_CPPFLAGS = @LIBSTROKE_CPPFLAGS@ LIBSTROKE_LDFLAGS = @LIBSTROKE_LDFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ M4 = @M4@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MINGW_CFLAGS = @MINGW_CFLAGS@ MINGW_GUI_LDFLAGS = @MINGW_GUI_LDFLAGS@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCBDATADIR = @PCBDATADIR@ PCBLIBPATH = @PCBLIBPATH@ PCBM4DIR = @PCBM4DIR@ PDFLATEX = @PDFLATEX@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ URI_VIEWER = @URI_VIEWER@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDOWS_LIBTOOL_FLAGS = @WINDOWS_LIBTOOL_FLAGS@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = src examples docs all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/sch2pcb/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign utils/sch2pcb/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ check-am clean clean-generic clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ps ps-am tags tags-am uninstall uninstall-am .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/sch2pcb/examples/0000755000175000017500000000000014101262653015143 500000000000000lepton-eda-1.9.16/utils/sch2pcb/examples/Makefile.am0000644000175000017500000000007314101257250017114 00000000000000EXTRA_DIST = project.sample first.sch second.sch third.sch lepton-eda-1.9.16/utils/sch2pcb/examples/second.sch0000644000175000017500000000171514101257250017036 00000000000000v 20050820 1 C 29900 52500 1 90 0 resistor-1.sym { T 29600 52700 5 10 1 1 90 0 1 refdes=R8 T 30100 52700 5 10 1 1 90 0 1 footprint=RESC2012N T 30300 52700 5 10 1 1 90 0 1 value=10k } C 30600 53900 1 0 0 resistor-1.sym { T 30800 54200 5 10 1 1 0 0 1 refdes=R9 T 30800 53700 5 10 1 1 0 0 1 footprint=RESC2012N T 30800 53500 5 10 1 1 0 0 1 value=10k } N 29800 53400 29800 54000 4 N 29800 54000 30600 54000 4 N 31500 54000 33100 54000 4 N 32300 53400 32300 54000 4 N 29800 51800 34800 51800 4 N 32300 51800 32300 52500 4 C 29700 51100 1 0 0 gnd-1.sym N 29800 51400 29800 52500 4 C 33100 53900 1 0 0 resistor-1.sym { T 33300 54200 5 10 1 1 0 0 1 refdes=R10 T 33300 53700 5 10 1 1 0 0 1 footprint=RESC2012N T 33300 53500 5 10 1 1 0 0 1 value=10k } N 34000 54000 34800 54000 4 N 34800 51800 34800 54000 4 C 32500 52500 1 90 0 capacitor-1.sym { T 32000 52700 5 10 1 1 90 0 1 refdes=C1 T 32700 52700 5 10 1 1 90 0 1 footprint=CAPC3216N T 32900 52700 5 10 1 1 90 0 1 value=0.01 uF } lepton-eda-1.9.16/utils/sch2pcb/examples/Makefile.in0000644000175000017500000004034714101262632017135 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = utils/sch2pcb/examples ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/guile.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lepton-assert.m4 \ $(top_srcdir)/m4/lepton-attrib.m4 \ $(top_srcdir)/m4/lepton-awk.m4 \ $(top_srcdir)/m4/lepton-cairo.m4 \ $(top_srcdir)/m4/lepton-contrib.m4 \ $(top_srcdir)/m4/lepton-data-dirs.m4 \ $(top_srcdir)/m4/lepton-desktop-i18n.m4 \ $(top_srcdir)/m4/lepton-desktop.m4 \ $(top_srcdir)/m4/lepton-doxygen.m4 \ $(top_srcdir)/m4/lepton-gcc-flags.m4 \ $(top_srcdir)/m4/lepton-git-version.m4 \ $(top_srcdir)/m4/lepton-git.m4 \ $(top_srcdir)/m4/lepton-groff.m4 \ $(top_srcdir)/m4/lepton-guile.m4 \ $(top_srcdir)/m4/lepton-host.m4 \ $(top_srcdir)/m4/lepton-stroke.m4 \ $(top_srcdir)/m4/lepton-uri-viewer.m4 \ $(top_srcdir)/m4/lepton-windows.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/liblepton.m4 \ $(top_srcdir)/m4/libleptonattrib.m4 \ $(top_srcdir)/m4/libleptongui.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pcb-data-dirs.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITMAP_DIRECTORY = @BITMAP_DIRECTORY@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@ CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@ CAIRO_PNG_CFLAGS = @CAIRO_PNG_CFLAGS@ CAIRO_PNG_LIBS = @CAIRO_PNG_LIBS@ CAIRO_PS_CFLAGS = @CAIRO_PS_CFLAGS@ CAIRO_PS_LIBS = @CAIRO_PS_LIBS@ CAIRO_SVG_CFLAGS = @CAIRO_SVG_CFLAGS@ CAIRO_SVG_LIBS = @CAIRO_SVG_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE_VERSION = @DATE_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DESKTOP_I18N = @DESKTOP_I18N@ DESKTOP_I18N_CREATE = @DESKTOP_I18N_CREATE@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@ DESKTOP_I18N_SCRIPT = @DESKTOP_I18N_SCRIPT@ DLLTOOL = @DLLTOOL@ DOT = @DOT@ DOTTED_VERSION = @DOTTED_VERSION@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GDK_CFLAGS = @GDK_CFLAGS@ GDK_LIBS = @GDK_LIBS@ GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@ GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@ GETTEXT = @GETTEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GIT = @GIT@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GROFF = @GROFF@ GTKEXTRA_CFLAGS = @GTKEXTRA_CFLAGS@ GTKEXTRA_LIBS = @GTKEXTRA_LIBS@ GTKSHEET_CFLAGS = @GTKSHEET_CFLAGS@ GTKSHEET_LIBS = @GTKSHEET_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GUILD = @GUILD@ GUILE = @GUILE@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@ GUILE_LDFLAGS = @GUILE_LDFLAGS@ GUILE_LIBS = @GUILE_LIBS@ GUILE_LTLIBS = @GUILE_LTLIBS@ GUILE_PKG_NAME = @GUILE_PKG_NAME@ GUILE_SNARF = @GUILE_SNARF@ GUILE_TOOLS = @GUILE_TOOLS@ HAVE_GIT_REPO = @HAVE_GIT_REPO@ ICON_THEME_INSTALLER = @ICON_THEME_INSTALLER@ INKSCAPE = @INKSCAPE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEPTONDATADIR = @LEPTONDATADIR@ LEPTON_SCHEME_MODULE_DIRECTORY = @LEPTON_SCHEME_MODULE_DIRECTORY@ LEPTON_SCM_PRECOMPILE_DIR = @LEPTON_SCM_PRECOMPILE_DIR@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBLEPTONATTRIB_MAJOR = @LIBLEPTONATTRIB_MAJOR@ LIBLEPTONATTRIB_SHLIB_VERSION = @LIBLEPTONATTRIB_SHLIB_VERSION@ LIBLEPTONGUI_MAJOR = @LIBLEPTONGUI_MAJOR@ LIBLEPTONGUI_SHLIB_VERSION = @LIBLEPTONGUI_SHLIB_VERSION@ LIBLEPTON_GETTEXT_DOMAIN = @LIBLEPTON_GETTEXT_DOMAIN@ LIBLEPTON_MAJOR = @LIBLEPTON_MAJOR@ LIBLEPTON_SHLIB_VERSION = @LIBLEPTON_SHLIB_VERSION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSTROKE_CPPFLAGS = @LIBSTROKE_CPPFLAGS@ LIBSTROKE_LDFLAGS = @LIBSTROKE_LDFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ M4 = @M4@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MINGW_CFLAGS = @MINGW_CFLAGS@ MINGW_GUI_LDFLAGS = @MINGW_GUI_LDFLAGS@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCBDATADIR = @PCBDATADIR@ PCBLIBPATH = @PCBLIBPATH@ PCBM4DIR = @PCBM4DIR@ PDFLATEX = @PDFLATEX@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ URI_VIEWER = @URI_VIEWER@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDOWS_LIBTOOL_FLAGS = @WINDOWS_LIBTOOL_FLAGS@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = project.sample first.sch second.sch third.sch all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/sch2pcb/examples/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign utils/sch2pcb/examples/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags-am uninstall uninstall-am .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/sch2pcb/examples/project.sample0000644000175000017500000001036214101257250017733 00000000000000# Sample poject file for gsch2pcb versions >= 1.0 # # A project file may be named anything that does not end in ".sch" and placed # in your schematics and PCB working directory. Then, running: # gsch2pcb project.sample # is all that is required to process gschem schematic footprint and value # attribute changes into usable PCB files. See the README and/or # run "gsch2pcb --help" for additional information. # # Some settings (elements-dir, use-files, m4-command, m4-pcbdir, and # m4-file) are candidates for placing in a ~/.gsch2pcb file so they can # be in effect for all projects by an individual user. CAD administrators # can make appropriate settings site wide for all users by placing them # in /etc/gsch2pcb or /usr/local/etc/gsch2pcb. # List all the schematics to be netlisted and layed out on the pc board. # schematics first.sch second.sch third.sch # For an output-name of foo, gsch2pcb generates files foo.net, foo.pcb, # and foo.new.pcb. If there is no output-name specified, the file names # are derived from the first listed schematic, ie first.net, etc # output-name foo # ---------- Project options related to PCB file elements ---------------- # gsch2pcb automatically searches for PCB file elements in /usr/local/pcb_lib # and ./packages (which may be a symlinks). For additional local file element # directories, uncomment and edit elements-dir lines. # #elements-dir ~/gaf/pcb-elements #elements-dir /usr/local/share/pcb/newlib # The default is to invoke M4 for PCB footprints. Starting with the # 20070208 snapshot of PCB, the footprints which were generated with m4 # are available as newlib footprints. If you wish to never invoke m4 # then set this variable. # #skip-m4 # If "skip-m4" is not specified, the default is to search for gschem footprints # first in PCB m4 files and if not found, then in PCB newlib style file # element directories. Uncomment the use-files line to force using any # found file elements even though a m4 element may have been found first. # If skip-m4 is specified, then m4 is never run at all and use-files doesn't # really do anything. #use-files # ------------- Project options related to PCB m4 files ------------------- # These options require gnetlist version >= 20030901 # # The default m4 command is "m4". This can specify a different command. # #m4-command gm4 # The m4-pcbdir specifies where the PCB installation has its m4 database of # elements. It is the directory where the PCB "common.m4" file is expected # to be found. The default is /usr/X11R6/lib/X11/pcb/m4, so uncomment and # edit the following m4-pcbdir line if your PCB install is elsewhere. # #m4-pcbdir /usr/X11R6/lib/X11/pcb/m4 # gsch2pcb will automatically check for the additional m4 files ./pcb.inc # and ~/.pcb/pcb.inc, but for other local m4 files, uncomment and edit # m4-file lines. # #m4-file /usr/local/share/pcb/pcb.inc #m4-file /usr/share/pcb/pcb.inc # ------------- Other project options ------------------- # # As a convenience gsch2pcb can run extra gnetlist backend commands. # For example, to create a partslist file myproject.partslist3: # #gnetlist partslist3 # # To create a partslist with a specified output file name board.parts: # #gnetlist partslist3 -o board.parts # The default gsch2pcb behavior is to skip with a warning any components # with a footprint=none attribute. So the "none" footprint can serve as a # generic place holder where multiple real footprints are candidates and the # gsch2pcb warning serves as a reminder that some real footprint should # be chosen. # However, if it is intended that components with a "none" footprint should # not be in the layout, you can suppress the warnings by specifying it as # the empty-footprint: # #empty-footprint none # # If you assign a name other than "none" to empty-footprint, then components # with that name will be omitted instead and you will need to use the verbose # option to see any warnings. This is just a convenience way to have symbols # in a schematic which will not be mounted on the PC board and to shut up # gsch2pcb warnings about it. But note that if you make net connections # to these symbols, they will be in the netlist and PCB will warn if the # netlist is loaded. So, maybe connections to such parts should be drawn # with a graphical line and not a net? lepton-eda-1.9.16/utils/sch2pcb/examples/third.sch0000644000175000017500000000133614101257250016674 00000000000000v 20050820 1 C 30500 53900 1 0 0 resistor-1.sym { T 30700 54200 5 10 1 1 0 0 1 refdes=R1 T 30700 53700 5 10 1 1 0 0 1 footprint=RESC2012N T 30700 53500 5 10 1 1 0 0 1 value=10k } N 29800 51800 32300 51800 4 N 32300 51800 32300 52500 4 C 29700 51100 1 0 0 gnd-1.sym C 32500 52500 1 90 0 capacitor-1.sym { T 32000 52700 5 10 1 1 90 0 1 refdes=C2 T 32700 52700 5 10 1 1 90 0 1 footprint=CAPC3216N T 32900 52700 5 10 1 1 90 0 1 value=0.01 uF } C 29600 53400 1 0 1 header3-1.sym { T 29200 54700 5 10 1 1 0 6 1 refdes=J1 T 28600 53600 5 10 1 1 90 2 1 footprint=MTA100_2 } N 29600 53600 29800 53600 4 N 29800 51400 29800 53600 4 N 29600 54000 30500 54000 4 N 29600 54400 32300 54400 4 N 32300 53400 32300 54400 4 N 31400 54000 32300 54000 4 lepton-eda-1.9.16/utils/sch2pcb/examples/first.sch0000644000175000017500000000311514101257250016706 00000000000000v 20050820 1 C 29900 52500 1 90 0 resistor-1.sym { T 29600 52700 5 10 1 1 90 0 1 refdes=R1 T 30100 52700 5 10 1 1 90 0 1 footprint=RESC2012N T 30300 52700 5 10 1 1 90 0 1 value=10k } C 32400 52500 1 90 0 resistor-1.sym { T 32100 52700 5 10 1 1 90 0 1 refdes=R3 T 32600 52700 5 10 1 1 90 0 1 footprint=RESC2012N T 32800 52700 5 10 1 1 90 0 1 value=20k } C 30600 53900 1 0 0 resistor-1.sym { T 30800 54200 5 10 1 1 0 0 1 refdes=R2 T 30800 53700 5 10 1 1 0 0 1 footprint=RESC2012N T 30800 53500 5 10 1 1 0 0 1 value=10k } N 29800 53400 29800 54000 4 N 29800 54000 30600 54000 4 N 31500 54000 33100 54000 4 N 32300 53400 32300 54000 4 N 29800 51800 34800 51800 4 N 32300 51800 32300 52500 4 C 29700 51100 1 0 0 gnd-1.sym N 29800 51400 29800 52500 4 C 33100 53900 1 0 0 resistor-1.sym { T 33300 54200 5 10 1 1 0 0 1 refdes=R4 T 33300 53700 5 10 1 1 0 0 1 footprint=RESC2012N T 33300 53500 5 10 1 1 0 0 1 value=10k } N 34000 54000 35600 54000 4 N 34800 53400 34800 54000 4 C 34900 52500 1 90 0 resistor-1.sym { T 34600 52700 5 10 1 1 90 0 1 refdes=R5 T 35100 52700 5 10 1 1 90 0 1 footprint=RESC2012N T 35300 52700 5 10 1 1 90 0 1 value=20k } N 34800 51800 34800 52500 4 C 35600 53900 1 0 0 resistor-1.sym { T 35800 54200 5 10 1 1 0 0 1 refdes=R6 T 35800 53700 5 10 1 1 0 0 1 footprint=RESC2012N T 35800 53500 5 10 1 1 0 0 1 value=10k } N 36500 54000 37300 54000 4 C 37400 52500 1 90 0 resistor-1.sym { T 37100 52700 5 10 1 1 90 0 1 refdes=R7 T 37600 52700 5 10 1 1 90 0 1 footprint=RESC2012N T 37800 52700 5 10 1 1 90 0 1 value=20k } N 32300 51800 37300 51800 4 N 37300 51800 37300 52500 4 N 37300 53400 37300 54000 4 lepton-eda-1.9.16/utils/sch2pcb/src/0000755000175000017500000000000014101262653014114 500000000000000lepton-eda-1.9.16/utils/sch2pcb/src/Makefile.am0000644000175000017500000000060114101257250016062 00000000000000bin_PROGRAMS = lepton-sch2pcb lepton_sch2pcb_SOURCES = lepton-sch2pcb.c lepton_sch2pcb_CPPFLAGS = \ -DPCBM4DIR=\"$(PCBM4DIR)\" \ -DPCBLIBPATH=\"$(PCBLIBPATH)\" \ -I$(top_srcdir) lepton_sch2pcb_CFLAGS = $(GLIB_CFLAGS) lepton_sch2pcb_LDFLAGS = $(GLIB_LIBS) AM_CFLAGS = $(GCC_CFLAGS) $(MINGW_CFLAGS) AM_CPPFLAGS = -I$(top_srcdir)/liblepton/include \ -I$(top_srcdir) -I$(includedir) lepton-eda-1.9.16/utils/sch2pcb/src/Makefile.in0000644000175000017500000006457214101262632016114 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ bin_PROGRAMS = lepton-sch2pcb$(EXEEXT) subdir = utils/sch2pcb/src ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/guile.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lepton-assert.m4 \ $(top_srcdir)/m4/lepton-attrib.m4 \ $(top_srcdir)/m4/lepton-awk.m4 \ $(top_srcdir)/m4/lepton-cairo.m4 \ $(top_srcdir)/m4/lepton-contrib.m4 \ $(top_srcdir)/m4/lepton-data-dirs.m4 \ $(top_srcdir)/m4/lepton-desktop-i18n.m4 \ $(top_srcdir)/m4/lepton-desktop.m4 \ $(top_srcdir)/m4/lepton-doxygen.m4 \ $(top_srcdir)/m4/lepton-gcc-flags.m4 \ $(top_srcdir)/m4/lepton-git-version.m4 \ $(top_srcdir)/m4/lepton-git.m4 \ $(top_srcdir)/m4/lepton-groff.m4 \ $(top_srcdir)/m4/lepton-guile.m4 \ $(top_srcdir)/m4/lepton-host.m4 \ $(top_srcdir)/m4/lepton-stroke.m4 \ $(top_srcdir)/m4/lepton-uri-viewer.m4 \ $(top_srcdir)/m4/lepton-windows.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/liblepton.m4 \ $(top_srcdir)/m4/libleptonattrib.m4 \ $(top_srcdir)/m4/libleptongui.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pcb-data-dirs.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__installdirs = "$(DESTDIR)$(bindir)" PROGRAMS = $(bin_PROGRAMS) am_lepton_sch2pcb_OBJECTS = lepton_sch2pcb-lepton-sch2pcb.$(OBJEXT) lepton_sch2pcb_OBJECTS = $(am_lepton_sch2pcb_OBJECTS) lepton_sch2pcb_LDADD = $(LDADD) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = lepton_sch2pcb_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(lepton_sch2pcb_CFLAGS) $(CFLAGS) $(lepton_sch2pcb_LDFLAGS) \ $(LDFLAGS) -o $@ AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/build-tools/depcomp am__maybe_remake_depfiles = depfiles am__depfiles_remade = ./$(DEPDIR)/lepton_sch2pcb-lepton-sch2pcb.Po am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(lepton_sch2pcb_SOURCES) DIST_SOURCES = $(lepton_sch2pcb_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in \ $(top_srcdir)/build-tools/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITMAP_DIRECTORY = @BITMAP_DIRECTORY@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@ CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@ CAIRO_PNG_CFLAGS = @CAIRO_PNG_CFLAGS@ CAIRO_PNG_LIBS = @CAIRO_PNG_LIBS@ CAIRO_PS_CFLAGS = @CAIRO_PS_CFLAGS@ CAIRO_PS_LIBS = @CAIRO_PS_LIBS@ CAIRO_SVG_CFLAGS = @CAIRO_SVG_CFLAGS@ CAIRO_SVG_LIBS = @CAIRO_SVG_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE_VERSION = @DATE_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DESKTOP_I18N = @DESKTOP_I18N@ DESKTOP_I18N_CREATE = @DESKTOP_I18N_CREATE@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@ DESKTOP_I18N_SCRIPT = @DESKTOP_I18N_SCRIPT@ DLLTOOL = @DLLTOOL@ DOT = @DOT@ DOTTED_VERSION = @DOTTED_VERSION@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GDK_CFLAGS = @GDK_CFLAGS@ GDK_LIBS = @GDK_LIBS@ GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@ GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@ GETTEXT = @GETTEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GIT = @GIT@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GROFF = @GROFF@ GTKEXTRA_CFLAGS = @GTKEXTRA_CFLAGS@ GTKEXTRA_LIBS = @GTKEXTRA_LIBS@ GTKSHEET_CFLAGS = @GTKSHEET_CFLAGS@ GTKSHEET_LIBS = @GTKSHEET_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GUILD = @GUILD@ GUILE = @GUILE@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@ GUILE_LDFLAGS = @GUILE_LDFLAGS@ GUILE_LIBS = @GUILE_LIBS@ GUILE_LTLIBS = @GUILE_LTLIBS@ GUILE_PKG_NAME = @GUILE_PKG_NAME@ GUILE_SNARF = @GUILE_SNARF@ GUILE_TOOLS = @GUILE_TOOLS@ HAVE_GIT_REPO = @HAVE_GIT_REPO@ ICON_THEME_INSTALLER = @ICON_THEME_INSTALLER@ INKSCAPE = @INKSCAPE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEPTONDATADIR = @LEPTONDATADIR@ LEPTON_SCHEME_MODULE_DIRECTORY = @LEPTON_SCHEME_MODULE_DIRECTORY@ LEPTON_SCM_PRECOMPILE_DIR = @LEPTON_SCM_PRECOMPILE_DIR@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBLEPTONATTRIB_MAJOR = @LIBLEPTONATTRIB_MAJOR@ LIBLEPTONATTRIB_SHLIB_VERSION = @LIBLEPTONATTRIB_SHLIB_VERSION@ LIBLEPTONGUI_MAJOR = @LIBLEPTONGUI_MAJOR@ LIBLEPTONGUI_SHLIB_VERSION = @LIBLEPTONGUI_SHLIB_VERSION@ LIBLEPTON_GETTEXT_DOMAIN = @LIBLEPTON_GETTEXT_DOMAIN@ LIBLEPTON_MAJOR = @LIBLEPTON_MAJOR@ LIBLEPTON_SHLIB_VERSION = @LIBLEPTON_SHLIB_VERSION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSTROKE_CPPFLAGS = @LIBSTROKE_CPPFLAGS@ LIBSTROKE_LDFLAGS = @LIBSTROKE_LDFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ M4 = @M4@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MINGW_CFLAGS = @MINGW_CFLAGS@ MINGW_GUI_LDFLAGS = @MINGW_GUI_LDFLAGS@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCBDATADIR = @PCBDATADIR@ PCBLIBPATH = @PCBLIBPATH@ PCBM4DIR = @PCBM4DIR@ PDFLATEX = @PDFLATEX@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ URI_VIEWER = @URI_VIEWER@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDOWS_LIBTOOL_FLAGS = @WINDOWS_LIBTOOL_FLAGS@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ lepton_sch2pcb_SOURCES = lepton-sch2pcb.c lepton_sch2pcb_CPPFLAGS = \ -DPCBM4DIR=\"$(PCBM4DIR)\" \ -DPCBLIBPATH=\"$(PCBLIBPATH)\" \ -I$(top_srcdir) lepton_sch2pcb_CFLAGS = $(GLIB_CFLAGS) lepton_sch2pcb_LDFLAGS = $(GLIB_LIBS) AM_CFLAGS = $(GCC_CFLAGS) $(MINGW_CFLAGS) AM_CPPFLAGS = -I$(top_srcdir)/liblepton/include \ -I$(top_srcdir) -I$(includedir) all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/sch2pcb/src/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign utils/sch2pcb/src/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ for p in $$list; do echo "$$p $$p"; done | \ sed 's/$(EXEEXT)$$//' | \ while read p p1; do if test -f $$p \ || test -f $$p1 \ ; then echo "$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n;h' \ -e 's|.*|.|' \ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) files[d] = files[d] " " $$1; \ else { print "f", $$3 "/" $$4, $$1; } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ -e 's/$$/$(EXEEXT)/' \ `; \ test -n "$$list" || exit 0; \ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(bindir)" && rm -f $$files clean-binPROGRAMS: @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ echo " rm -f" $$list; \ rm -f $$list || exit $$?; \ test -n "$(EXEEXT)" || exit 0; \ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list lepton-sch2pcb$(EXEEXT): $(lepton_sch2pcb_OBJECTS) $(lepton_sch2pcb_DEPENDENCIES) $(EXTRA_lepton_sch2pcb_DEPENDENCIES) @rm -f lepton-sch2pcb$(EXEEXT) $(AM_V_CCLD)$(lepton_sch2pcb_LINK) $(lepton_sch2pcb_OBJECTS) $(lepton_sch2pcb_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lepton_sch2pcb-lepton-sch2pcb.Po@am__quote@ # am--include-marker $(am__depfiles_remade): @$(MKDIR_P) $(@D) @echo '# dummy' >$@-t && $(am__mv) $@-t $@ am--depfiles: $(am__depfiles_remade) .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< lepton_sch2pcb-lepton-sch2pcb.o: lepton-sch2pcb.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lepton_sch2pcb_CPPFLAGS) $(CPPFLAGS) $(lepton_sch2pcb_CFLAGS) $(CFLAGS) -MT lepton_sch2pcb-lepton-sch2pcb.o -MD -MP -MF $(DEPDIR)/lepton_sch2pcb-lepton-sch2pcb.Tpo -c -o lepton_sch2pcb-lepton-sch2pcb.o `test -f 'lepton-sch2pcb.c' || echo '$(srcdir)/'`lepton-sch2pcb.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lepton_sch2pcb-lepton-sch2pcb.Tpo $(DEPDIR)/lepton_sch2pcb-lepton-sch2pcb.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lepton-sch2pcb.c' object='lepton_sch2pcb-lepton-sch2pcb.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lepton_sch2pcb_CPPFLAGS) $(CPPFLAGS) $(lepton_sch2pcb_CFLAGS) $(CFLAGS) -c -o lepton_sch2pcb-lepton-sch2pcb.o `test -f 'lepton-sch2pcb.c' || echo '$(srcdir)/'`lepton-sch2pcb.c lepton_sch2pcb-lepton-sch2pcb.obj: lepton-sch2pcb.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lepton_sch2pcb_CPPFLAGS) $(CPPFLAGS) $(lepton_sch2pcb_CFLAGS) $(CFLAGS) -MT lepton_sch2pcb-lepton-sch2pcb.obj -MD -MP -MF $(DEPDIR)/lepton_sch2pcb-lepton-sch2pcb.Tpo -c -o lepton_sch2pcb-lepton-sch2pcb.obj `if test -f 'lepton-sch2pcb.c'; then $(CYGPATH_W) 'lepton-sch2pcb.c'; else $(CYGPATH_W) '$(srcdir)/lepton-sch2pcb.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lepton_sch2pcb-lepton-sch2pcb.Tpo $(DEPDIR)/lepton_sch2pcb-lepton-sch2pcb.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lepton-sch2pcb.c' object='lepton_sch2pcb-lepton-sch2pcb.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lepton_sch2pcb_CPPFLAGS) $(CPPFLAGS) $(lepton_sch2pcb_CFLAGS) $(CFLAGS) -c -o lepton_sch2pcb-lepton-sch2pcb.obj `if test -f 'lepton-sch2pcb.c'; then $(CYGPATH_W) 'lepton-sch2pcb.c'; else $(CYGPATH_W) '$(srcdir)/lepton-sch2pcb.c'; fi` mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) installdirs: for dir in "$(DESTDIR)$(bindir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f ./$(DEPDIR)/lepton_sch2pcb-lepton-sch2pcb.Po -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-binPROGRAMS install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f ./$(DEPDIR)/lepton_sch2pcb-lepton-sch2pcb.Po -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binPROGRAMS .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ clean-binPROGRAMS clean-generic clean-libtool cscopelist-am \ ctags ctags-am distclean distclean-compile distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-binPROGRAMS \ install-data install-data-am install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags tags-am uninstall uninstall-am uninstall-binPROGRAMS .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/sch2pcb/src/lepton-sch2pcb.c0000644000175000017500000014351414101257250017030 00000000000000/* gsch2pcb * Copyright (C) 2003-2016 gEDA Contributors * Copyright (C) 2017-2021 Lepton EDA Contributors * * Bill Wilson billw@wt.net * * This program is free software which I release under the GNU General Public * License. You may redistribute and/or modify this program under the terms * of that license as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. Version 2 is in the * COPYRIGHT file in the top level directory of this distribution. * * To get a copy of the GNU General Puplic License, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include #include #include #include #include #include #include #include #include #define DEFAULT_PCB_INC "pcb.inc" #define SEP_STRING "--------\n" typedef struct { gchar *refdes, *value, *description, *changed_description, *changed_value; gchar *flags, *tail; gchar *x, *y; gchar *pkg_name_fix; gchar res_char; gboolean still_exists, new_format, hi_res_format, quoted_flags, omit_PKG; } PcbElement; typedef struct { gchar *part_number, *element_name; } ElementMap; static GList *pcb_element_list, *element_directory_list, *extra_gnetlist_list, *extra_gnetlist_arg_list; /* --backend-cmd: * backend that generates .cmd file: */ static gchar* backend_mkfile_cmd = NULL; static const gchar* backend_mkfile_cmd_default = "pcbpins"; /* --backend-net: * backend that generates .net file: */ static gchar* backend_mkfile_net = NULL; static const gchar* backend_mkfile_net_default = "PCB"; /* --backend-pcb: * backend that generates .pcb, .pcb.new files: */ static gchar* backend_mkfile_pcb = NULL; static const gchar* backend_mkfile_pcb_default = "gsch2pcb"; static gchar *sch_basename; static GList *schematics; static const gchar* m4_override_file; static gchar *m4_pcbdir, *default_m4_pcbdir, *m4_files; static gboolean use_m4 = TRUE; static gchar *empty_footprint_name; static gint verbose, n_deleted, n_added_m4, n_added_ef, n_fixed, n_PKG_removed_new, n_PKG_removed_old, n_preserved, n_changed_value, n_not_found, n_unknown, n_none, n_empty; static gboolean remove_unfound_elements = TRUE, quiet_mode = FALSE, force_element_files, preserve, fix_elements, bak_done, need_PKG_purge; static void create_m4_override_file () { FILE *f; m4_override_file = "gnet-gsch2pcb-tmp.scm"; f = fopen (m4_override_file, "wb"); if (!f) { m4_override_file = NULL; return; } if (m4_pcbdir) fprintf (f, "(define gsch2pcb:pcb-m4-dir \"%s\")\n", m4_pcbdir); if (m4_files) fprintf (f, "(define gsch2pcb:m4-files \"%s\")\n", m4_files); fprintf (f, "(define gsch2pcb:use-m4 %s)\n", use_m4 == TRUE ? "#t" : "#f"); fclose (f); if (verbose) { printf ("Default m4-pcbdir: %s\n", default_m4_pcbdir); printf ("--------\ngnet-gsch2pcb-tmp.scm override file:\n"); if (m4_pcbdir) printf (" (define gsch2pcb:pcb-m4-dir \"%s\")\n", m4_pcbdir); if (m4_files) printf (" (define gsch2pcb:m4-files \"%s\")\n", m4_files); printf (" (define gsch2pcb:use-m4 %s)\n", use_m4 == TRUE ? "#t" : "#f"); } } /** * Build and run a command. No redirection or error handling is * done. Format string is split on whitespace. Specifiers %l and %s * are replaced with contents of positional args. To be recognized, * specifiers must be separated from other arguments in the format by * whitespace. * - %l expects a GList, contents used as separate arguments * - %s expects a gchar*, contents used as a single argument * @param[in] format used to specify command to be executed * @param[in] ... positional parameters */ static gboolean build_and_run_command (const gchar *format, ...) { va_list vargs; gchar ** split; GList *tmp = NULL; gint num_split; gint i; gint status; gboolean result = FALSE; gboolean spawn_result; gchar *standard_output = NULL; gchar *standard_error = NULL; GError * error = NULL; va_start (vargs, format); split = g_strsplit_set (format, " \t\n\v", 0); num_split = g_strv_length (split); for (i = 0; i < num_split; ++i) { gchar *chunk = split[i]; if (strcmp (chunk, "%l") == 0) { /* append contents of list into command args - shared data */ tmp = g_list_concat (tmp, g_list_copy (va_arg (vargs, GList*))); } else if (strcmp (chunk, "%s") == 0) { /* insert contents of string into output */ tmp = g_list_append (tmp, va_arg (vargs, gchar*)); } else { /* bare string, use as is */ tmp = g_list_append (tmp, chunk); } } va_end (vargs); if (tmp) { /* we have something in the list, build & call command */ GList *p; gint i = 0; gchar ** args = g_new0 (gchar*, g_list_length (tmp) + 1/* NULL terminate the list */); if (verbose) printf ("Running command:\n\t"); for (p = tmp; p; p = g_list_next (p)) { args[i++] = (gchar*) p->data; if (verbose) printf ("%s ", (char*)p->data); } if (verbose) printf ("\n%s", SEP_STRING); if (g_spawn_sync (".", /* Working directory */ args, /* argv */ NULL, /* envp */ G_SPAWN_SEARCH_PATH, /* flags */ NULL, /* child_setup */ NULL, /* user data */ &standard_output, /* standard output */ &standard_error, /* standard error */ &status, /* exit status return */ &error)) { /* GError return */ if (verbose) fputs(standard_output, stdout); if (status == 0) result = TRUE; else { if (standard_error) fputs(standard_error, stderr); } } else { fprintf(stderr, "Failed to execute external program: %s\n", error->message); g_error_free(error); } if (verbose) printf ("\n%s", SEP_STRING); g_free(standard_error); g_free (standard_output); g_free (args); /* free the list, but leave data untouched */ g_list_free (tmp); } g_strfreev (split); return result; } /* Run gnetlist to generate a netlist and a PCB board file. gnetlist * has exit status of 0 even if it's given an invalid arg, so do some * stat() hoops to decide if gnetlist successfully generated the PCB * board file (only gnetlist >= 20030901 recognizes -m). */ static gboolean run_gnetlist (gchar * pins_file, gchar * net_file, gchar * pcb_file, gchar * basename, GList * largs) { struct stat st; time_t mtime; static const gchar *gnetlist = NULL; GList *list = NULL; GList *verboseList = NULL; GList *args1 = NULL; /* Allow the user to specify a full path or a different name for * the gnetlist command. Especially useful if multiple copies * are installed at once. */ if (gnetlist == NULL) gnetlist = g_getenv ("NETLISTER"); if (gnetlist == NULL) gnetlist = "lepton-netlist"; if (!verbose) verboseList = g_list_append (verboseList, (gpointer) "-q"); if (!build_and_run_command ("%s %l -g %s -o %s %l %l", gnetlist, verboseList, backend_mkfile_cmd ? backend_mkfile_cmd : backend_mkfile_cmd_default, pins_file, extra_gnetlist_arg_list, largs)) return FALSE; if (!build_and_run_command ("%s %l -g %s -o %s %l %l", gnetlist, verboseList, backend_mkfile_net ? backend_mkfile_net : backend_mkfile_net_default, net_file, extra_gnetlist_arg_list, largs)) return FALSE; create_m4_override_file (); if (m4_override_file) { args1 = g_list_append (args1, (gpointer) "-m"); args1 = g_list_append (args1, (gpointer) m4_override_file); } mtime = (stat (pcb_file, &st) == 0) ? st.st_mtime : 0; if (!build_and_run_command ("%s %l -g %s -o %s %l %l %l", gnetlist, verboseList, backend_mkfile_pcb ? backend_mkfile_pcb : backend_mkfile_pcb_default, pcb_file, args1, extra_gnetlist_arg_list, largs)) { if (stat (pcb_file, &st) != 0 || mtime == st.st_mtime) { fprintf (stderr, "lepton-sch2pcb: netlister command failed, `%s' not updated\n", pcb_file ); if (m4_override_file) fprintf (stderr, " At least gnetlist 20030901 is required for m4-xxx options.\n"); return FALSE; } return FALSE; } if (m4_override_file) unlink (m4_override_file); for (list = extra_gnetlist_list; list; list = g_list_next (list)) { const gchar *s = (gchar *) list->data; const gchar *s2 = strstr (s, " -o "); gchar *out_file; gchar *backend; if (!s2) { out_file = g_strconcat (basename, ".", s, NULL); backend = g_strdup (s); } else { out_file = g_strdup (s2 + 4); backend = g_strndup (s, s2 - s); } if (!build_and_run_command ("%s %l -g %s -o %s %l %l", gnetlist, verboseList, backend, out_file, extra_gnetlist_arg_list, largs)) return FALSE; g_free (out_file); g_free (backend); } g_list_free (args1); g_list_free (verboseList); return TRUE; } static gchar * token (gchar * string, gchar ** next, gboolean * quoted_ret) { static gchar *str; gchar *s, *ret; gboolean quoted = FALSE; if (string) str = string; if (!str || !*str) { if (next) *next = str; return g_strdup (""); } while (*str == ' ' || *str == '\t' || *str == ',' || *str == '\n') ++str; if (*str == '"') { quoted = TRUE; if (quoted_ret) *quoted_ret = TRUE; ++str; for (s = str; *s && *s != '"' && *s != '\n'; ++s); } else { if (quoted_ret) *quoted_ret = FALSE; for (s = str; *s && (*s != ' ' && *s != '\t' && *s != ',' && *s != '\n'); ++s); } ret = g_strndup (str, s - str); str = (quoted && *s) ? s + 1 : s; if (next) *next = str; return ret; } static gchar * fix_spaces (gchar * str) { gchar *s; if (!str) return NULL; for (s = str; *s; ++s) if (*s == ' ' || *s == '\t') *s = '_'; return str; } /* As of 1/9/2004 CVS hi_res Element[] line format: * Element[element_flags, description, pcb-name, value, mark_x, mark_y, * text_x, text_y, text_direction, text_scale, text_flags] * New PCB 1.7 / 1.99 Element() line format: * Element(element_flags, description, pcb-name, value, mark_x, mark_y, * text_x, text_y, text_direction, text_scale, text_flags) * Old PCB 1.6 Element() line format: * Element(element_flags, description, pcb-name, value, * text_x, text_y, text_direction, text_scale, text_flags) * * (mark_x, mark_y) is the element position (mark) and (text_x,text_y) * is the description text position which is absolute in pre 1.7 and * is now relative. The hi_res mark_x,mark_y and text_x,text_y resolutions * are 100x the other formats. */ PcbElement * pcb_element_line_parse (gchar * line) { PcbElement *el = NULL; gchar *s, *t, close_char; gint state = 0, elcount = 0; if (strncmp (line, "Element", 7)) return NULL; el = g_new0 (PcbElement, 1); s = line + 7; while (*s == ' ' || *s == '\t') ++s; if (*s == '[') el->hi_res_format = TRUE; else if (*s != '(') { g_free (el); return NULL; } el->res_char = el->hi_res_format ? '[' : '('; close_char = el->hi_res_format ? ']' : ')'; el->flags = token (s + 1, NULL, &el->quoted_flags); el->description = token (NULL, NULL, NULL); el->refdes = token (NULL, NULL, NULL); el->value = token (NULL, NULL, NULL); el->x = token (NULL, NULL, NULL); el->y = token (NULL, &t, NULL); el->tail = g_strdup (t ? t : ""); if ((s = strrchr (el->tail, (gint) '\n')) != NULL) *s = '\0'; /* Count the tokens in tail to decide if it's new or old format. * Old format will have 3 tokens, new format will have 5 tokens. */ for (s = el->tail; *s && *s != close_char; ++s) { if (*s != ' ') { if (state == 0) ++elcount; state = 1; } else state = 0; } if (elcount > 4) el->new_format = TRUE; fix_spaces (el->description); fix_spaces (el->refdes); fix_spaces (el->value); /* Don't allow elements with no refdes to ever be deleted because * they may be desired pc board elements not in schematics. So * initialize still_exists to TRUE if empty or non-alphanumeric * refdes. */ if (!*el->refdes || !isalnum ((gint) (*el->refdes))) el->still_exists = TRUE; return el; } static void pcb_element_free (PcbElement * el) { if (!el) return; g_free (el->flags); g_free (el->description); g_free (el->changed_description); g_free (el->changed_value); g_free (el->refdes); g_free (el->value); g_free (el->x); g_free (el->y); g_free (el->tail); g_free (el->pkg_name_fix); g_free (el); } static void get_pcb_element_list (gchar * pcb_file) { FILE *f; PcbElement *el; gchar *s, buf[1024]; if ((f = fopen (pcb_file, "r")) == NULL) return; while ((fgets (buf, sizeof (buf), f)) != NULL) { for (s = buf; *s == ' ' || *s == '\t'; ++s); if (!strncmp (s, "PKG_", 4)) { need_PKG_purge = TRUE; continue; } if ((el = pcb_element_line_parse (s)) == NULL) continue; pcb_element_list = g_list_append (pcb_element_list, el); } fclose (f); } static PcbElement * pcb_element_exists (PcbElement * el_test, gboolean record) { GList *list; PcbElement *el; for (list = pcb_element_list; list; list = g_list_next (list)) { el = (PcbElement *) list->data; if (strcmp (el_test->refdes, el->refdes)) continue; if (strcmp (el_test->description, el->description)) { /* footprint */ if (record) el->changed_description = g_strdup (el_test->description); } else { if (record) { if (strcmp (el_test->value, el->value)) el->changed_value = g_strdup (el_test->value); el->still_exists = TRUE; } return el; } } return NULL; } /* A problem is that new PCB 1.7 file elements have the * (mark_x,mark_y) value set to wherever the element was created and * no equivalent of a gschem translate symbol was done. * * So, file elements inserted can be scattered over a big area and * this is bad when loading a file.new.pcb into an existing PC * board. So, do a simple translate if (mark_x,mark_y) is * (arbitrarily) over 1000. I'll assume that for values < 1000 the * element creator was concerned with a sane initial element * placement. Unless someone has a better idea? Don't bother with * pre PCB 1.7 formats as that would require parsing the mark(). * Current m4 elements use the old format but they seem to have a * reasonable initial mark(). */ static void simple_translate (PcbElement * el) { el->x=strdup("0"); el->y=strdup("0"); } static gboolean insert_element (FILE * f_out, gchar * element_file, gchar * footprint, gchar * refdes, gchar * value) { FILE *f_in; PcbElement *el; gchar *fmt, *s, buf[1024]; gboolean retval = FALSE; if ((f_in = fopen (element_file, "r")) == NULL) { s = g_strdup_printf ("insert_element() can't open %s", element_file); perror (s); g_free (s); return FALSE; } /* Scan the file to detect whether it's actually a PCB * layout. Assumes that a PCB layout will have a "PCB" line. */ while ((fgets (buf, sizeof (buf), f_in)) != NULL) { for (s = buf; *s == ' ' || *s == '\t'; ++s); s[3] = 0; /* Truncate line */ if (strncmp ("PCB", s, sizeof (buf)) == 0) { printf ("Warning: %s appears to be a PCB layout file. Skipping.\n", element_file); fclose (f_in); return FALSE; } } rewind (f_in); /* Copy the file element lines. Substitute new parameters into the * Element() or Element[] line and strip comments. */ while ((fgets (buf, sizeof (buf), f_in)) != NULL) { for (s = buf; *s == ' ' || *s == '\t'; ++s); if ((el = pcb_element_line_parse (s)) != NULL) { simple_translate (el); fmt = (gchar*) (el->quoted_flags ? "Element%c\"%s\" \"%s\" \"%s\" \"%s\" %s %s%s\n" : "Element%c%s \"%s\" \"%s\" \"%s\" %s %s%s\n"); fprintf (f_out, fmt, el->res_char, el->flags, footprint, refdes, value, el->x, el->y, el->tail); retval = TRUE; } else if (*s != '#') fputs (buf, f_out); pcb_element_free (el); } fclose (f_in); return retval; } gchar * find_element (gchar * dir_path, gchar * element) { GDir *dir; gchar *path, *name, *s, *found = NULL; if ((dir = g_dir_open (dir_path, 0, NULL)) == NULL) { s = g_strdup_printf ("find_element can't open dir \"%s\"", dir_path); perror (s); g_free (s); return NULL; } if (verbose > 1) printf ("\t Searching: \"%s\" for \"%s\"\n", dir_path, element); while ((name = (gchar *) g_dir_read_name (dir)) != NULL) { path = g_strconcat (dir_path, "/", name, NULL); found = NULL; /* if we got a directory name, then recurse down into it */ if (g_file_test (path, G_FILE_TEST_IS_DIR)) found = find_element (path, element); /* otherwise assume it is a file and see if it is the one we want */ else { if (verbose > 1) printf ("\t : %s\t", name); if (!strcmp (name, element)) found = g_strdup (path); else { gchar *tmps; tmps = g_strconcat (element, ".fp", NULL); if (!strcmp (name, tmps)) found = g_strdup (path); g_free (tmps); } if (verbose > 1) printf ("%s\n", found ? "Yes" : "No"); } g_free (path); if (found) break; } g_dir_close (dir); return found; } gchar * search_element_directories (PcbElement * el) { GList *list; gchar *s, *elname = NULL, *dir_path, *path = NULL; gint n1, n2; /* See comment before pkg_to_element() */ if (el->pkg_name_fix) { if (strchr (el->description, '-')) { n1 = strlen (el->description); n2 = strlen (el->pkg_name_fix); s = el->description + n1 - n2 - 1; // printf("n1=%d n2=%d desc:%s fix:%s s:%s\n", // n1, n2, el->description, el->pkg_name_fix, s); if (n1 > 0 && n2 < n1 && *s == '-' && *(s + 1) == *el->pkg_name_fix) { s = g_strndup (el->description, n1 - n2 - 1); elname = g_strconcat (s, " ", el->pkg_name_fix, NULL); g_free (s); } } if (!elname) { printf ("Warning: argument passing may have been confused by\n"); printf (" a comma in a component value:\n"); printf (" Check %s %s %s\n", el->refdes, el->description, el->value); printf (" Maybe just use a space instead of a comma?\n"); } } if (!elname) elname = g_strdup (el->description); if (!strcmp (elname, "unknown")) { g_free (elname); return NULL; } if (verbose > 1) printf ("\tSearching directories looking for file element: %s\n", elname); for (list = element_directory_list; list; list = g_list_next (list)) { dir_path = (gchar *) list->data; if (verbose > 1) printf ("\tLooking in directory: \"%s\"\n", dir_path); path = find_element (dir_path, elname); if (path) { if (verbose) printf ("\tFound: %s\n", path); break; } } g_free (elname); return path; } /* The gnetlist backend gnet-gsch2pcb.scm generates PKG_ lines: * * PKG_footprint(footprint{-fp0-fp1},refdes,value{,fp0,fp1}) * * where fp1 and fp2 (if they exist) are the extra footprint * components when specifying footprints like "DIL 14 300". This is * needed for m4 macros. * * A complication is if the footprint references a file element with * spaces embedded in the name. The gnetlist backend will interpret * these as fp0, fp1, ... args and the footprint will in this case * incorrectly have '-' inserted where the spaces should be. So, if * there are additional args, reconstruct the portion of the name * given by the args with spaces for later use. Eg. if the footprint * is "100 Pin jack", we will have * * PKG_100-Pin-jack(100-Pin-jack,refdes,value,Pin,jack) * * So put "Pin jack" into pkg_name_fix so if this element is searched * as a file element we can munge the description to what it should * be, eg: * * 100-Pin-jack -> 100 Pin jack */ static PcbElement * pkg_to_element (FILE * f, gchar * pkg_line) { PcbElement *el; gchar **args, *s; gint n, n_extra_args, n_dashes; if (strncmp (pkg_line, "PKG_", 4) || (s = strchr (pkg_line, (gint) '(')) == NULL) return NULL; args = g_strsplit (s + 1, ",", 12); if (!args[0] || !args[1] || !args[2]) { fprintf (stderr, "Bad package line: %s\n", pkg_line); return NULL; } fix_spaces (args[0]); fix_spaces (args[1]); fix_spaces (args[2]); el = g_new0 (PcbElement, 1); el->description = g_strdup (args[0]); el->refdes = g_strdup (args[1]); el->value = g_strdup (args[2]); if ((s = strchr (el->value, (gint) ')')) != NULL) *s = '\0'; /* If the component value has a comma, eg "1k, 1%", the gnetlist generated * PKG line will be * * PKG_XXX(`R0w8',`R100',`1k, 1%'), * * but after processed by m4, the input to gsch2pcb will be * * PKG_XXX(R0w8,R100,1k, 1%). * * So the quoting info has been lost when processing for file * elements. So here try to detect and fix this. But I can't * handle the situation where the description has a '-' and the * value has a comma because gnet-gsch2pcb.scm munges the * description with '-' when there are extra args. */ for (n_extra_args = 0; args[3 + n_extra_args] != NULL; ++n_extra_args); s = el->description; for (n_dashes = 0; (s = strchr (s + 1, '-')) != NULL; ++n_dashes); n = 3; if (n_extra_args == n_dashes + 1) { /* Assume there was a comma in the value, eg "1K, 1%" */ s = el->value; el->value = g_strconcat (s, ",", fix_spaces (args[n]), NULL); g_free (s); if ((s = strchr (el->value, (gint) ')')) != NULL) *s = '\0'; n = 4; } if (args[n]) { el->pkg_name_fix = g_strdup (args[n]); for (n += 1; args[n] != NULL; ++n) { s = el->pkg_name_fix; el->pkg_name_fix = g_strconcat (s, " ", args[n], NULL); g_free (s); } if ((s = strchr (el->pkg_name_fix, (gint) ')')) != NULL) *s = '\0'; } g_strfreev (args); if (empty_footprint_name && !strcmp (el->description, empty_footprint_name)) { if (verbose) printf ("%s: has the empty footprint attribute \"%s\" so won't be in the layout.\n", el->refdes, el->description); n_empty += 1; el->omit_PKG = TRUE; } else if (!strcmp (el->description, "none")) { fprintf (stderr, "WARNING: %s has a footprint attribute \"%s\" so won't be in the layout.\n", el->refdes, el->description); n_none += 1; el->omit_PKG = TRUE; } else if (!strcmp (el->description, "unknown")) { fprintf (stderr, "WARNING: %s has no footprint attribute so won't be in the layout.\n", el->refdes); n_unknown += 1; el->omit_PKG = TRUE; } return el; } /* Process the newly created pcb file which is the output from * gnetlist -g gsch2pcb ... * * It will have elements found via the m4 interface and PKG_ lines for * elements not found. Insert pcb file elements for PKG_ lines if * file elements can be found. If there was an existing pcb file, * strip out any elements if they are already present so that the new * pcb file will only have new elements. */ static gint add_elements (gchar * pcb_file) { FILE *f_in, *f_out; PcbElement *el = NULL; gchar *command, *p, *tmp_file, *s, buf[1024]; gint total, paren_level = 0; gboolean is_m4, skipping = FALSE; if ((f_in = fopen (pcb_file, "r")) == NULL) return 0; tmp_file = g_strconcat (pcb_file, ".tmp", NULL); if ((f_out = fopen (tmp_file, "wb")) == NULL) { fclose (f_in); g_free (tmp_file); return 0; } while ((fgets (buf, sizeof (buf), f_in)) != NULL) { for (s = buf; *s == ' ' || *s == '\t'; ++s); if (skipping) { if (*s == '(') ++paren_level; else if (*s == ')' && --paren_level <= 0) skipping = FALSE; continue; } is_m4 = FALSE; if ((el = pcb_element_line_parse (s)) != NULL) is_m4 = TRUE; else el = pkg_to_element (f_out, s); if (el && pcb_element_exists (el, TRUE)) { skipping = is_m4; pcb_element_free (el); continue; } if (!el || el->omit_PKG) { if (el) { } else fputs (buf, f_out); continue; } if (!is_m4 || (is_m4 && force_element_files)) { if (verbose && !is_m4) printf ("%s: need new file element for footprint %s (value=%s)\n", el->refdes, el->description, el->value); if (verbose && is_m4 && force_element_files) printf ("%s: have m4 element %s, but trying to replace with a file element.\n", el->refdes, el->description); p = search_element_directories (el); if (!p && verbose && is_m4 && force_element_files) printf ("\tNo file element found.\n"); if (p && insert_element (f_out, p, el->description, el->refdes, el->value)) { skipping = is_m4; is_m4 = FALSE; ++n_added_ef; if (verbose) printf ("%s: added new file element for footprint %s (value=%s)\n", el->refdes, el->description, el->value); } else if (!is_m4) { fprintf (stderr, "%s: can't find PCB element for footprint %s (value=%s)\n", el->refdes, el->description, el->value); if (remove_unfound_elements && !fix_elements) { fprintf (stderr, "So device %s will not be in the layout.\n", el->refdes); ++n_PKG_removed_new; } else { ++n_not_found; fputs (buf, f_out); /* Copy PKG_ line */ } } g_free (p); } if (is_m4) { fputs (buf, f_out); ++n_added_m4; if (verbose) printf ("%s: added new m4 element for footprint %s (value=%s)\n", el->refdes, el->description, el->value); } pcb_element_free (el); if (verbose) printf ("----\n"); } fclose (f_in); fclose (f_out); total = n_added_ef + n_added_m4 + n_not_found; if (total == 0) build_and_run_command ("rm %s", tmp_file); else build_and_run_command ("mv %s %s", tmp_file, pcb_file); g_free (tmp_file); return total; } static void update_element_descriptions (gchar * pcb_file, gchar * bak) { FILE *f_in, *f_out; GList *list; PcbElement *el, *el_exists; gchar *fmt, *command, *tmp, *s, buf[1024]; for (list = pcb_element_list; list; list = g_list_next (list)) { el = (PcbElement *) list->data; if (el->changed_description) ++n_fixed; } if (!pcb_element_list || n_fixed == 0) { fprintf (stderr, "Could not find any elements to fix.\n"); return; } if ((f_in = fopen (pcb_file, "r")) == NULL) return; tmp = g_strconcat (pcb_file, ".tmp", NULL); if ((f_out = fopen (tmp, "wb")) == NULL) { fclose (f_in); return; } while ((fgets (buf, sizeof (buf), f_in)) != NULL) { for (s = buf; *s == ' ' || *s == '\t'; ++s); if ((el = pcb_element_line_parse (s)) != NULL && (el_exists = pcb_element_exists (el, FALSE)) != NULL && el_exists->changed_description) { fmt = (gchar*) (el->quoted_flags ? "Element%c\"%s\" \"%s\" \"%s\" \"%s\" %s %s%s\n" : "Element%c%s \"%s\" \"%s\" \"%s\" %s %s%s\n"); fprintf (f_out, fmt, el->res_char, el->flags, el_exists->changed_description, el->refdes, el->value, el->x, el->y, el->tail); printf ("%s: updating element Description: %s -> %s\n", el->refdes, el->description, el_exists->changed_description); el_exists->still_exists = TRUE; } else fputs (buf, f_out); pcb_element_free (el); } fclose (f_in); fclose (f_out); if (!bak_done) { build_and_run_command ("mv %s %s", pcb_file, bak); bak_done = TRUE; } build_and_run_command ("mv %s %s", tmp, pcb_file); g_free (tmp); } static void prune_elements (gchar * pcb_file, gchar * bak) { FILE *f_in, *f_out; GList *list; PcbElement *el, *el_exists; gchar *fmt, *command, *tmp, *s, buf[1024]; gint paren_level = 0; gboolean skipping = FALSE; for (list = pcb_element_list; list; list = g_list_next (list)) { el = (PcbElement *) list->data; if (!el->still_exists) { if (preserve) { ++n_preserved; fprintf (stderr, "Preserving PCB element not in the schematic: %s (element %s)\n", el->refdes, el->description); } else ++n_deleted; } else if (el->changed_value) ++n_changed_value; } if (!pcb_element_list || (n_deleted == 0 && !need_PKG_purge && n_changed_value == 0) ) return; if ((f_in = fopen (pcb_file, "r")) == NULL) return; tmp = g_strconcat (pcb_file, ".tmp", NULL); if ((f_out = fopen (tmp, "wb")) == NULL) { fclose (f_in); return; } while ((fgets (buf, sizeof (buf), f_in)) != NULL) { for (s = buf; *s == ' ' || *s == '\t'; ++s); if (skipping) { if (*s == '(') ++paren_level; else if (*s == ')' && --paren_level <= 0) skipping = FALSE; continue; } el_exists = NULL; if ((el = pcb_element_line_parse (s)) != NULL && (el_exists = pcb_element_exists (el, FALSE)) != NULL && !el_exists->still_exists && !preserve) { skipping = TRUE; if (verbose) printf ("%s: deleted element %s (value=%s)\n", el->refdes, el->description, el->value); pcb_element_free (el); continue; } if (el_exists && el_exists->changed_value) { fmt = (gchar*) (el->quoted_flags ? "Element%c\"%s\" \"%s\" \"%s\" \"%s\" %s %s%s\n" : "Element%c%s \"%s\" \"%s\" \"%s\" %s %s%s\n"); fprintf (f_out, fmt, el->res_char, el->flags, el->description, el->refdes, el_exists->changed_value, el->x, el->y, el->tail); if (verbose) printf ("%s: changed element %s value: %s -> %s\n", el->refdes, el->description, el->value, el_exists->changed_value); } else if (!strncmp (s, "PKG_", 4)) ++n_PKG_removed_old; else fputs (buf, f_out); pcb_element_free (el); } fclose (f_in); fclose (f_out); if (!bak_done) { build_and_run_command ("mv %s %s", pcb_file, bak); bak_done = TRUE; } build_and_run_command ("mv %s %s", tmp, pcb_file); g_free (tmp); } static void add_m4_file (const gchar * arg) { gchar *s; if (!m4_files) m4_files = g_strdup (arg); else { s = m4_files; m4_files = g_strconcat (m4_files, " ", arg, NULL); g_free (s); } } static gchar * expand_dir (gchar * dir) { gchar *s; if (dir == NULL) return NULL; if (*dir == '~') s = g_build_filename ((gchar *) g_get_home_dir (), dir + 1, NULL); else s = g_strdup (dir); return s; } static void add_default_m4_files (void) { gchar *path; path = g_build_filename ((gchar *) g_get_home_dir (), ".pcb", DEFAULT_PCB_INC, NULL); if (g_file_test (path, G_FILE_TEST_IS_REGULAR)) add_m4_file (path); g_free (path); if (g_file_test (DEFAULT_PCB_INC, G_FILE_TEST_IS_REGULAR)) add_m4_file (DEFAULT_PCB_INC); } static void add_schematic (gchar * sch) { const gchar* s; schematics = g_list_append (schematics, g_strdup (sch)); if (!sch_basename && (s = g_strrstr (sch, ".sch")) != NULL && strlen(s) == 4) sch_basename = g_strndup (sch, s - sch); } static void add_multiple_schematics (gchar * sch) { /* parse the string using shell semantics */ gint count; gchar** args = NULL; GError* error = NULL; if (g_shell_parse_argv (sch, &count, &args, &error)) { int i; for (i = 0; i < count; ++i) { add_schematic (args[i]); } g_strfreev (args); } else { fprintf (stderr, "invalid `schematics' option: %s\n", error->message); g_error_free (error); } } static gint parse_config (gchar * config, gchar * arg) { gchar *s; /* remove trailing white space otherwise strange things can happen */ if ((arg != NULL) && (strlen (arg) >= 1)) { s = arg + strlen (arg) - 1; while ((*s == ' ' || *s == '\t') && (s != arg)) s--; s++; *s = '\0'; } if (verbose) printf (" %s \"%s\"\n", config, arg ? arg : ""); if (!strcmp (config, "remove-unfound") || !strcmp (config, "r")) { /* This is default behavior set in header section */ remove_unfound_elements = TRUE; return 0; } if (!strcmp (config, "keep-unfound") || !strcmp (config, "k")) { remove_unfound_elements = FALSE; return 0; } if (!strcmp (config, "quiet") || !strcmp (config, "q")) { quiet_mode = TRUE; return 0; } if (!strcmp (config, "preserve") || !strcmp (config, "p")) { preserve = TRUE; return 0; } if (!strcmp (config, "use-files") || !strcmp (config, "f")) { force_element_files = TRUE; return 0; } if (!strcmp (config, "skip-m4") || !strcmp (config, "s")) { use_m4 = FALSE; return 0; } if (!strcmp (config, "elements-dir") || !strcmp (config, "d")) { gchar *elements_dir = expand_dir (arg); if (verbose > 1) printf ("\tAdding directory to file element directory list: %s\n", elements_dir); element_directory_list = g_list_prepend (element_directory_list, elements_dir); } else if (!strcmp (config, "output-name") || !strcmp (config, "o")) sch_basename = g_strdup (arg); else if (!strcmp (config, "schematics")) add_multiple_schematics (arg); else if (!strcmp (config, "m4-pcbdir")) { g_free (m4_pcbdir); m4_pcbdir = g_strdup (arg); } else if (!strcmp (config, "m4-file")) add_m4_file (arg); else if (!strcmp (config, "gnetlist")) extra_gnetlist_list = g_list_append (extra_gnetlist_list, g_strdup (arg)); else if (!strcmp (config, "empty-footprint")) empty_footprint_name = g_strdup (arg); else if (strcmp (config, "backend-cmd") == 0) { backend_mkfile_cmd = g_strdup (arg); } else if (strcmp (config, "backend-net") == 0) { backend_mkfile_net = g_strdup (arg); } else if (strcmp (config, "backend-pcb") == 0) { backend_mkfile_pcb = g_strdup (arg); } else return -1; return 1; } static void load_project (const gchar * path) { FILE *f; gchar *s, buf[1024], config[32], arg[768]; f = fopen (path, "r"); if (!f) return; if (verbose) printf ("Reading project file: %s\n", path); while (fgets (buf, sizeof (buf), f)) { for (s = buf; *s == ' ' || *s == '\t' || *s == '\n'; ++s); if (!*s || *s == '#' || *s == '/' || *s == ';') continue; arg[0] = '\0'; sscanf (s, "%31s %767[^\n]", config, arg); parse_config (config, arg); } fclose (f); } static void load_extra_project_files (void) { gchar *path; static gboolean done = FALSE; if (done) return; /* TODO: rename project files ("gsch2pcb") */ /* TODO: consider linking sch2pcb with liblepton and * using eda_get_system_config_dirs() here: */ load_project ("/etc/gsch2pcb"); load_project ("/usr/local/etc/gsch2pcb"); path = g_build_filename (g_get_user_config_dir(), PACKAGE, "gsch2pcb", NULL); load_project (path); g_free (path); done = TRUE; } static const gchar *usage_string0 = "usage: lepton-sch2pcb [options] {project | foo.sch [foo1.sch ...]}\n" "\n" "Generate a PCB layout file from a set of Lepton EDA schematics.\n" "\n" " 1) `lepton-netlist -g PCB` is run to generate foo.net from the schematics.\n" "\n" " 2) `lepton-netlist -g gsch2pcb` is run to get PCB m4 derived elements which\n" " match schematic footprints. For schematic footprints which don't match\n" " any PCB m4 layout elements, search a set of file element directories in\n" " an attempt to find matching PCB file elements.\n" " Output to foo.pcb if it doesn't exist. If there is a current foo.pcb,\n" " output only new elements to foo.new.pcb.\n" " If any elements with a non-empty element name in the current foo.pcb\n" " have no matching schematic component, then remove those elements from\n" " foo.pcb and rename foo.pcb to a foo.pcb.bak sequence.\n" "\n" " 3) `lepton-netlist -g pcbpins` is run to get a PCB actions file which will rename all\n" " of the pins in a .pcb file to match pin names from the schematic.\n" "\n" " \"project\" is a file (not ending in .sch) containing a list of\n" " schematics to process and some options. A schematics line is like:\n" " schematics foo1.sch foo2.sch ...\n" " Options in a project file are like command line args without the \"-\":\n" " output-name myproject\n" "\n" "Options (may be included in a project file):\n" " -d, --elements-dir D Search D for PCB file elements. These defaults\n" " are searched if they exist: ./packages,\n" " /usr/local/share/pcb/newlib, /usr/share/pcb/newlib,\n" " (old pcb) /usr/local/lib/pcb_lib, /usr/lib/pcb_lib,\n" " (old pcb) /usr/local/pcb_lib\n" " -o, --output-name N Use output file names N.net, N.pcb, and N.new.pcb\n" " instead of foo.net, ... where foo is the basename\n" " of the first command line .sch file.\n" " -f, --use-files Force using file elements over m4 PCB elements\n" " for new footprints even though m4 elements are\n" " searched for first and may have been found.\n" " -r, --remove-unfound Don't include references to unfound elements in\n" " the generated .pcb files. Use if you want PCB to\n" " be able to load the (incomplete) .pcb file.\n" " This is the default behavior.\n" " -k, --keep-unfound Keep include references to unfound elements in\n" " the generated .pcb files. Use if you want to hand\n" " edit or otherwise preprocess the generated .pcb file\n" " before running pcb.\n" " -p, --preserve Preserve elements in PCB files which are not found\n" " in the schematics. Note that elements with an empty\n" " element name (schematic refdes) are never deleted,\n" " so you really shouldn't need this option.\n" " -q, --quiet Don't tell the user what to do next after running lepton-sch2pcb.\n" "\n" " -s, --skip-m4 Skip m4 when looking for footprints. The default is to use\n" " m4 (which is what previous versions did).\n" " --m4-file F.inc Use m4 file F.inc in addition to the default m4\n" " files ./pcb.inc and ~/.pcb/pcb.inc.\n" " --m4-pcbdir D Use D as the PCB m4 files install directory\n" " instead of the default:\n"; static const gchar *usage_string1 = " --backend-cmd backend Backend that generates pins file (.cmd)\n" " --backend-net backend Backend that generates netlist file (.net)\n" " --backend-pcb backend Backend that generates board files (.pcb, .pcb.new)\n" "\n" " --gnetlist backend A convenience run of extra lepton-netlist -g commands.\n" " Example: lepton-netlist partslist3\n" " Creates: myproject.partslist3\n" " --empty-footprint name See the project.sample file.\n" "\n" "Options (not recognized in a project file):\n" " --gnetlist-arg arg Allows additional arguments to be passed to lepton-netlist.\n" " --fix-elements If a schematic component footprint is not equal\n" " to its PCB element Description, update the\n" " Description instead of replacing the element.\n" " Do this the first time lepton-sch2pcb is used with\n" " PCB files originally created with gschem2pcb.\n" " -v, --verbose Use -v -v for additional file element debugging.\n" " -V, --version\n\n" "Environment variables:\n" " NETLISTER If set, this specifies the name of the netlister program\n" " to execute.\n" "\n" "Additional Resources:\n" " gnetlist user guide: http://wiki.geda-project.org/geda:gnetlist_ug\n" " gEDA homepage: http://www.geda-project.org\n" " PCB homepage: http://pcb.geda-project.org\n" "\n" "Report bugs at <%s>\n" "Lepton EDA homepage: <%s>\n"; static void usage () { puts (usage_string0); printf (" %s\n\n", default_m4_pcbdir); printf (usage_string1, PACKAGE_BUGREPORT, PACKAGE_URL); exit (0); } static void version() { const char* msg = "Lepton EDA %s.%s (git: %.7s)\n" "Copyright (C) 1998-2016 gEDA developers\n" "Copyright (C) 2017-2021 Lepton EDA developers\n" "This is free software, and you are welcome to redistribute it\n" "under certain conditions. For details, see the file `COPYING',\n" "which is included in the Lepton EDA distribution.\n" "There is NO WARRANTY, to the extent permitted by law." "\n"; printf (msg, PACKAGE_DOTTED_VERSION, PACKAGE_DATE_VERSION, PACKAGE_GIT_COMMIT); exit (0); } static void get_args (gint argc, gchar ** argv) { gchar *opt, *arg, *s; gint i, r; for (i = 1; i < argc; ++i) { opt = argv[i]; arg = argv[i + 1]; if (*opt == '-') { ++opt; if (*opt == '-') ++opt; if (!strcmp (opt, "version") || !strcmp (opt, "V")) { version(); } else if (!strcmp (opt, "verbose") || !strcmp (opt, "v")) { verbose += 1; continue; } else if (!strcmp (opt, "fix-elements")) { fix_elements = TRUE; continue; } else if (!strcmp (opt, "gnetlist-arg")) { extra_gnetlist_arg_list = g_list_append (extra_gnetlist_arg_list, g_strdup (arg)); i++; continue; } else if (!strcmp (opt, "help") || !strcmp (opt, "h")) usage (); else if (i < argc && ((r = parse_config (opt, (i < argc - 1) ? arg : NULL)) >= 0) ) { i += r; continue; } printf ("lepton-sch2pcb: bad or incomplete arg: %s\n", argv[i]); usage (); } else { if (!g_str_has_suffix (argv[i], ".sch")) { load_extra_project_files (); load_project (argv[i]); } else add_schematic (argv[i]); } } } gint main (gint argc, gchar ** argv) { gchar *pcb_file_name, *pcb_new_file_name, *bak_file_name, *pins_file_name, *net_file_name, *tmp; gint i; gboolean initial_pcb = TRUE; gboolean created_pcb_file = TRUE; char *path, *p; const char *pcbdata_path; const char *configure_m4_pcbdir = PCBM4DIR; /* do not free it */ pcbdata_path = g_getenv ("PCBDATA"); /* do not free return value */ if (pcbdata_path != NULL) { /* If PCBDATA is set, use the value */ m4_pcbdir = g_strconcat (pcbdata_path, "/m4", NULL); } else if (configure_m4_pcbdir != NULL) { /* Use the default value passed in from the configure script * instead of trying to hard code a value which is very * likely wrong */ m4_pcbdir = g_strdup (configure_m4_pcbdir); } else { /* Neither PCBDATA was set nor PCBM4DIR has been configured */ /* Fall back to using the "m4" subdirectory in the current directory */ m4_pcbdir = g_strdup ("./m4"); } default_m4_pcbdir = g_strdup (m4_pcbdir); if (argc < 2) usage (); get_args (argc, argv); load_extra_project_files (); add_default_m4_files (); if (!schematics) usage (); /* Defaults for the search path if not configured in the project file */ if (g_file_test ("packages", G_FILE_TEST_IS_DIR)) element_directory_list = g_list_append (element_directory_list, (gpointer) "packages"); #define PCB_PATH_DELIMETER ":" if (verbose) printf ("Processing PCBLIBPATH=\"%s\"\n", PCBLIBPATH); path = g_strdup (PCBLIBPATH); for (p = strtok (path, PCB_PATH_DELIMETER); p && *p; p = strtok (NULL, PCB_PATH_DELIMETER)) { if (g_file_test (p, G_FILE_TEST_IS_DIR)) { if (verbose) printf ("Adding %s to the newlib search path\n", p); element_directory_list = g_list_append (element_directory_list, g_strdup (p)); } } g_free (path); pins_file_name = g_strconcat (sch_basename, ".cmd", NULL); net_file_name = g_strconcat (sch_basename, ".net", NULL); pcb_file_name = g_strconcat (sch_basename, ".pcb", NULL); bak_file_name = g_strconcat (sch_basename, ".pcb.bak", NULL); tmp = g_strdup (bak_file_name); for (i = 0; g_file_test (bak_file_name, G_FILE_TEST_EXISTS); ++i) { g_free (bak_file_name); bak_file_name = g_strdup_printf ("%s%d", tmp, i); } g_free (tmp); if (g_file_test (pcb_file_name, G_FILE_TEST_EXISTS)) { initial_pcb = FALSE; pcb_new_file_name = g_strconcat (sch_basename, ".new.pcb", NULL); get_pcb_element_list (pcb_file_name); } else pcb_new_file_name = g_strdup (pcb_file_name); if (!run_gnetlist (pins_file_name, net_file_name, pcb_new_file_name, sch_basename, schematics)) { fprintf(stderr, "Failed to run netlister\n"); exit (1); } if (add_elements (pcb_new_file_name) == 0) { build_and_run_command ("rm %s", pcb_new_file_name); if (initial_pcb) { printf ("No elements found, so nothing to do.\n"); exit (0); } } if (fix_elements) update_element_descriptions (pcb_file_name, bak_file_name); prune_elements (pcb_file_name, bak_file_name); /* Report work done during processing */ if (verbose) printf ("\n"); printf ("\n----------------------------------\n"); printf ("Done processing. Work performed:\n"); if (n_deleted > 0 || n_fixed > 0 || need_PKG_purge || n_changed_value > 0) printf ("%s is backed up as %s.\n", pcb_file_name, bak_file_name); if (pcb_element_list && n_deleted > 0) printf ("%d elements deleted from %s.\n", n_deleted, pcb_file_name); if (n_added_ef + n_added_m4 > 0) printf ("%d file elements and %d m4 elements added to %s.\n", n_added_ef, n_added_m4, pcb_new_file_name); else if (n_not_found == 0) { printf ("No elements to add so not creating %s\n", pcb_new_file_name); created_pcb_file = FALSE; } if (n_not_found > 0) { printf ("%d not found elements added to %s.\n", n_not_found, pcb_new_file_name); } if (n_unknown > 0) printf ("%d components had no footprint attribute and are omitted.\n", n_unknown); if (n_none > 0) printf ("%d components with footprint \"none\" omitted from %s.\n", n_none, pcb_new_file_name); if (n_empty > 0) printf ("%d components with empty footprint \"%s\" omitted from %s.\n", n_empty, empty_footprint_name, pcb_new_file_name); if (n_changed_value > 0) printf ("%d elements had a value change in %s.\n", n_changed_value, pcb_file_name); if (n_fixed > 0) printf ("%d elements fixed in %s.\n", n_fixed, pcb_file_name); if (n_PKG_removed_old > 0) { printf ("%d elements could not be found.", n_PKG_removed_old); if (created_pcb_file) printf (" So %s is incomplete.\n", pcb_file_name); else printf ("\n"); } if (n_PKG_removed_new > 0) { printf ("%d elements could not be found.", n_PKG_removed_new); if (created_pcb_file) printf (" So %s is incomplete.\n", pcb_new_file_name); else printf ("\n"); } if (n_preserved > 0) printf ("%d elements not in the schematic preserved in %s.\n", n_preserved, pcb_file_name); /* Tell user what to do next */ if (verbose) printf ("\n"); if (n_added_ef + n_added_m4 > 0) { if (initial_pcb) { printf ("\nNext step:\n"); printf ("1. Run pcb on your file %s.\n", pcb_file_name); printf (" You will find all your footprints in a bundle ready for you to place\n"); printf (" or disperse with \"Select -> Disperse all elements\" in PCB.\n\n"); printf ("2. From within PCB, select \"File -> Load netlist file\" and select \n"); printf (" %s to load the netlist.\n\n", net_file_name); printf ("3. From within PCB, enter\n\n"); printf (" :ExecuteFile(%s)\n\n", pins_file_name); printf (" to propagate the pin names of all footprints to the layout.\n\n"); } else if (quiet_mode == FALSE) { printf ("\nNext steps:\n"); printf ("1. Run pcb on your file %s.\n", pcb_file_name); printf ("2. From within PCB, select \"File -> Load layout data to paste buffer\"\n"); printf (" and select %s to load the new footprints into your existing layout.\n", pcb_new_file_name); printf ("3. From within PCB, select \"File -> Load netlist file\" and select \n"); printf (" %s to load the updated netlist.\n\n", net_file_name); printf ("4. From within PCB, enter\n\n"); printf (" :ExecuteFile(%s)\n\n", pins_file_name); printf (" to update the pin names of all footprints.\n\n"); } } g_free (net_file_name); g_free (pins_file_name); g_free (pcb_file_name); g_free (bak_file_name); g_free (backend_mkfile_cmd); g_free (backend_mkfile_net); g_free (backend_mkfile_pcb); return 0; } lepton-eda-1.9.16/utils/upcfg/0000755000175000017500000000000014101262654013106 500000000000000lepton-eda-1.9.16/utils/upcfg/Makefile.am0000644000175000017500000000071014101257250015054 00000000000000SUBDIRS = \ docs bin_SCRIPTS = \ lepton-upcfg EXTRA_DIST = \ lepton-upcfg.scm do_subst = sed -e 's,[@]libdir[@],$(libdir),g' \ -e 's,[@]GUILE[@],$(GUILE),g' \ -e 's,[@]LEPTON_SCHEME_MODULE_DIRECTORY[@],$(LEPTON_SCHEME_MODULE_DIRECTORY),g' \ -e 's,[@]localedir[@],$(localedir),g' \ -e 's,[@]ccachedir[@],@LEPTON_SCM_PRECOMPILE_DIR@,g' lepton-upcfg: lepton-upcfg.scm $(do_subst) < $(srcdir)/$@.scm > $@ chmod +x $@ CLEANFILES = \ lepton-upcfg lepton-eda-1.9.16/utils/upcfg/lepton-upcfg.scm0000644000175000017500000001231414101257250016132 00000000000000#!/bin/sh export GUILE_LOAD_COMPILED_PATH="@ccachedir@:${GUILE_LOAD_COMPILED_PATH}" exec @GUILE@ "$0" "$@" !# ;; ;; Lepton EDA ;; lepton-upcfg - gEDA => Lepton EDA configuration upgrade utility ;; Copyright (C) 2019 dmn ;; Copyright (C) 2019-2021 Lepton EDA Contributors ;; License: GPLv2+. See the COPYING file ;; (eval-when (expand load eval) (unless (getenv "LIBLEPTON") (add-to-load-path "@LEPTON_SCHEME_MODULE_DIRECTORY@"))) (use-modules (ice-9 format) (ice-9 rdelim) ; read-line() (ice-9 getopt-long) (lepton ffi)) ;; Initialize liblepton library. (liblepton_init) ; Avoid Scheme compile-time errors using a clever trick ; from netlist/scheme/lepton-netlist.scm (see comments there): ; ( primitive-eval '(use-modules (lepton legacy-config)) ) ( primitive-eval '(use-modules (lepton version)) ) ( primitive-eval '(use-modules (lepton log)) ) ; command line options: ; ( define cmd-line-args-spec ( list ( list ; --local (-l) 'local ( list 'single-char #\l ) ( list 'value #f ) ) ( list ; --user (-u) 'user ( list 'single-char #\u ) ( list 'value #f ) ) ( list ; --copy (-c) 'copy ( list 'single-char #\c ) ( list 'value #f ) ) ( list ; --overwrite (-x) 'overwrite ( list 'single-char #\x ) ( list 'value #f ) ) ( list ; --help (-h) 'help ( list 'single-char #\h ) ( list 'value #f ) ) ( list ; --version (-V) 'version ( list 'single-char #\V ) ( list 'value #f ) ) ) ) ; cmd-line-args-spec ( define ( usage exit-code ) ( format #t "~ Usage: lepton-upcfg [OPTIONS] | FILE Lepton EDA configuration upgrade utility. Converts geda*.conf configuration files to corresponding lepton*.conf files. By default, the upgraded configuration is printed to standard output. One of the options can be passed on the command line to upgrade the configuration located in predefined locations. Instead of the options, one can specify the configuration file path to convert and redirect the output to some destination file. Options: -l, --local geda.conf => lepton.conf (in current directory) -u, --user geda-user.conf => lepton-user.conf (in user configuration directory) -c, --copy Write to configuration file, not STDOUT -x, --overwrite Overwrite existing files -h, --help Show usage information -V, --version Show version information Report bugs at <~a> Lepton EDA homepage: <~a> " ( lepton-version-ref 'bugs ) ( lepton-version-ref 'url ) ) ( primitive-exit exit-code ) ) ( define ( version ) ( display-lepton-version #:print-name #t #:copyright #t ) ( primitive-exit 0 ) ) ( define ( failure ) ( upcfg-log "lepton-upcfg: configuration upgrade failed.~%" ) ( primitive-exit 1 ) ) ( define ( prompt-for-user-cfg ids ) ( let ( ( i 0 ) ( ndx #f ) ) ( define ( input-error ) ( upcfg-log "ee: wrong value entered~%" ) ( failure ) ) ( upcfg-log "ii: more than one user configuration files found:~%" ) ( while ( < i (length ids) ) ( upcfg-log "~d: ~a~%" (1+ i) (config-file-path (list-ref ids i)) ) ( set! i (1+ i) ) ) ( upcfg-log "Type config file number to upgrade and press Enter: " ) ( set! ndx (false-if-exception (read-line)) ) ( set! ndx (false-if-exception (string->number ndx)) ) ( unless ndx ( input-error ) ) ( upcfg-log "ii: choice: [ ~a ]~%" ndx ) ( set! ndx ( 1- ndx ) ) ( if ( or (< ndx 0) (>= ndx (length ids)) ) ( input-error ) ) ; return: ( list-ref ids ndx ) ) ; let ) ; prompt-for-user-cfg() ( define ( get-user-cfg-id ) ( let ( ( ids (find-user-config-files) ) ) ( when ( null? ids ) ( upcfg-log "ii: no user configuration files found.~%" ) ( primitive-exit 0 ) ) ; return: ( if ( > (length ids) 1 ) ( prompt-for-user-cfg ids ) ; if ( list-ref ids 0 ) ; else ) ) ; let ) ; get-user-cfg-id() ; program entry point: ; ( define ( main ) ( let* ( ( cmd-line-args (getopt-long (program-arguments) cmd-line-args-spec) ) ( files (option-ref cmd-line-args '() '()) ) ( copy (option-ref cmd-line-args 'copy #f) ) ( overwrite (option-ref cmd-line-args 'overwrite #f) ) ( args-len 0 ) ( cfg-id #f ) ) ( init-log "upcfg" ) ( set! args-len (length cmd-line-args) ) ( when ( and (null? files) (or (< args-len 2) (> args-len 4)) ) ( usage 1 ) ) ( if (option-ref cmd-line-args 'help #f) ( usage 0 ) ) ( if (option-ref cmd-line-args 'version #f) ( version ) ) ( if (option-ref cmd-line-args 'local #f) ( set! cfg-id 'geda-local ) ) ( if (option-ref cmd-line-args 'user #f) ( set! cfg-id ( get-user-cfg-id ) ) ) ( if ( and (null? files) (not cfg-id) ) ( usage 1 ) ) ( upcfg-log "ii: upgrading config in [~a]...~%" ( if cfg-id ( config-file-path cfg-id ) ; if ( list-ref files 0 ) ; else ) ) ( if ( null? files ) ( or (config-upgrade cfg-id #:copy copy #:overwrite overwrite) (failure) ) ; if ( or (config-upgrade-file (list-ref files 0)) (failure) ) ; else ) ) ; let ) ; main() ; top-level code: ; ( main ) lepton-eda-1.9.16/utils/upcfg/docs/0000755000175000017500000000000014101262654014036 500000000000000lepton-eda-1.9.16/utils/upcfg/docs/Makefile.am0000644000175000017500000000147614101257250016016 00000000000000dist_man_MANS = \ lepton-upcfg.1 EXTRA_DIST = \ lepton-upcfg.1.in .1.in.1: d=`$(GUILE) -c '(setlocale LC_ALL "C") \ (display (strftime "%B %-d, %Y" \ (car (strptime "%Y%m%d" (cadr (program-arguments))))))' $(DATE_VERSION)` ; \ v="$(DOTTED_VERSION).$(DATE_VERSION)" ; \ y=`echo $(DATE_VERSION)| sed -e"s/\(....\).*/\1/"`; \ sed -e"s:[@]DATE@:$$d:" -e"s:[@]VERSION@:$$v:" -e"s:[@]YEAR@:$$y:" < $< > $@ # Rules for converting man->html html_man_files = $(dist_man_MANS:%.1=%.html) SUFFIXES = .1.in .1 .html docsmandir=$(docdir)/man dist_docsman_DATA=$(html_man_files) if ENABLE_GROFF_HTML .1.html: rm -rf $@.tmp && \ LC_NUMERIC=C $(GROFF) -man -T html $< >$@.tmp && \ mv -f $@.tmp $@ else .1.html: @echo "No working groff available: cannot create $@" @! : endif CLEANFILES = $(dist_man_MANS) $(html_man_files) lepton-eda-1.9.16/utils/upcfg/docs/lepton-upcfg.html0000644000175000017500000000743114101262654017254 00000000000000 lepton-upcfg

lepton-upcfg

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
AUTHOR
SEE ALSO
COPYRIGHT

NAME

lepton-upcfg - Lepton EDA configuration upgrade utility

SYNOPSIS

lepton-upcfg OPTIONS | FILE

DESCRIPTION

lepton-upcfg converts legacy configuration stored in geda*.conf files to Lepton EDA configuration format used in lepton*.conf files. By default, the result is printed to standard output.

One of the options can be passed on the command line to upgrade the configuration stored in predefined locations. Instead of the options, one can specify the configuration file path to convert and redirect the output to some destination file.

OPTIONS

-l, --local

Read and upgrade configuration from the geda.conf file in current directory. If -c is specified, write the result to the lepton.conf file in current directory.

-u, --user

Upgrade the user configuration. If multiple user configuration files are found, prompt the user to select which file to use. If -c is specified, write the result to the lepton-user.conf file in $XDG_CONFIG_HOME/lepton-eda directory (typically, ~/.config/lepton-eda).

-c, --copy

Write upgraded configuration to corresponding lepton*.conf file instead of standard ouput.

-x, --overwrite

Overwrite existing files.

-V, --version

Show version information.

-h, --help

Show usage information.

AUTHOR

dmn <graahnul.grom@gmail.com>

SEE ALSO

lepton-cli(1)

COPYRIGHT

Copyright © 2019-2021 Lepton Developers.
License GPLv2+: GNU GPL version 2 or later. Please see the ’COPYING’
file included with this program for full details.

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


lepton-eda-1.9.16/utils/upcfg/docs/lepton-upcfg.10000644000175000017500000000344114101262654016445 00000000000000.TH lepton-upcfg 1 "July 31, 2021" "Lepton EDA" 1.9.16.20210731 .SH NAME lepton-upcfg \- Lepton EDA configuration upgrade utility .SH SYNOPSIS .B lepton-upcfg \fIOPTIONS\fR | \fIFILE\fR .SH DESCRIPTION .B lepton-upcfg converts legacy configuration stored in geda*.conf files to Lepton EDA configuration format used in lepton*.conf files. By default, the result is printed to standard output. .PP One of the options can be passed on the command line to upgrade the configuration stored in predefined locations. Instead of the options, one can specify the configuration file path to convert and redirect the output to some destination file. .SH OPTIONS .TP .BR \-l ", " \-\-local Read and upgrade configuration from the \fBgeda.conf\fR file in current directory. If \fB-c\fR is specified, write the result to the \fBlepton.conf\fR file in current directory. .TP .BR \-u ", " \-\-user Upgrade the user configuration. If multiple user configuration files are found, prompt the user to select which file to use. If \fB-c\fR is specified, write the result to the \fBlepton-user.conf\fR file in $XDG_CONFIG_HOME/lepton-eda directory (typically, ~/.config/lepton-eda). .TP .BR \-c ", " \-\-copy Write upgraded configuration to corresponding lepton*.conf file instead of standard ouput. .TP .BR \-x ", " \-\-overwrite Overwrite existing files. .TP .BR \-V ", " \-\-version Show version information. .TP .BR \-h ", " \-\-help Show usage information. .SH AUTHOR dmn .SH SEE ALSO .BR lepton-cli(1) .SH COPYRIGHT .nf Copyright \(co 2019-2021 Lepton Developers. License GPLv2+: GNU GPL version 2 or later. Please see the `COPYING' file included with this program for full details. .PP This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. lepton-eda-1.9.16/utils/upcfg/docs/lepton-upcfg.1.in0000644000175000017500000000342614101257250017051 00000000000000.TH lepton-upcfg 1 "@DATE@" "Lepton EDA" @VERSION@ .SH NAME lepton-upcfg \- Lepton EDA configuration upgrade utility .SH SYNOPSIS .B lepton-upcfg \fIOPTIONS\fR | \fIFILE\fR .SH DESCRIPTION .B lepton-upcfg converts legacy configuration stored in geda*.conf files to Lepton EDA configuration format used in lepton*.conf files. By default, the result is printed to standard output. .PP One of the options can be passed on the command line to upgrade the configuration stored in predefined locations. Instead of the options, one can specify the configuration file path to convert and redirect the output to some destination file. .SH OPTIONS .TP .BR \-l ", " \-\-local Read and upgrade configuration from the \fBgeda.conf\fR file in current directory. If \fB-c\fR is specified, write the result to the \fBlepton.conf\fR file in current directory. .TP .BR \-u ", " \-\-user Upgrade the user configuration. If multiple user configuration files are found, prompt the user to select which file to use. If \fB-c\fR is specified, write the result to the \fBlepton-user.conf\fR file in $XDG_CONFIG_HOME/lepton-eda directory (typically, ~/.config/lepton-eda). .TP .BR \-c ", " \-\-copy Write upgraded configuration to corresponding lepton*.conf file instead of standard ouput. .TP .BR \-x ", " \-\-overwrite Overwrite existing files. .TP .BR \-V ", " \-\-version Show version information. .TP .BR \-h ", " \-\-help Show usage information. .SH AUTHOR dmn .SH SEE ALSO .BR lepton-cli(1) .SH COPYRIGHT .nf Copyright \(co 2019-@YEAR@ Lepton Developers. License GPLv2+: GNU GPL version 2 or later. Please see the `COPYING' file included with this program for full details. .PP This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. lepton-eda-1.9.16/utils/upcfg/docs/Makefile.in0000644000175000017500000005241114101262633016023 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = utils/upcfg/docs ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/guile.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lepton-assert.m4 \ $(top_srcdir)/m4/lepton-attrib.m4 \ $(top_srcdir)/m4/lepton-awk.m4 \ $(top_srcdir)/m4/lepton-cairo.m4 \ $(top_srcdir)/m4/lepton-contrib.m4 \ $(top_srcdir)/m4/lepton-data-dirs.m4 \ $(top_srcdir)/m4/lepton-desktop-i18n.m4 \ $(top_srcdir)/m4/lepton-desktop.m4 \ $(top_srcdir)/m4/lepton-doxygen.m4 \ $(top_srcdir)/m4/lepton-gcc-flags.m4 \ $(top_srcdir)/m4/lepton-git-version.m4 \ $(top_srcdir)/m4/lepton-git.m4 \ $(top_srcdir)/m4/lepton-groff.m4 \ $(top_srcdir)/m4/lepton-guile.m4 \ $(top_srcdir)/m4/lepton-host.m4 \ $(top_srcdir)/m4/lepton-stroke.m4 \ $(top_srcdir)/m4/lepton-uri-viewer.m4 \ $(top_srcdir)/m4/lepton-windows.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/liblepton.m4 \ $(top_srcdir)/m4/libleptonattrib.m4 \ $(top_srcdir)/m4/libleptongui.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pcb-data-dirs.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(dist_docsman_DATA) \ $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } man1dir = $(mandir)/man1 am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docsmandir)" NROFF = nroff MANS = $(dist_man_MANS) DATA = $(dist_docsman_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(dist_man_MANS) $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITMAP_DIRECTORY = @BITMAP_DIRECTORY@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@ CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@ CAIRO_PNG_CFLAGS = @CAIRO_PNG_CFLAGS@ CAIRO_PNG_LIBS = @CAIRO_PNG_LIBS@ CAIRO_PS_CFLAGS = @CAIRO_PS_CFLAGS@ CAIRO_PS_LIBS = @CAIRO_PS_LIBS@ CAIRO_SVG_CFLAGS = @CAIRO_SVG_CFLAGS@ CAIRO_SVG_LIBS = @CAIRO_SVG_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE_VERSION = @DATE_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DESKTOP_I18N = @DESKTOP_I18N@ DESKTOP_I18N_CREATE = @DESKTOP_I18N_CREATE@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@ DESKTOP_I18N_SCRIPT = @DESKTOP_I18N_SCRIPT@ DLLTOOL = @DLLTOOL@ DOT = @DOT@ DOTTED_VERSION = @DOTTED_VERSION@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GDK_CFLAGS = @GDK_CFLAGS@ GDK_LIBS = @GDK_LIBS@ GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@ GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@ GETTEXT = @GETTEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GIT = @GIT@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GROFF = @GROFF@ GTKEXTRA_CFLAGS = @GTKEXTRA_CFLAGS@ GTKEXTRA_LIBS = @GTKEXTRA_LIBS@ GTKSHEET_CFLAGS = @GTKSHEET_CFLAGS@ GTKSHEET_LIBS = @GTKSHEET_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GUILD = @GUILD@ GUILE = @GUILE@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@ GUILE_LDFLAGS = @GUILE_LDFLAGS@ GUILE_LIBS = @GUILE_LIBS@ GUILE_LTLIBS = @GUILE_LTLIBS@ GUILE_PKG_NAME = @GUILE_PKG_NAME@ GUILE_SNARF = @GUILE_SNARF@ GUILE_TOOLS = @GUILE_TOOLS@ HAVE_GIT_REPO = @HAVE_GIT_REPO@ ICON_THEME_INSTALLER = @ICON_THEME_INSTALLER@ INKSCAPE = @INKSCAPE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEPTONDATADIR = @LEPTONDATADIR@ LEPTON_SCHEME_MODULE_DIRECTORY = @LEPTON_SCHEME_MODULE_DIRECTORY@ LEPTON_SCM_PRECOMPILE_DIR = @LEPTON_SCM_PRECOMPILE_DIR@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBLEPTONATTRIB_MAJOR = @LIBLEPTONATTRIB_MAJOR@ LIBLEPTONATTRIB_SHLIB_VERSION = @LIBLEPTONATTRIB_SHLIB_VERSION@ LIBLEPTONGUI_MAJOR = @LIBLEPTONGUI_MAJOR@ LIBLEPTONGUI_SHLIB_VERSION = @LIBLEPTONGUI_SHLIB_VERSION@ LIBLEPTON_GETTEXT_DOMAIN = @LIBLEPTON_GETTEXT_DOMAIN@ LIBLEPTON_MAJOR = @LIBLEPTON_MAJOR@ LIBLEPTON_SHLIB_VERSION = @LIBLEPTON_SHLIB_VERSION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSTROKE_CPPFLAGS = @LIBSTROKE_CPPFLAGS@ LIBSTROKE_LDFLAGS = @LIBSTROKE_LDFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ M4 = @M4@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MINGW_CFLAGS = @MINGW_CFLAGS@ MINGW_GUI_LDFLAGS = @MINGW_GUI_LDFLAGS@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCBDATADIR = @PCBDATADIR@ PCBLIBPATH = @PCBLIBPATH@ PCBM4DIR = @PCBM4DIR@ PDFLATEX = @PDFLATEX@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ URI_VIEWER = @URI_VIEWER@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDOWS_LIBTOOL_FLAGS = @WINDOWS_LIBTOOL_FLAGS@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ dist_man_MANS = \ lepton-upcfg.1 EXTRA_DIST = \ lepton-upcfg.1.in # Rules for converting man->html html_man_files = $(dist_man_MANS:%.1=%.html) SUFFIXES = .1.in .1 .html docsmandir = $(docdir)/man dist_docsman_DATA = $(html_man_files) CLEANFILES = $(dist_man_MANS) $(html_man_files) all: all-am .SUFFIXES: .SUFFIXES: .1.in .1 .html $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/upcfg/docs/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign utils/upcfg/docs/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-man1: $(dist_man_MANS) @$(NORMAL_INSTALL) @list1=''; \ list2='$(dist_man_MANS)'; \ test -n "$(man1dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.1[a-z]*$$/p'; \ fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ done | \ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ sed 'N;N;s,\n, ,g' | { \ list=; while read file base inst; do \ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ fi; \ done; \ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ while read files; do \ test -z "$$files" || { \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ done; } uninstall-man1: @$(NORMAL_UNINSTALL) @list=''; test -n "$(man1dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \ sed -n '/\.1[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) install-dist_docsmanDATA: $(dist_docsman_DATA) @$(NORMAL_INSTALL) @list='$(dist_docsman_DATA)'; test -n "$(docsmandir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(docsmandir)'"; \ $(MKDIR_P) "$(DESTDIR)$(docsmandir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docsmandir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(docsmandir)" || exit $$?; \ done uninstall-dist_docsmanDATA: @$(NORMAL_UNINSTALL) @list='$(dist_docsman_DATA)'; test -n "$(docsmandir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(docsmandir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(MANS) $(DATA) installdirs: for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docsmandir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dist_docsmanDATA install-man install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-man1 install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-dist_docsmanDATA uninstall-man uninstall-man: uninstall-man1 .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am \ install-dist_docsmanDATA install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-man1 \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags-am uninstall uninstall-am uninstall-dist_docsmanDATA \ uninstall-man uninstall-man1 .PRECIOUS: Makefile .1.in.1: d=`$(GUILE) -c '(setlocale LC_ALL "C") \ (display (strftime "%B %-d, %Y" \ (car (strptime "%Y%m%d" (cadr (program-arguments))))))' $(DATE_VERSION)` ; \ v="$(DOTTED_VERSION).$(DATE_VERSION)" ; \ y=`echo $(DATE_VERSION)| sed -e"s/\(....\).*/\1/"`; \ sed -e"s:[@]DATE@:$$d:" -e"s:[@]VERSION@:$$v:" -e"s:[@]YEAR@:$$y:" < $< > $@ @ENABLE_GROFF_HTML_TRUE@.1.html: @ENABLE_GROFF_HTML_TRUE@ rm -rf $@.tmp && \ @ENABLE_GROFF_HTML_TRUE@ LC_NUMERIC=C $(GROFF) -man -T html $< >$@.tmp && \ @ENABLE_GROFF_HTML_TRUE@ mv -f $@.tmp $@ @ENABLE_GROFF_HTML_FALSE@.1.html: @ENABLE_GROFF_HTML_FALSE@ @echo "No working groff available: cannot create $@" @ENABLE_GROFF_HTML_FALSE@ @! : # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/upcfg/Makefile.in0000644000175000017500000006326614101262633015105 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = utils/upcfg ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/guile.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lepton-assert.m4 \ $(top_srcdir)/m4/lepton-attrib.m4 \ $(top_srcdir)/m4/lepton-awk.m4 \ $(top_srcdir)/m4/lepton-cairo.m4 \ $(top_srcdir)/m4/lepton-contrib.m4 \ $(top_srcdir)/m4/lepton-data-dirs.m4 \ $(top_srcdir)/m4/lepton-desktop-i18n.m4 \ $(top_srcdir)/m4/lepton-desktop.m4 \ $(top_srcdir)/m4/lepton-doxygen.m4 \ $(top_srcdir)/m4/lepton-gcc-flags.m4 \ $(top_srcdir)/m4/lepton-git-version.m4 \ $(top_srcdir)/m4/lepton-git.m4 \ $(top_srcdir)/m4/lepton-groff.m4 \ $(top_srcdir)/m4/lepton-guile.m4 \ $(top_srcdir)/m4/lepton-host.m4 \ $(top_srcdir)/m4/lepton-stroke.m4 \ $(top_srcdir)/m4/lepton-uri-viewer.m4 \ $(top_srcdir)/m4/lepton-windows.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/liblepton.m4 \ $(top_srcdir)/m4/libleptonattrib.m4 \ $(top_srcdir)/m4/libleptongui.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pcb-data-dirs.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(bindir)" SCRIPTS = $(bin_SCRIPTS) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir distdir-am am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITMAP_DIRECTORY = @BITMAP_DIRECTORY@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@ CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@ CAIRO_PNG_CFLAGS = @CAIRO_PNG_CFLAGS@ CAIRO_PNG_LIBS = @CAIRO_PNG_LIBS@ CAIRO_PS_CFLAGS = @CAIRO_PS_CFLAGS@ CAIRO_PS_LIBS = @CAIRO_PS_LIBS@ CAIRO_SVG_CFLAGS = @CAIRO_SVG_CFLAGS@ CAIRO_SVG_LIBS = @CAIRO_SVG_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE_VERSION = @DATE_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DESKTOP_I18N = @DESKTOP_I18N@ DESKTOP_I18N_CREATE = @DESKTOP_I18N_CREATE@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@ DESKTOP_I18N_SCRIPT = @DESKTOP_I18N_SCRIPT@ DLLTOOL = @DLLTOOL@ DOT = @DOT@ DOTTED_VERSION = @DOTTED_VERSION@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GDK_CFLAGS = @GDK_CFLAGS@ GDK_LIBS = @GDK_LIBS@ GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@ GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@ GETTEXT = @GETTEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GIT = @GIT@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GROFF = @GROFF@ GTKEXTRA_CFLAGS = @GTKEXTRA_CFLAGS@ GTKEXTRA_LIBS = @GTKEXTRA_LIBS@ GTKSHEET_CFLAGS = @GTKSHEET_CFLAGS@ GTKSHEET_LIBS = @GTKSHEET_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GUILD = @GUILD@ GUILE = @GUILE@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@ GUILE_LDFLAGS = @GUILE_LDFLAGS@ GUILE_LIBS = @GUILE_LIBS@ GUILE_LTLIBS = @GUILE_LTLIBS@ GUILE_PKG_NAME = @GUILE_PKG_NAME@ GUILE_SNARF = @GUILE_SNARF@ GUILE_TOOLS = @GUILE_TOOLS@ HAVE_GIT_REPO = @HAVE_GIT_REPO@ ICON_THEME_INSTALLER = @ICON_THEME_INSTALLER@ INKSCAPE = @INKSCAPE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEPTONDATADIR = @LEPTONDATADIR@ LEPTON_SCHEME_MODULE_DIRECTORY = @LEPTON_SCHEME_MODULE_DIRECTORY@ LEPTON_SCM_PRECOMPILE_DIR = @LEPTON_SCM_PRECOMPILE_DIR@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBLEPTONATTRIB_MAJOR = @LIBLEPTONATTRIB_MAJOR@ LIBLEPTONATTRIB_SHLIB_VERSION = @LIBLEPTONATTRIB_SHLIB_VERSION@ LIBLEPTONGUI_MAJOR = @LIBLEPTONGUI_MAJOR@ LIBLEPTONGUI_SHLIB_VERSION = @LIBLEPTONGUI_SHLIB_VERSION@ LIBLEPTON_GETTEXT_DOMAIN = @LIBLEPTON_GETTEXT_DOMAIN@ LIBLEPTON_MAJOR = @LIBLEPTON_MAJOR@ LIBLEPTON_SHLIB_VERSION = @LIBLEPTON_SHLIB_VERSION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSTROKE_CPPFLAGS = @LIBSTROKE_CPPFLAGS@ LIBSTROKE_LDFLAGS = @LIBSTROKE_LDFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ M4 = @M4@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MINGW_CFLAGS = @MINGW_CFLAGS@ MINGW_GUI_LDFLAGS = @MINGW_GUI_LDFLAGS@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCBDATADIR = @PCBDATADIR@ PCBLIBPATH = @PCBLIBPATH@ PCBM4DIR = @PCBM4DIR@ PDFLATEX = @PDFLATEX@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ URI_VIEWER = @URI_VIEWER@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDOWS_LIBTOOL_FLAGS = @WINDOWS_LIBTOOL_FLAGS@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = \ docs bin_SCRIPTS = \ lepton-upcfg EXTRA_DIST = \ lepton-upcfg.scm do_subst = sed -e 's,[@]libdir[@],$(libdir),g' \ -e 's,[@]GUILE[@],$(GUILE),g' \ -e 's,[@]LEPTON_SCHEME_MODULE_DIRECTORY[@],$(LEPTON_SCHEME_MODULE_DIRECTORY),g' \ -e 's,[@]localedir[@],$(localedir),g' \ -e 's,[@]ccachedir[@],@LEPTON_SCM_PRECOMPILE_DIR@,g' CLEANFILES = \ lepton-upcfg all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/upcfg/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign utils/upcfg/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-binSCRIPTS: $(bin_SCRIPTS) @$(NORMAL_INSTALL) @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n' \ -e 'h;s|.*|.|' \ -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) { files[d] = files[d] " " $$1; \ if (++n[d] == $(am__install_max)) { \ print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ else { print "f", d "/" $$4, $$1 } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 's,.*/,,;$(transform)'`; \ dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir) mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(SCRIPTS) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(bindir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-binSCRIPTS install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-binSCRIPTS .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ check-am clean clean-generic clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-binSCRIPTS install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ uninstall-am uninstall-binSCRIPTS .PRECIOUS: Makefile lepton-upcfg: lepton-upcfg.scm $(do_subst) < $(srcdir)/$@.scm > $@ chmod +x $@ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/archive/0000755000175000017500000000000014101262653013422 500000000000000lepton-eda-1.9.16/utils/archive/Makefile.am0000644000175000017500000000072214101257250015374 00000000000000SUBDIRS = \ docs bin_SCRIPTS = \ lepton-archive EXTRA_DIST = \ lepton-archive.scm do_subst = sed -e 's,[@]libdir[@],$(libdir),g' \ -e 's,[@]GUILE[@],$(GUILE),g' \ -e 's,[@]LEPTON_SCHEME_MODULE_DIRECTORY[@],$(LEPTON_SCHEME_MODULE_DIRECTORY),g' \ -e 's,[@]localedir[@],$(localedir),g' \ -e 's,[@]ccachedir[@],@LEPTON_SCM_PRECOMPILE_DIR@,g' lepton-archive: lepton-archive.scm $(do_subst) < $(srcdir)/$@.scm > $@ chmod +x $@ CLEANFILES = \ lepton-archive lepton-eda-1.9.16/utils/archive/docs/0000755000175000017500000000000014101262653014352 500000000000000lepton-eda-1.9.16/utils/archive/docs/Makefile.am0000644000175000017500000000150214101257250016321 00000000000000dist_man_MANS = \ lepton-archive.1 EXTRA_DIST = \ lepton-archive.1.in .1.in.1: d=`$(GUILE) -c '(setlocale LC_ALL "C") \ (display (strftime "%B %-d, %Y" \ (car (strptime "%Y%m%d" (cadr (program-arguments))))))' $(DATE_VERSION)` ; \ v="$(DOTTED_VERSION).$(DATE_VERSION)" ; \ y=`echo $(DATE_VERSION)| sed -e"s/\(....\).*/\1/"`; \ sed -e"s:[@]DATE@:$$d:" -e"s:[@]VERSION@:$$v:" -e"s:[@]YEAR@:$$y:" < $< > $@ # Rules for converting man->html html_man_files = $(dist_man_MANS:%.1=%.html) SUFFIXES = .1.in .1 .html docsmandir=$(docdir)/man dist_docsman_DATA=$(html_man_files) if ENABLE_GROFF_HTML .1.html: rm -rf $@.tmp && \ LC_NUMERIC=C $(GROFF) -man -T html $< >$@.tmp && \ mv -f $@.tmp $@ else .1.html: @echo "No working groff available: cannot create $@" @! : endif CLEANFILES = $(dist_man_MANS) $(html_man_files) lepton-eda-1.9.16/utils/archive/docs/lepton-archive.10000644000175000017500000000456614101262653017307 00000000000000.TH lepton-archive 1 "July 31, 2021" "Lepton EDA" 1.9.16.20210731 .SH NAME lepton-archive \- create and extract Lepton EDA design archives .SH SYNOPSIS .B lepton-archive .RI [ OPTIONS ] .I FILE \&... .SH DESCRIPTION .B lepton-archive creates and extracts Lepton EDA designs from an archive. The two modes of operation are "archive mode" (archive creation) and "extract mode". In archive mode it creates a project archive from a bunch of project files, and in extract mode it extracts the files from the archive and places them in the local directory. .PP In archive mode the program processes schematic files traversing their hierarchy, collecting and caching all subschematics, symbols and subcircuits specified in the "file=" attributes. .PP Archive mode is the default. .SH OPTIONS .nf \-h, \-\-help Print usage information. \-v, \-\-verbose Verbose mode. \-f, \-\-files\-from=FILE Additionally read filenames to archive from FILE. \-e, \-\-extract Extract mode. Mandatory if you want to extract from archive. \-a, \-\-archive Archive mode. It is the default mode. \-o, \-\-output=FILE Specify the name of the output archive file in archive mode. If FILE has no ".tar.gz" suffix it will be automatically appended. Default file name is "project-archive.tar.gz". .SH EXAMPLES To create an archive named MyArchive.tar.gz, the files to store are listed in "archive-list": .IP lepton-archive \-f archive-list \-o MyArchive.tar.gz .PP The same by using just file basename: .IP lepton-archive \-f archive-list \-o MyArchive .PP Verbosely create an archive from files listed on command line: .IP lepton-archive \-v README sch1.sch sch2.sch sch3.sch .PP Extract an archive: .IP lepton-archive \-e project-archive.tar.gz .SH AUTHOR The initial Python script has been written by Stuart Brorson . The program has been rewritten almost from scratch in Scheme by Vladimir Zhbanov . .SH SEE ALSO .BR lepton-schematic(1) .SH COPYRIGHT .nf Copyright \(co 2012-2017 gEDA Contributors. Copyright \(co 2019-2021 Lepton EDA Contributors. License GPLv2+: GNU GPL version 2 or later. Please see the `COPYING' file included with this program for full details. .PP This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. lepton-eda-1.9.16/utils/archive/docs/Makefile.in0000644000175000017500000005242314101262632016342 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = utils/archive/docs ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/guile.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lepton-assert.m4 \ $(top_srcdir)/m4/lepton-attrib.m4 \ $(top_srcdir)/m4/lepton-awk.m4 \ $(top_srcdir)/m4/lepton-cairo.m4 \ $(top_srcdir)/m4/lepton-contrib.m4 \ $(top_srcdir)/m4/lepton-data-dirs.m4 \ $(top_srcdir)/m4/lepton-desktop-i18n.m4 \ $(top_srcdir)/m4/lepton-desktop.m4 \ $(top_srcdir)/m4/lepton-doxygen.m4 \ $(top_srcdir)/m4/lepton-gcc-flags.m4 \ $(top_srcdir)/m4/lepton-git-version.m4 \ $(top_srcdir)/m4/lepton-git.m4 \ $(top_srcdir)/m4/lepton-groff.m4 \ $(top_srcdir)/m4/lepton-guile.m4 \ $(top_srcdir)/m4/lepton-host.m4 \ $(top_srcdir)/m4/lepton-stroke.m4 \ $(top_srcdir)/m4/lepton-uri-viewer.m4 \ $(top_srcdir)/m4/lepton-windows.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/liblepton.m4 \ $(top_srcdir)/m4/libleptonattrib.m4 \ $(top_srcdir)/m4/libleptongui.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pcb-data-dirs.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(dist_docsman_DATA) \ $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } man1dir = $(mandir)/man1 am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docsmandir)" NROFF = nroff MANS = $(dist_man_MANS) DATA = $(dist_docsman_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(dist_man_MANS) $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITMAP_DIRECTORY = @BITMAP_DIRECTORY@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@ CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@ CAIRO_PNG_CFLAGS = @CAIRO_PNG_CFLAGS@ CAIRO_PNG_LIBS = @CAIRO_PNG_LIBS@ CAIRO_PS_CFLAGS = @CAIRO_PS_CFLAGS@ CAIRO_PS_LIBS = @CAIRO_PS_LIBS@ CAIRO_SVG_CFLAGS = @CAIRO_SVG_CFLAGS@ CAIRO_SVG_LIBS = @CAIRO_SVG_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE_VERSION = @DATE_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DESKTOP_I18N = @DESKTOP_I18N@ DESKTOP_I18N_CREATE = @DESKTOP_I18N_CREATE@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@ DESKTOP_I18N_SCRIPT = @DESKTOP_I18N_SCRIPT@ DLLTOOL = @DLLTOOL@ DOT = @DOT@ DOTTED_VERSION = @DOTTED_VERSION@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GDK_CFLAGS = @GDK_CFLAGS@ GDK_LIBS = @GDK_LIBS@ GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@ GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@ GETTEXT = @GETTEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GIT = @GIT@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GROFF = @GROFF@ GTKEXTRA_CFLAGS = @GTKEXTRA_CFLAGS@ GTKEXTRA_LIBS = @GTKEXTRA_LIBS@ GTKSHEET_CFLAGS = @GTKSHEET_CFLAGS@ GTKSHEET_LIBS = @GTKSHEET_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GUILD = @GUILD@ GUILE = @GUILE@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@ GUILE_LDFLAGS = @GUILE_LDFLAGS@ GUILE_LIBS = @GUILE_LIBS@ GUILE_LTLIBS = @GUILE_LTLIBS@ GUILE_PKG_NAME = @GUILE_PKG_NAME@ GUILE_SNARF = @GUILE_SNARF@ GUILE_TOOLS = @GUILE_TOOLS@ HAVE_GIT_REPO = @HAVE_GIT_REPO@ ICON_THEME_INSTALLER = @ICON_THEME_INSTALLER@ INKSCAPE = @INKSCAPE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEPTONDATADIR = @LEPTONDATADIR@ LEPTON_SCHEME_MODULE_DIRECTORY = @LEPTON_SCHEME_MODULE_DIRECTORY@ LEPTON_SCM_PRECOMPILE_DIR = @LEPTON_SCM_PRECOMPILE_DIR@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBLEPTONATTRIB_MAJOR = @LIBLEPTONATTRIB_MAJOR@ LIBLEPTONATTRIB_SHLIB_VERSION = @LIBLEPTONATTRIB_SHLIB_VERSION@ LIBLEPTONGUI_MAJOR = @LIBLEPTONGUI_MAJOR@ LIBLEPTONGUI_SHLIB_VERSION = @LIBLEPTONGUI_SHLIB_VERSION@ LIBLEPTON_GETTEXT_DOMAIN = @LIBLEPTON_GETTEXT_DOMAIN@ LIBLEPTON_MAJOR = @LIBLEPTON_MAJOR@ LIBLEPTON_SHLIB_VERSION = @LIBLEPTON_SHLIB_VERSION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSTROKE_CPPFLAGS = @LIBSTROKE_CPPFLAGS@ LIBSTROKE_LDFLAGS = @LIBSTROKE_LDFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ M4 = @M4@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MINGW_CFLAGS = @MINGW_CFLAGS@ MINGW_GUI_LDFLAGS = @MINGW_GUI_LDFLAGS@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCBDATADIR = @PCBDATADIR@ PCBLIBPATH = @PCBLIBPATH@ PCBM4DIR = @PCBM4DIR@ PDFLATEX = @PDFLATEX@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ URI_VIEWER = @URI_VIEWER@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDOWS_LIBTOOL_FLAGS = @WINDOWS_LIBTOOL_FLAGS@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ dist_man_MANS = \ lepton-archive.1 EXTRA_DIST = \ lepton-archive.1.in # Rules for converting man->html html_man_files = $(dist_man_MANS:%.1=%.html) SUFFIXES = .1.in .1 .html docsmandir = $(docdir)/man dist_docsman_DATA = $(html_man_files) CLEANFILES = $(dist_man_MANS) $(html_man_files) all: all-am .SUFFIXES: .SUFFIXES: .1.in .1 .html $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/archive/docs/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign utils/archive/docs/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-man1: $(dist_man_MANS) @$(NORMAL_INSTALL) @list1=''; \ list2='$(dist_man_MANS)'; \ test -n "$(man1dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.1[a-z]*$$/p'; \ fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ done | \ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ sed 'N;N;s,\n, ,g' | { \ list=; while read file base inst; do \ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ fi; \ done; \ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ while read files; do \ test -z "$$files" || { \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ done; } uninstall-man1: @$(NORMAL_UNINSTALL) @list=''; test -n "$(man1dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \ sed -n '/\.1[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) install-dist_docsmanDATA: $(dist_docsman_DATA) @$(NORMAL_INSTALL) @list='$(dist_docsman_DATA)'; test -n "$(docsmandir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(docsmandir)'"; \ $(MKDIR_P) "$(DESTDIR)$(docsmandir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docsmandir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(docsmandir)" || exit $$?; \ done uninstall-dist_docsmanDATA: @$(NORMAL_UNINSTALL) @list='$(dist_docsman_DATA)'; test -n "$(docsmandir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(docsmandir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(MANS) $(DATA) installdirs: for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docsmandir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dist_docsmanDATA install-man install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-man1 install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-dist_docsmanDATA uninstall-man uninstall-man: uninstall-man1 .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am \ install-dist_docsmanDATA install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-man1 \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags-am uninstall uninstall-am uninstall-dist_docsmanDATA \ uninstall-man uninstall-man1 .PRECIOUS: Makefile .1.in.1: d=`$(GUILE) -c '(setlocale LC_ALL "C") \ (display (strftime "%B %-d, %Y" \ (car (strptime "%Y%m%d" (cadr (program-arguments))))))' $(DATE_VERSION)` ; \ v="$(DOTTED_VERSION).$(DATE_VERSION)" ; \ y=`echo $(DATE_VERSION)| sed -e"s/\(....\).*/\1/"`; \ sed -e"s:[@]DATE@:$$d:" -e"s:[@]VERSION@:$$v:" -e"s:[@]YEAR@:$$y:" < $< > $@ @ENABLE_GROFF_HTML_TRUE@.1.html: @ENABLE_GROFF_HTML_TRUE@ rm -rf $@.tmp && \ @ENABLE_GROFF_HTML_TRUE@ LC_NUMERIC=C $(GROFF) -man -T html $< >$@.tmp && \ @ENABLE_GROFF_HTML_TRUE@ mv -f $@.tmp $@ @ENABLE_GROFF_HTML_FALSE@.1.html: @ENABLE_GROFF_HTML_FALSE@ @echo "No working groff available: cannot create $@" @ENABLE_GROFF_HTML_FALSE@ @! : # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/archive/docs/lepton-archive.html0000644000175000017500000001067714101262653020113 00000000000000 lepton-archive

lepton-archive

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
AUTHOR
SEE ALSO
COPYRIGHT

NAME

lepton-archive - create and extract Lepton EDA design archives

SYNOPSIS

lepton-archive [OPTIONS] FILE ...

DESCRIPTION

lepton-archive creates and extracts Lepton EDA designs from an archive. The two modes of operation are "archive mode" (archive creation) and "extract mode". In archive mode it creates a project archive from a bunch of project files, and in extract mode it extracts the files from the archive and places them in the local directory.

In archive mode the program processes schematic files traversing their hierarchy, collecting and caching all subschematics, symbols and subcircuits specified in the "file=" attributes.

Archive mode is the default.

OPTIONS

-h, --help Print usage information.
-v, --verbose Verbose mode.
-f, --files-from=FILE Additionally read filenames to archive from FILE.
-e, --extract Extract mode. Mandatory if you want to extract from archive.
-a, --archive Archive mode. It is the default mode.
-o, --output=FILE Specify the name of the output archive file
in archive mode. If FILE has no ".tar.gz" suffix it will be
automatically appended.
Default file name is "project-archive.tar.gz".

EXAMPLES

To create an archive named MyArchive.tar.gz, the files to store are listed in "archive-list":

lepton-archive -f archive-list -o MyArchive.tar.gz

The same by using just file basename:

lepton-archive -f archive-list -o MyArchive

Verbosely create an archive from files listed on command line:

lepton-archive -v README sch1.sch sch2.sch sch3.sch

Extract an archive:

lepton-archive -e project-archive.tar.gz

AUTHOR

The initial Python script has been written by Stuart Brorson <sdb@cloud9.net>. The program has been rewritten almost from scratch in Scheme by Vladimir Zhbanov <vzhbanov@gmail.com>.

SEE ALSO

lepton-schematic(1)

COPYRIGHT

Copyright © 2012-2017 gEDA Contributors.
Copyright © 2019-2021 Lepton EDA Contributors.
License GPLv2+: GNU GPL version 2 or later. Please see the ’COPYING’
file included with this program for full details.

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


lepton-eda-1.9.16/utils/archive/docs/lepton-archive.1.in0000644000175000017500000000455314101257250017705 00000000000000.TH lepton-archive 1 "@DATE@" "Lepton EDA" @VERSION@ .SH NAME lepton-archive \- create and extract Lepton EDA design archives .SH SYNOPSIS .B lepton-archive .RI [ OPTIONS ] .I FILE \&... .SH DESCRIPTION .B lepton-archive creates and extracts Lepton EDA designs from an archive. The two modes of operation are "archive mode" (archive creation) and "extract mode". In archive mode it creates a project archive from a bunch of project files, and in extract mode it extracts the files from the archive and places them in the local directory. .PP In archive mode the program processes schematic files traversing their hierarchy, collecting and caching all subschematics, symbols and subcircuits specified in the "file=" attributes. .PP Archive mode is the default. .SH OPTIONS .nf \-h, \-\-help Print usage information. \-v, \-\-verbose Verbose mode. \-f, \-\-files\-from=FILE Additionally read filenames to archive from FILE. \-e, \-\-extract Extract mode. Mandatory if you want to extract from archive. \-a, \-\-archive Archive mode. It is the default mode. \-o, \-\-output=FILE Specify the name of the output archive file in archive mode. If FILE has no ".tar.gz" suffix it will be automatically appended. Default file name is "project-archive.tar.gz". .SH EXAMPLES To create an archive named MyArchive.tar.gz, the files to store are listed in "archive-list": .IP lepton-archive \-f archive-list \-o MyArchive.tar.gz .PP The same by using just file basename: .IP lepton-archive \-f archive-list \-o MyArchive .PP Verbosely create an archive from files listed on command line: .IP lepton-archive \-v README sch1.sch sch2.sch sch3.sch .PP Extract an archive: .IP lepton-archive \-e project-archive.tar.gz .SH AUTHOR The initial Python script has been written by Stuart Brorson . The program has been rewritten almost from scratch in Scheme by Vladimir Zhbanov . .SH SEE ALSO .BR lepton-schematic(1) .SH COPYRIGHT .nf Copyright \(co 2012-2017 gEDA Contributors. Copyright \(co 2019-@YEAR@ Lepton EDA Contributors. License GPLv2+: GNU GPL version 2 or later. Please see the `COPYING' file included with this program for full details. .PP This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. lepton-eda-1.9.16/utils/archive/lepton-archive.scm0000755000175000017500000007514114101257250016776 00000000000000#!/usr/bin/env sh export GUILE_LOAD_COMPILED_PATH="@ccachedir@:${GUILE_LOAD_COMPILED_PATH}" exec @GUILE@ -s "$0" "$@" !# ;;; Copyright (C) 2019-2021 Lepton EDA Contributors ;;; ;;; Based on Python script by Stuart Brorson: ;;; Copyright (C) 2003 Stuart Brorson ;;; ;;; This program is free software; you can redistribute it and/or modify ;;; it under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 2 of the License, or ;;; (at your option) any later version. ;;; ;;; This program is distributed in the hope that it will be useful, ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with this program; if not, write to the Free Software ;;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ;;; This program is used to create a Lepton EDA design archive. ;;; It operates in two modes: archive mode and extract mode. In ;;; archive mode it creates a project archive from a bunch of ;;; project files, and in extract mode it extracts the files from ;;; the archive and places them in the local dir. ;;; Detailed description: ;;; Use -h option to get information about program invocation. ;;; Archive mode algorithm: ;;; - In the project directory (current directory), create archive ;;; file list containing 'gafrc', files listed on command line, ;;; and contents of the file specified with the --files-from (-f) ;;; option. ;;; - Make temporary directory with the name of the project. ;;; - Make cache directory in it. ;;; - Create schematic file list from the archive file list. ;;; - Copy all schematics and files from the archive file list ;;; into the temporary directory. ;;; - Copy symbols from all the schematics into the cache ;;; directory. ;;; - Copy all SPICE files found in schematics into the cache ;;; directory. ;;; - Fix gafrc in the temporary directory so lepton-schematic ;;; could find all symbols and SPICE files in the archive later. ;;; - Create tar.gz archive from all the above files and move it ;;; to the project directory. ;;; - Remove the temporary directory. ;;; Extract mode algorithm: ;;; - Copy archive file into temp directory. ;;; - Create a list of archive's contents using "tar -t -f ;;; archive-name" ;;; - Extract files into the temp directory ;;; - Move all extracted files recursively into user's directory. ;;; Before each move, make sure that no overwrite of existing ;;; files will occur. (eval-when (expand load eval) (unless (getenv "LIBLEPTON") (add-to-load-path "@LEPTON_SCHEME_MODULE_DIRECTORY@"))) (use-modules (ice-9 ftw) (ice-9 getopt-long) (ice-9 match) (ice-9 popen) (ice-9 rdelim) (ice-9 streams) (ice-9 rdelim) (srfi srfi-1) (srfi srfi-26) (lepton ffi)) ;;; Initialize liblepton library. (liblepton_init) (primitive-eval '(use-modules (lepton core toplevel) (lepton log) (lepton file-system) (lepton library) (lepton library component) (lepton object) (lepton os) (lepton page) (lepton rc) (lepton version) (netlist schematic) (netlist schematic-component))) ;;; Helper functions and data structures. ;;; Default archive name. Use lowercase letters to avoid issues ;;; with case sensitive filesystems. (define default-archive-name "project-archive") (define gafrc "gafrc") ;;; Directory holding files to archive. It is the current ;;; directory where the program was invoked. (define project-directory (getcwd)) ;;; Directory for caching schematic files. (define cache-directory "cache") ;;; Help string. (define usage-info (format #f "Usage: ~A [OPTION...] FILES... Used to create as well as extract Lepton EDA designs from an archive. The two modes of operation are \"archive mode\" (archive creation) and \"extract mode\". Archive mode is the default. Command line switches: -h,--help -- Print usage information. -V,--version -- Print version information. -v,--verbose -- Verbose mode. -f,--files-from=FILE -- Additionally read filenames to archive from FILE. -e,--extract -- Extract mode. Mandatory if you want to extract from archive. -a,--archive -- Archive mode. It is the default mode. -o,--output=FILE -- Specify the name of the output archive file in archive mode. If FILE has no \".tar.gz\" suffix it will be automatically appended. Default file name is \"~A.tar.gz\". Example usage: Create an archive named \"MyArchive.tar.gz\", files to store are listed in \"archive-list\": lepton-archive -f archive-list -o MyArchive.tar.gz The same by using just file basename: lepton-archive -f archive-list -o MyArchive Verbosely create an archive from files listed on command line: lepton-archive -v README sch1.sch sch2.sch sch3.sch Extract an archive: lepton-archive -e ~A.tar.gz " (basename (car (program-arguments))) default-archive-name default-archive-name)) (define (print-version) (display-lepton-version #:print-name #t #:copyright #t)) (define %option-spec '((help (single-char #\h) (value #f)) (files-from (single-char #\f) (value #t)) (version (single-char #\V) (value #f)) (verbose (single-char #\v) (value #f)) (extract (single-char #\e) (value #f)) (archive (single-char #\a) (value #f)) (output (single-char #\o) (value #t)))) (define (format-error s . args) (apply format (current-error-port) s args) (primitive-exit 1)) (define (wrong-option-handler) "Primitive wrong option handler for getopt-long." (format-error "Use \"~A -h\" for help\n" (car (program-arguments)))) ;;; Options. (define %options (catch #t (lambda () (getopt-long (program-arguments) %option-spec)) (lambda (key . args) (wrong-option-handler)))) (define archive-mode? (option-ref %options 'archive #f)) (define extract-mode? (option-ref %options 'extract #f)) (define output-archive-name (option-ref %options 'output #f)) (define archiverc-name (option-ref %options 'files-from #f)) (define help-mode? (option-ref %options 'help #f)) (define version-mode? (option-ref %options 'version #f)) (define verbose-mode? (option-ref %options 'verbose #f)) (define command-line-file-list (option-ref %options '() '())) (define (debug-format s . args) "Formats and outputs S using ARGS when the verbose mode is set." (when verbose-mode? (display "---- ") (apply format (current-error-port) s args) (newline))) (define (prompt-confirmed? prompt default-char) (display prompt) (let ((input-string (read-line (current-input-port)))) (display #\newline) (and (not (string-ci=? input-string "n")) (or (string-ci=? input-string "y") (and (not (string-ci=? default-char "n")) (string-ci=? default-char "y")))))) (define (make-absolute-filename dir-name file-name) "Transforms FILE-NAME into an absolute filename using DIR-NAME as a prefix if it is a relative filename, otherwise leaves it as is. Thus, filenames containing special paths like \".\" or \"..\" or no directory path can be converted into absolute." (if (absolute-file-name? file-name) file-name (string-append dir-name file-name-separator-string file-name))) (define (check-archive-filename filename) "Checks if FILENAME is a valid archive filename." (string-suffix-ci? ".tar.gz" filename)) ;;; Make up output archive name. (define (form-output-file-name) (let* ((name (or output-archive-name default-archive-name)) (suffix ".tar.gz") (suffix-length (string-length ".tar.gz"))) (if (string-suffix-ci? suffix name) (string-drop-right name suffix-length) name))) (define (report-preserve-existing-file file) (format #t "Preserving existing ~S in local directory.\n\n" file) #f) (define* (delete-file* filename #:optional quiet) (catch #t (lambda () (delete-file filename)) (lambda (key . args) (unless quiet (format #t "Cannot delete file ~S.\n~S: ~S\n" filename key args)) #f))) (define* (copy-file* old-filename new-filename #:optional quiet) (catch #t (lambda () (copy-file old-filename new-filename)) (lambda (key . args) (unless quiet (format #t "Cannot copy file ~S to ~S.\n~S: ~S\n" old-filename new-filename key args)) #f))) (define (copy-file-to-dir filename directory-name) (copy-file* filename (make-absolute-filename directory-name (basename filename)))) (define (rename-file* old-filename new-filename) (catch #t (lambda () (rename-file old-filename new-filename)) (lambda (key . args) (or (and (copy-file* old-filename new-filename 'quiet) (delete-file* old-filename 'quiet)) (begin (format #t "Cannot rename file ~S to ~S.\n~S: ~S\n" old-filename new-filename key args) #f))))) (define (mkdir* path . args) (if (file-exists? path) ;; If file exists, and it is directory, do nothing. ;; Otherwise, ask the user, if she wants to overwrite it. (unless (directory? path) (if (prompt-confirmed? (format #f "~S already exists and is not directory. Overwrite? [y/N] " path) ;; default "n") (begin (delete-file* path) (apply mkdir path args)) (report-preserve-existing-file path))) ;; No file exists, just create the directory. (apply mkdir path args))) (define (rmdir* filename) (catch #t (lambda () (rmdir filename)) (lambda (key . args) (format #t "Cannot remove directory ~S.\n~S: ~S\n" filename key args)))) (define (ls->path ls prefix) (define (add-file-name-separator path) (if (file-name-separator? (string-ref path (1- (string-length path)))) path (string-append path file-name-separator-string))) (string-append (add-file-name-separator prefix) (string-join (reverse ls) file-name-separator-string))) (define (move-files-recursively from-path to-path) (define (enter? name stat result) (let* ((ls (cons (basename name) (or result '()))) (directory-name (ls->path ls to-path))) (debug-format "Check directory: ~S" directory-name) ;; If file exists, and it is directory, do nothing. ;; Otherwise, ask the user, if she wants to overwrite it. (if (and (file-exists? directory-name) (not (directory? directory-name))) (if (prompt-confirmed? (format #f "~S already exists and is not directory. Overwrite? [y/N] " directory-name) ;; default "n") (delete-file* directory-name) (report-preserve-existing-file directory-name)) ;; No file exists, just create the directory. #t))) (define (leaf name stat result) ;; Increment the number of files processed. (let ((new-filename (ls->path (cons (basename name) result) to-path))) (debug-format "Move file ~S to ~S" name new-filename) (if (and (file-exists? new-filename) (not (prompt-confirmed? (format #f "~S already exists. Overwrite? [y/N] " new-filename) ;; default "n"))) (begin (report-preserve-existing-file new-filename) ;; Remove the file anyway. The user can restore it ;; from the same archive later, if needed. (delete-file* name)) (rename-file* name new-filename)) result)) ;; Descend to a directory, and make its sibling in another tree. (define (down name stat result) (if result (let* ((ls (cons (basename name) result)) (directory-name (ls->path ls to-path))) (debug-format "Make directory: ~S" directory-name) (mkdir* directory-name) ls) '())) ;; Ascend from a directory and remove it. (define (up name stat result) (let ((directory-name (if (null? result) from-path (ls->path result from-path)))) (debug-format "Remove empty directory ~S" directory-name) (rmdir* directory-name) ;; Return value: it is #t when there is nothing to traverse ;; more, or the list reflecting the upper directory. (or (null? result) (cdr result)))) ;; Likewise for skipped directories. (define (skip name stat result) (debug-format "Directory skipped.\n") result) ;; Ignore unreadable files/directories but warn the user. (define (error name stat errno result) (format (current-error-port) "warning: ~a: ~a~%" name (strerror errno)) result) (file-system-fold enter? leaf down up skip error #f from-path)) (define (copy-files-recursively from-path to-path) (define (enter? name stat result) (let* ((ls (cons (basename name) (or result '()))) (directory-name (ls->path ls to-path))) ;; If file exists, and it is directory, do nothing. ;; Otherwise, ask the user, if she wants to overwrite it. (if (and (file-exists? directory-name) (not (directory? directory-name))) (if (prompt-confirmed? (format #f "~S already exists and is not directory. Overwrite? [y/N] " directory-name) ;; default "n") (delete-file* directory-name) (report-preserve-existing-file directory-name)) ;; No file exists, just create the directory. #t))) (define (leaf name stat result) ;; Increment the number of files processed. (let ((new-filename (ls->path (cons (basename name) result) to-path))) (debug-format "Copy file ~S to ~S" name new-filename) (if (and (file-exists? new-filename) (not (prompt-confirmed? (format #f "~S already exists. Overwrite? [y/N] " new-filename) ;; default "n"))) (report-preserve-existing-file new-filename) (copy-file* name new-filename)) result)) ;; Descend to a directory, and make its sibling in another tree. (define (down name stat result) (let* ((ls (cons (basename name) (or result '()))) (directory-name (ls->path ls to-path))) (debug-format "Make directory: ~S" directory-name) (mkdir* directory-name) ls)) ;; Ascend from a directory and remove it. (define (up name stat result) (or (null? result) (cdr result))) ;; Likewise for skipped directories. (define (skip name stat result) (debug-format "Directory skipped.\n") result) ;; Ignore unreadable files/directories but warn the user. (define (error name stat errno result) (format (current-error-port) "warning: ~a: ~a~%" name (strerror errno)) result) (debug-format "Copy recursively ~S => ~S" from-path to-path) (file-system-fold enter? leaf down up skip error #f from-path)) (define (copy-to-dir filename directory-name) (debug-format "Copy ~S => ~S" filename directory-name) (let ((destination (make-absolute-filename directory-name (basename filename)))) (if (directory? filename) (copy-files-recursively filename directory-name) (copy-file* filename destination)))) (define (remove-temp-dir dir) ;; Get rid of temporary directory. (debug-format "Remove temporary directory ~S" dir) ;; Well, I could make a procedure for recursive removing of ;; the directory contents, but it is simpler just to use 'rm' ;; here. (system* "rm" "-r" "-f" dir)) (define (create-archive-file-list) "Create the list of files to archive, including \"gafrc\", files listed in the command line, and in the file specified by option \"--files-from\" (\"-f\")." (define archiverc (let ((files-from archiverc-name)) (and (string? files-from) files-from ;; The file must exist. (if (file-exists? files-from) files-from (format-error "Resource file ~S doesn't exist. Exiting.\n" files-from))))) (define not-string-null? (negate string-null?)) (define (archiverc-filenames) (if archiverc (with-input-from-file archiverc (lambda () (let loop ((line (read-line)) (result '())) (if (eof-object? line) (filter not-string-null? result) (loop (read-line) (cons (string-trim-both line) result)))))) ;; The file has not been specified, return empty list. '())) (define (make-empty-file filename) (format #t "Creating ~S in archive." filename) (with-output-to-file filename (lambda () (display ""))) filename) (define (add-file filename source) (let ((filename (make-absolute-filename project-directory (expand-env-variables filename)))) (debug-format "Check ~S" filename) (if (file-exists? filename) filename (match source ('command-line (format #t "Ignore non-existent file listed in command line: ~S\n" filename) #f) ('archiverc (format #t "Ignore non-existent file listed in ~S: ~S\n" archiverc filename) #f) ('rc (if (prompt-confirmed? (format #f "Non-existent file ~S.\nCreate empty version in local dir? [Y/n] " filename) ;; default "y") (make-empty-file filename) (format-error "You need ~S to create archive. Aborting.\n" filename))))))) (define (add-rc-file filename) (add-file filename 'rc)) (define (add-command-line-file filename) (add-file filename 'command-line)) (define (add-archiverc-file filename) (add-file filename 'archiverc)) (delete-duplicates (append ;; Add RC files. (list (add-rc-file gafrc)) ;; Get names of all schematics and other files to archive. ;; First get file names from command line. (filter-map add-command-line-file command-line-file-list) ;; Next get file names from file, if specified. (filter-map add-archiverc-file (archiverc-filenames))))) (define (create-schematic-file-list filename-list) "Creates the list of schematic files to search. Right now I just run through FILE-LIST and pull out all files ending in .sch. Files are saved in list with basename (no path)." (define (readable-schematic? filename) (and (string-suffix? ".sch" filename) (or (file-readable? filename) (format-error "Can't access ~S for reading. Exiting." filename)))) ;; We need to make sure that this file is not already in the list. (delete-duplicates (filter readable-schematic? filename-list))) (define (create-symbol-file-list schematic-file-list) "Opens each schematic file in SCHEMATIC-FILE-LIST and collects component names used." (define (schematic-symbols filename) (map component-basename (filter component? (page-contents (file->page filename))))) (delete-duplicates (append-map schematic-symbols schematic-file-list))) (define (save-symbols symbol-file-list archive-directory) "Copies symbols in SYMBOL-FILE-LIST to ARCHIVE-DIRECTORY." (for-each (lambda (symbol-filename) (debug-format "Save symbol ~S" symbol-filename) (let ((source (absolute-component-name symbol-filename))) (if source (copy-file-to-dir source archive-directory) (format #t "Symbol ~S not found.\n" symbol-filename)))) symbol-file-list)) (define (update-rc dir) "Updates gafrc by resetting component libraries and adding a new symbol cache directory." (let ((port (open (make-absolute-filename dir (basename gafrc)) (logior O_WRONLY O_APPEND)))) (format port " (reset-component-library) (component-library ~S) (reset-source-library) (source-library ~S) " cache-directory cache-directory) (close port))) (define (flatten-tree ls) (let loop ((result '()) (ls ls)) (if (null? ls) result (let ((x (car ls)) (rest (cdr ls))) (loop (if (list? x) (append (flatten-tree x) result) (cons x result)) (cdr ls)))))) (define (source-library-filename filename) (define (get-source-or-absolute-filename) (or (get-source-library-file filename) ;; If we cannot find the filename in the source library, ;; maybe it was specified prefixed with a directory name. (and (not (string= filename (basename filename))) (format #t "File ~S will be copied to the ~S subdirectory of your archive. This can lead to wrong processing of your schematics by other tools. Please use file basenames in your schematics to fix this.\n\n" filename cache-directory) (make-absolute-filename project-directory filename)))) (let ((source-filename (get-source-or-absolute-filename))) (if (and source-filename (file-exists? source-filename)) source-filename (begin (debug-format "File ~S does not exist. Check your source-library." filename) #f)))) (define (subschematic-page-filenames schematic toplevel-schematics) (define (non-toplevel? name) (not (member (make-absolute-filename project-directory name) toplevel-schematics))) (let ((files (delete-duplicates (flatten-tree (schematic-name-tree schematic))))) (filter-map source-library-filename (filter non-toplevel? files)))) (define (save-schematics-and-sources toplevel-schematics temp-dir cache-dir) (let* ((schematic (file-name-list->schematic toplevel-schematics)) (subschematic-filenames (subschematic-page-filenames schematic toplevel-schematics)) (schematic-sources (filter-map (lambda (c) (schematic-component-attribute c 'file)) (schematic-components* schematic))) (source-filenames (filter-map source-library-filename schematic-sources)) (symbol-filenames (create-symbol-file-list (append toplevel-schematics subschematic-filenames)))) (for-each (lambda (sch) (copy-to-dir sch temp-dir)) toplevel-schematics) (for-each (lambda (sch) (copy-to-dir sch cache-dir)) subschematic-filenames) (for-each (lambda (cir) (copy-to-dir cir cache-dir)) source-filenames) (save-symbols symbol-filenames cache-dir))) ;;; Archiver. (define (archive) "Main archiver." (define (make-tmp-dir name) (mkdir* name #o700) name) (let* ( ;; Make a temporary directory. (temp/ (make-tmp-dir (tmpnam))) ;; Temporary project directory to put files and create ;; archive in. (temp/project (make-tmp-dir (make-absolute-filename temp/ (basename project-directory)))) ;; Add cache directory for symbols. (temp/project/cache (make-tmp-dir (make-absolute-filename temp/project cache-directory))) (output (form-output-file-name)) (output.tar (string-append output ".tar")) (output.tar.gz (string-append output.tar ".gz")) (temp/output.tar (make-absolute-filename temp/ (basename output.tar))) (temp/output.tar.gz (make-absolute-filename temp/ (basename output.tar.gz))) (project/output.tar.gz (make-absolute-filename project-directory output.tar.gz)) ;; Create list of files (and directories) to stick into ;; archive. Returned paths point to the absolute paths of ;; the files. (archive-file-list (create-archive-file-list)) ;; Create list of schematic files to open and search. ;; Returned paths give only the base name (i.e. no path) (schematic-file-list (create-schematic-file-list archive-file-list))) (debug-format "Temp directory: ~S" temp/) (debug-format "Temp project directory: ~S" temp/project) (debug-format "Temp cache directory: ~S" temp/project/cache) (debug-format "Temp archive name: ~S" temp/output.tar.gz) (debug-format "Destination archive name: ~S" project/output.tar.gz) ;; Copy all files over to temporary directory. (for-each (cut copy-to-dir <> temp/project) archive-file-list) ;; Stick symbol & SPICE files into the cache directory. (save-schematics-and-sources schematic-file-list temp/project temp/project/cache) ;; Now create tar file. We copy remaining files over to /tmp, ;; and then tar them all up using a local, relative file ;; prefix. ;; Update copy of gafrc. (update-rc temp/project) ;; Now use this in tar command. (system* "tar" "-C" temp/ "-c" "-f" temp/output.tar (basename temp/project)) (system* "gzip" temp/output.tar) ;; Now we should have temp/output.tar.gz prepared. ;; Now try to move completed archive back to user directory. (debug-format "Rename archive to ~S" project/output.tar.gz) (if (or (not (file-exists? project/output.tar.gz)) (prompt-confirmed? (format #f "~S already exists. Overwrite? [y/N] " project/output.tar.gz) ;; default "n")) ;; Force renaming. (begin (when (file-exists? project/output.tar.gz) ;; Remove old archive if it exists. (delete-file* project/output.tar.gz)) (rename-file* temp/output.tar.gz project/output.tar.gz) (format #t "Project archive ~S created successfully!\n" project/output.tar.gz) (remove-temp-dir temp/)) ;; Otherwise, report the place of the new archive. (format #t "Preserving existing archive in local directory. Your new archive lives in ~S\n" temp/output.tar.gz)))) ;;; Extracter. (define (extract) "Extracts the archive into the current directory." ;; Temporary directory to extract archive in. (define tmpdir (let ((name (tmpnam))) (mkdir* name #o700) name)) (define string-not-null? (negate string-null?)) (define (report-non-existing-file filename) (format #t "File ~S doesn't exist. Ignoring.\n" filename)) (define (get-command-output command) (apply string (stream->list (port->stream (open-input-pipe command) read-char)))) (define (extract-file archive-filename filename) (debug-format "Extracting ~S" filename) (system* "tar" "-f" archive-filename "-x" filename)) (define (is-simple-file? file) (string=? (basename file) file)) (define (extract-from-archive filename.tar.gz) (debug-format "Trying to extract archive ~S." filename.tar.gz) (unless (copy-file-to-dir filename.tar.gz tmpdir) (format-error "Can't work in the ~S directory. Check that you have write permission there.\n" tmpdir)) (chdir tmpdir) ;; Change name of file so it can be gunziped. (unless (check-archive-filename filename.tar.gz) (format-error " Error -- the file suffix is not \".tar.gz\"; lepton-archive can't do extraction. If this archive was created using lepton-archive, you can rename it using .tar.gz as suffix and try again. Otherwise, just gunzip and tar -xvf the file manually.\n")) ;; Gunzip the file. (system* "gunzip" "-f" filename.tar.gz) (let* ( ;; Get rid of the ".gz" suffix. (filename.tar (string-drop-right filename.tar.gz 3)) ;; Get list of files in the archive. (return-string (get-command-output (string-append "tar -t -f " filename.tar))) (filename-list (filter string-not-null? (string-split return-string #\newline)))) ;; Extract all files first. (for-each (cut extract-file filename.tar <>) filename-list) ;; Clean up /tmp directory. (delete-file* filename.tar) ;; Don't report errors on deleting tar.gz, since gunzip ;; might delete it before. (delete-file* filename.tar.gz 'quiet) ;; Move files to the project directory. (move-files-recursively tmpdir project-directory) (chdir project-directory))) (define (process-file filename) (if (file-exists? filename) (extract-from-archive filename) (report-non-existing-file filename))) (when (null? command-line-file-list) (format-error "Must specify a filename for extraction.\n")) (for-each process-file command-line-file-list)) ;;; Main program. (define (main) (when help-mode? (display usage-info) (primitive-exit 0)) (when version-mode? (print-version) (primitive-exit 0)) (if (and extract-mode? archive-mode?) (format-error "Mutually exclusive option --archive and --extract.\n") ;; Archive mode is default. Don't check any options, just check ;; extract mode is set or not. (if extract-mode? (if output-archive-name ;; Check for options invalid in extract mode. (format-error "Incompatible command line arguments --extract and --output.\n") (extract)) (archive)))) (%with-toplevel (%make-toplevel) (lambda () ;; Process all gafrc files. (parse-rc "lepton-archive" "gafrc" ) ;; Init log domain and create log file right away even if ;; logging is enabled. (init-log "archive") (main))) lepton-eda-1.9.16/utils/archive/Makefile.in0000644000175000017500000006330614101262632015414 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = utils/archive ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/guile.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lepton-assert.m4 \ $(top_srcdir)/m4/lepton-attrib.m4 \ $(top_srcdir)/m4/lepton-awk.m4 \ $(top_srcdir)/m4/lepton-cairo.m4 \ $(top_srcdir)/m4/lepton-contrib.m4 \ $(top_srcdir)/m4/lepton-data-dirs.m4 \ $(top_srcdir)/m4/lepton-desktop-i18n.m4 \ $(top_srcdir)/m4/lepton-desktop.m4 \ $(top_srcdir)/m4/lepton-doxygen.m4 \ $(top_srcdir)/m4/lepton-gcc-flags.m4 \ $(top_srcdir)/m4/lepton-git-version.m4 \ $(top_srcdir)/m4/lepton-git.m4 \ $(top_srcdir)/m4/lepton-groff.m4 \ $(top_srcdir)/m4/lepton-guile.m4 \ $(top_srcdir)/m4/lepton-host.m4 \ $(top_srcdir)/m4/lepton-stroke.m4 \ $(top_srcdir)/m4/lepton-uri-viewer.m4 \ $(top_srcdir)/m4/lepton-windows.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/liblepton.m4 \ $(top_srcdir)/m4/libleptonattrib.m4 \ $(top_srcdir)/m4/libleptongui.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pcb-data-dirs.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(bindir)" SCRIPTS = $(bin_SCRIPTS) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir distdir-am am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITMAP_DIRECTORY = @BITMAP_DIRECTORY@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@ CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@ CAIRO_PNG_CFLAGS = @CAIRO_PNG_CFLAGS@ CAIRO_PNG_LIBS = @CAIRO_PNG_LIBS@ CAIRO_PS_CFLAGS = @CAIRO_PS_CFLAGS@ CAIRO_PS_LIBS = @CAIRO_PS_LIBS@ CAIRO_SVG_CFLAGS = @CAIRO_SVG_CFLAGS@ CAIRO_SVG_LIBS = @CAIRO_SVG_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE_VERSION = @DATE_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DESKTOP_I18N = @DESKTOP_I18N@ DESKTOP_I18N_CREATE = @DESKTOP_I18N_CREATE@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@ DESKTOP_I18N_SCRIPT = @DESKTOP_I18N_SCRIPT@ DLLTOOL = @DLLTOOL@ DOT = @DOT@ DOTTED_VERSION = @DOTTED_VERSION@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GDK_CFLAGS = @GDK_CFLAGS@ GDK_LIBS = @GDK_LIBS@ GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@ GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@ GETTEXT = @GETTEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GIT = @GIT@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GROFF = @GROFF@ GTKEXTRA_CFLAGS = @GTKEXTRA_CFLAGS@ GTKEXTRA_LIBS = @GTKEXTRA_LIBS@ GTKSHEET_CFLAGS = @GTKSHEET_CFLAGS@ GTKSHEET_LIBS = @GTKSHEET_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GUILD = @GUILD@ GUILE = @GUILE@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@ GUILE_LDFLAGS = @GUILE_LDFLAGS@ GUILE_LIBS = @GUILE_LIBS@ GUILE_LTLIBS = @GUILE_LTLIBS@ GUILE_PKG_NAME = @GUILE_PKG_NAME@ GUILE_SNARF = @GUILE_SNARF@ GUILE_TOOLS = @GUILE_TOOLS@ HAVE_GIT_REPO = @HAVE_GIT_REPO@ ICON_THEME_INSTALLER = @ICON_THEME_INSTALLER@ INKSCAPE = @INKSCAPE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEPTONDATADIR = @LEPTONDATADIR@ LEPTON_SCHEME_MODULE_DIRECTORY = @LEPTON_SCHEME_MODULE_DIRECTORY@ LEPTON_SCM_PRECOMPILE_DIR = @LEPTON_SCM_PRECOMPILE_DIR@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBLEPTONATTRIB_MAJOR = @LIBLEPTONATTRIB_MAJOR@ LIBLEPTONATTRIB_SHLIB_VERSION = @LIBLEPTONATTRIB_SHLIB_VERSION@ LIBLEPTONGUI_MAJOR = @LIBLEPTONGUI_MAJOR@ LIBLEPTONGUI_SHLIB_VERSION = @LIBLEPTONGUI_SHLIB_VERSION@ LIBLEPTON_GETTEXT_DOMAIN = @LIBLEPTON_GETTEXT_DOMAIN@ LIBLEPTON_MAJOR = @LIBLEPTON_MAJOR@ LIBLEPTON_SHLIB_VERSION = @LIBLEPTON_SHLIB_VERSION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSTROKE_CPPFLAGS = @LIBSTROKE_CPPFLAGS@ LIBSTROKE_LDFLAGS = @LIBSTROKE_LDFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ M4 = @M4@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MINGW_CFLAGS = @MINGW_CFLAGS@ MINGW_GUI_LDFLAGS = @MINGW_GUI_LDFLAGS@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCBDATADIR = @PCBDATADIR@ PCBLIBPATH = @PCBLIBPATH@ PCBM4DIR = @PCBM4DIR@ PDFLATEX = @PDFLATEX@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ URI_VIEWER = @URI_VIEWER@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDOWS_LIBTOOL_FLAGS = @WINDOWS_LIBTOOL_FLAGS@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = \ docs bin_SCRIPTS = \ lepton-archive EXTRA_DIST = \ lepton-archive.scm do_subst = sed -e 's,[@]libdir[@],$(libdir),g' \ -e 's,[@]GUILE[@],$(GUILE),g' \ -e 's,[@]LEPTON_SCHEME_MODULE_DIRECTORY[@],$(LEPTON_SCHEME_MODULE_DIRECTORY),g' \ -e 's,[@]localedir[@],$(localedir),g' \ -e 's,[@]ccachedir[@],@LEPTON_SCM_PRECOMPILE_DIR@,g' CLEANFILES = \ lepton-archive all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/archive/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign utils/archive/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-binSCRIPTS: $(bin_SCRIPTS) @$(NORMAL_INSTALL) @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n' \ -e 'h;s|.*|.|' \ -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) { files[d] = files[d] " " $$1; \ if (++n[d] == $(am__install_max)) { \ print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ else { print "f", d "/" $$4, $$1 } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 's,.*/,,;$(transform)'`; \ dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir) mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(SCRIPTS) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(bindir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-binSCRIPTS install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-binSCRIPTS .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ check-am clean clean-generic clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-binSCRIPTS install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ uninstall-am uninstall-binSCRIPTS .PRECIOUS: Makefile lepton-archive: lepton-archive.scm $(do_subst) < $(srcdir)/$@.scm > $@ chmod +x $@ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/refdes_renum/0000755000175000017500000000000014101262653014457 500000000000000lepton-eda-1.9.16/utils/refdes_renum/Makefile.am0000644000175000017500000000014614101257250016431 00000000000000SUBDIRS = \ docs \ tests bin_SCRIPTS = \ lepton-refdes_renum EXTRA_DIST = \ lepton-refdes_renum lepton-eda-1.9.16/utils/refdes_renum/docs/0000755000175000017500000000000014101262653015407 500000000000000lepton-eda-1.9.16/utils/refdes_renum/docs/Makefile.am0000644000175000017500000000151414101257250017361 00000000000000dist_man_MANS = \ lepton-refdes_renum.1 EXTRA_DIST = \ lepton-refdes_renum.1.in .1.in.1: d=`$(GUILE) -c '(setlocale LC_ALL "C") \ (display (strftime "%B %-d, %Y" \ (car (strptime "%Y%m%d" (cadr (program-arguments))))))' $(DATE_VERSION)` ; \ v="$(DOTTED_VERSION).$(DATE_VERSION)" ; \ y=`echo $(DATE_VERSION)| sed -e"s/\(....\).*/\1/"`; \ sed -e"s:[@]DATE@:$$d:" -e"s:[@]VERSION@:$$v:" -e"s:[@]YEAR@:$$y:" < $< > $@ # Rules for converting man->html html_man_files = $(dist_man_MANS:%.1=%.html) SUFFIXES = .1.in .1 .html docsmandir=$(docdir)/man dist_docsman_DATA=$(html_man_files) if ENABLE_GROFF_HTML .1.html: rm -rf $@.tmp && \ LC_NUMERIC=C $(GROFF) -man -T html $< >$@.tmp && \ mv -f $@.tmp $@ else .1.html: @echo "No working groff available: cannot create $@" @! : endif CLEANFILES = $(dist_man_MANS) $(html_man_files) lepton-eda-1.9.16/utils/refdes_renum/docs/Makefile.in0000644000175000017500000005245414101262632017403 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = utils/refdes_renum/docs ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/guile.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lepton-assert.m4 \ $(top_srcdir)/m4/lepton-attrib.m4 \ $(top_srcdir)/m4/lepton-awk.m4 \ $(top_srcdir)/m4/lepton-cairo.m4 \ $(top_srcdir)/m4/lepton-contrib.m4 \ $(top_srcdir)/m4/lepton-data-dirs.m4 \ $(top_srcdir)/m4/lepton-desktop-i18n.m4 \ $(top_srcdir)/m4/lepton-desktop.m4 \ $(top_srcdir)/m4/lepton-doxygen.m4 \ $(top_srcdir)/m4/lepton-gcc-flags.m4 \ $(top_srcdir)/m4/lepton-git-version.m4 \ $(top_srcdir)/m4/lepton-git.m4 \ $(top_srcdir)/m4/lepton-groff.m4 \ $(top_srcdir)/m4/lepton-guile.m4 \ $(top_srcdir)/m4/lepton-host.m4 \ $(top_srcdir)/m4/lepton-stroke.m4 \ $(top_srcdir)/m4/lepton-uri-viewer.m4 \ $(top_srcdir)/m4/lepton-windows.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/liblepton.m4 \ $(top_srcdir)/m4/libleptonattrib.m4 \ $(top_srcdir)/m4/libleptongui.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pcb-data-dirs.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(dist_docsman_DATA) \ $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } man1dir = $(mandir)/man1 am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docsmandir)" NROFF = nroff MANS = $(dist_man_MANS) DATA = $(dist_docsman_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(dist_man_MANS) $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITMAP_DIRECTORY = @BITMAP_DIRECTORY@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@ CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@ CAIRO_PNG_CFLAGS = @CAIRO_PNG_CFLAGS@ CAIRO_PNG_LIBS = @CAIRO_PNG_LIBS@ CAIRO_PS_CFLAGS = @CAIRO_PS_CFLAGS@ CAIRO_PS_LIBS = @CAIRO_PS_LIBS@ CAIRO_SVG_CFLAGS = @CAIRO_SVG_CFLAGS@ CAIRO_SVG_LIBS = @CAIRO_SVG_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE_VERSION = @DATE_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DESKTOP_I18N = @DESKTOP_I18N@ DESKTOP_I18N_CREATE = @DESKTOP_I18N_CREATE@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@ DESKTOP_I18N_SCRIPT = @DESKTOP_I18N_SCRIPT@ DLLTOOL = @DLLTOOL@ DOT = @DOT@ DOTTED_VERSION = @DOTTED_VERSION@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GDK_CFLAGS = @GDK_CFLAGS@ GDK_LIBS = @GDK_LIBS@ GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@ GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@ GETTEXT = @GETTEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GIT = @GIT@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GROFF = @GROFF@ GTKEXTRA_CFLAGS = @GTKEXTRA_CFLAGS@ GTKEXTRA_LIBS = @GTKEXTRA_LIBS@ GTKSHEET_CFLAGS = @GTKSHEET_CFLAGS@ GTKSHEET_LIBS = @GTKSHEET_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GUILD = @GUILD@ GUILE = @GUILE@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@ GUILE_LDFLAGS = @GUILE_LDFLAGS@ GUILE_LIBS = @GUILE_LIBS@ GUILE_LTLIBS = @GUILE_LTLIBS@ GUILE_PKG_NAME = @GUILE_PKG_NAME@ GUILE_SNARF = @GUILE_SNARF@ GUILE_TOOLS = @GUILE_TOOLS@ HAVE_GIT_REPO = @HAVE_GIT_REPO@ ICON_THEME_INSTALLER = @ICON_THEME_INSTALLER@ INKSCAPE = @INKSCAPE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEPTONDATADIR = @LEPTONDATADIR@ LEPTON_SCHEME_MODULE_DIRECTORY = @LEPTON_SCHEME_MODULE_DIRECTORY@ LEPTON_SCM_PRECOMPILE_DIR = @LEPTON_SCM_PRECOMPILE_DIR@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBLEPTONATTRIB_MAJOR = @LIBLEPTONATTRIB_MAJOR@ LIBLEPTONATTRIB_SHLIB_VERSION = @LIBLEPTONATTRIB_SHLIB_VERSION@ LIBLEPTONGUI_MAJOR = @LIBLEPTONGUI_MAJOR@ LIBLEPTONGUI_SHLIB_VERSION = @LIBLEPTONGUI_SHLIB_VERSION@ LIBLEPTON_GETTEXT_DOMAIN = @LIBLEPTON_GETTEXT_DOMAIN@ LIBLEPTON_MAJOR = @LIBLEPTON_MAJOR@ LIBLEPTON_SHLIB_VERSION = @LIBLEPTON_SHLIB_VERSION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSTROKE_CPPFLAGS = @LIBSTROKE_CPPFLAGS@ LIBSTROKE_LDFLAGS = @LIBSTROKE_LDFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ M4 = @M4@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MINGW_CFLAGS = @MINGW_CFLAGS@ MINGW_GUI_LDFLAGS = @MINGW_GUI_LDFLAGS@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCBDATADIR = @PCBDATADIR@ PCBLIBPATH = @PCBLIBPATH@ PCBM4DIR = @PCBM4DIR@ PDFLATEX = @PDFLATEX@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ URI_VIEWER = @URI_VIEWER@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDOWS_LIBTOOL_FLAGS = @WINDOWS_LIBTOOL_FLAGS@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ dist_man_MANS = \ lepton-refdes_renum.1 EXTRA_DIST = \ lepton-refdes_renum.1.in # Rules for converting man->html html_man_files = $(dist_man_MANS:%.1=%.html) SUFFIXES = .1.in .1 .html docsmandir = $(docdir)/man dist_docsman_DATA = $(html_man_files) CLEANFILES = $(dist_man_MANS) $(html_man_files) all: all-am .SUFFIXES: .SUFFIXES: .1.in .1 .html $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/refdes_renum/docs/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign utils/refdes_renum/docs/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-man1: $(dist_man_MANS) @$(NORMAL_INSTALL) @list1=''; \ list2='$(dist_man_MANS)'; \ test -n "$(man1dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.1[a-z]*$$/p'; \ fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ done | \ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ sed 'N;N;s,\n, ,g' | { \ list=; while read file base inst; do \ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ fi; \ done; \ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ while read files; do \ test -z "$$files" || { \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ done; } uninstall-man1: @$(NORMAL_UNINSTALL) @list=''; test -n "$(man1dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \ sed -n '/\.1[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) install-dist_docsmanDATA: $(dist_docsman_DATA) @$(NORMAL_INSTALL) @list='$(dist_docsman_DATA)'; test -n "$(docsmandir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(docsmandir)'"; \ $(MKDIR_P) "$(DESTDIR)$(docsmandir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docsmandir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(docsmandir)" || exit $$?; \ done uninstall-dist_docsmanDATA: @$(NORMAL_UNINSTALL) @list='$(dist_docsman_DATA)'; test -n "$(docsmandir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(docsmandir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(MANS) $(DATA) installdirs: for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docsmandir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dist_docsmanDATA install-man install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-man1 install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-dist_docsmanDATA uninstall-man uninstall-man: uninstall-man1 .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am \ install-dist_docsmanDATA install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-man1 \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags-am uninstall uninstall-am uninstall-dist_docsmanDATA \ uninstall-man uninstall-man1 .PRECIOUS: Makefile .1.in.1: d=`$(GUILE) -c '(setlocale LC_ALL "C") \ (display (strftime "%B %-d, %Y" \ (car (strptime "%Y%m%d" (cadr (program-arguments))))))' $(DATE_VERSION)` ; \ v="$(DOTTED_VERSION).$(DATE_VERSION)" ; \ y=`echo $(DATE_VERSION)| sed -e"s/\(....\).*/\1/"`; \ sed -e"s:[@]DATE@:$$d:" -e"s:[@]VERSION@:$$v:" -e"s:[@]YEAR@:$$y:" < $< > $@ @ENABLE_GROFF_HTML_TRUE@.1.html: @ENABLE_GROFF_HTML_TRUE@ rm -rf $@.tmp && \ @ENABLE_GROFF_HTML_TRUE@ LC_NUMERIC=C $(GROFF) -man -T html $< >$@.tmp && \ @ENABLE_GROFF_HTML_TRUE@ mv -f $@.tmp $@ @ENABLE_GROFF_HTML_FALSE@.1.html: @ENABLE_GROFF_HTML_FALSE@ @echo "No working groff available: cannot create $@" @ENABLE_GROFF_HTML_FALSE@ @! : # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/refdes_renum/docs/lepton-refdes_renum.1.in0000644000175000017500000000523014101257250021770 00000000000000.TH lepton-refdes_renum 1 "@DATE@" "Lepton EDA" @VERSION@ .SH NAME lepton-refdes_renum \- Lepton EDA refdes renumbering utility .SH SYNOPSIS .B lepton-refdes_renum [\-\-nocopy] [\-\-pgskip [ .I number .B ] ] .I file1 .B ... .PP .B lepton-refdes_renum .BR \-\-help | \-h .PP .B lepton-refdes_renum \-\-version .SH DESCRIPTION .B lepton-refdes_renum reads a lepton-schematic schematic file or files and renumbers all reference designators. The reference designators are numbered starting with 1 and the old schematic file is replaced by the modified schematic file. .SH OPTIONS .TP .BR \-\-help ", " \-h Display a help message. .TP .B \-\-nocopy If given, this flag leaves the modified files in new files whose names are generated by appending a `.renum' to the original file names. The default is to overwrite the original. .TP .B \-\-pgskip When this flag is used, components on the first schematic sheet are numbered starting with 101. On the second sheet, they start with 201, etc Specifying a value gives the step between pages. For example \-\-pgskip 10 will start with 11, 21, 31, etc. .TP .B \-\-gentle This flag tells lepton-refdes_renum to leave any refdeses alone if they already have numbers. Use this option to number new components in a schematic which has already been numbered. Note that \-\-gentle is set by default! .TP .B \-\-force Set this flag to renumber all refdeses, whether they are already numbered or not. .TP .B \-\-verbose Enables verbose output. .TP .B \-\-version Shows the version of this program. .SH RETURN CODES .B lepton-refdes_renum returns the following codes to the shell upon completion: .TP 0 Program ran successfully. .TP 1 Error opening or reading input file. .TP 2 Error opening or writing output file. .TP 3 Too many components for \-\-pgskip setting. .TP 4 Internal error (program bug encountered). .SH EXAMPLES To renumber the reference designators in a single page schematic mysch.sch: .IP lepton-refdes_renum mysch.sch .PP To renumber the reference designators in schematic pages pg1.sch, pg2.sch and pg3.sch, with the reference designators on pg1.sch beginning at 101, the designators on pg2.sch beginning at 201, and the designators on pg3.sch beginning at 301: .IP lepton-refdes_renum \-\-pgskip pg1.sch pg2.sch pg3.sch .SH AUTHOR Dan McMahill .SH SEE ALSO .BR lepton-renum (1) .SH COPYRIGHT .nf Copyright \(co 2012-2017 gEDA Contributors. Copyright \(co @YEAR@ Lepton EDA Contributors. License GPLv2+: GNU GPL version 2 or later. Please see the `COPYING' file included with this program for full details. .PP This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. lepton-eda-1.9.16/utils/refdes_renum/docs/lepton-refdes_renum.html0000644000175000017500000001405314101262653022175 00000000000000 lepton-refdes_renum

lepton-refdes_renum

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
RETURN CODES
EXAMPLES
AUTHOR
SEE ALSO
COPYRIGHT

NAME

lepton-refdes_renum - Lepton EDA refdes renumbering utility

SYNOPSIS

lepton-refdes_renum [--nocopy] [--pgskip [ number ] ] file1 ...

lepton-refdes_renum --help|-h

lepton-refdes_renum --version

DESCRIPTION

lepton-refdes_renum reads a lepton-schematic schematic file or files and renumbers all reference designators. The reference designators are numbered starting with 1 and the old schematic file is replaced by the modified schematic file.

OPTIONS

--help, -h

Display a help message.

--nocopy

If given, this flag leaves the modified files in new files whose names are generated by appending a ’.renum’ to the original file names. The default is to overwrite the original.

--pgskip

When this flag is used, components on the first schematic sheet are numbered starting with 101. On the second sheet, they start with 201, etc Specifying a value gives the step between pages. For example --pgskip 10 will start with 11, 21, 31, etc.

--gentle

This flag tells lepton-refdes_renum to leave any refdeses alone if they already have numbers. Use this option to number new components in a schematic which has already been numbered. Note that --gentle is set by default!

--force

Set this flag to renumber all refdeses, whether they are already numbered or not.

--verbose

Enables verbose output.

--version

Shows the version of this program.

RETURN CODES

lepton-refdes_renum returns the following codes to the shell upon completion:

0

Program ran successfully.

1

Error opening or reading input file.

2

Error opening or writing output file.

3

Too many components for --pgskip setting.

4

Internal error (program bug encountered).

EXAMPLES

To renumber the reference designators in a single page schematic mysch.sch:

lepton-refdes_renum mysch.sch

To renumber the reference designators in schematic pages pg1.sch, pg2.sch and pg3.sch, with the reference designators on pg1.sch beginning at 101, the designators on pg2.sch beginning at 201, and the designators on pg3.sch beginning at 301:

lepton-refdes_renum --pgskip pg1.sch pg2.sch pg3.sch

AUTHOR

Dan McMahill <danmcmahill@netbsd.org>

SEE ALSO

lepton-renum(1)

COPYRIGHT

Copyright © 2012-2017 gEDA Contributors.
Copyright © 2021 Lepton EDA Contributors.
License GPLv2+: GNU GPL version 2 or later. Please see the ’COPYING’
file included with this program for full details.

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


lepton-eda-1.9.16/utils/refdes_renum/docs/lepton-refdes_renum.10000644000175000017500000000524314101262653021372 00000000000000.TH lepton-refdes_renum 1 "July 31, 2021" "Lepton EDA" 1.9.16.20210731 .SH NAME lepton-refdes_renum \- Lepton EDA refdes renumbering utility .SH SYNOPSIS .B lepton-refdes_renum [\-\-nocopy] [\-\-pgskip [ .I number .B ] ] .I file1 .B ... .PP .B lepton-refdes_renum .BR \-\-help | \-h .PP .B lepton-refdes_renum \-\-version .SH DESCRIPTION .B lepton-refdes_renum reads a lepton-schematic schematic file or files and renumbers all reference designators. The reference designators are numbered starting with 1 and the old schematic file is replaced by the modified schematic file. .SH OPTIONS .TP .BR \-\-help ", " \-h Display a help message. .TP .B \-\-nocopy If given, this flag leaves the modified files in new files whose names are generated by appending a `.renum' to the original file names. The default is to overwrite the original. .TP .B \-\-pgskip When this flag is used, components on the first schematic sheet are numbered starting with 101. On the second sheet, they start with 201, etc Specifying a value gives the step between pages. For example \-\-pgskip 10 will start with 11, 21, 31, etc. .TP .B \-\-gentle This flag tells lepton-refdes_renum to leave any refdeses alone if they already have numbers. Use this option to number new components in a schematic which has already been numbered. Note that \-\-gentle is set by default! .TP .B \-\-force Set this flag to renumber all refdeses, whether they are already numbered or not. .TP .B \-\-verbose Enables verbose output. .TP .B \-\-version Shows the version of this program. .SH RETURN CODES .B lepton-refdes_renum returns the following codes to the shell upon completion: .TP 0 Program ran successfully. .TP 1 Error opening or reading input file. .TP 2 Error opening or writing output file. .TP 3 Too many components for \-\-pgskip setting. .TP 4 Internal error (program bug encountered). .SH EXAMPLES To renumber the reference designators in a single page schematic mysch.sch: .IP lepton-refdes_renum mysch.sch .PP To renumber the reference designators in schematic pages pg1.sch, pg2.sch and pg3.sch, with the reference designators on pg1.sch beginning at 101, the designators on pg2.sch beginning at 201, and the designators on pg3.sch beginning at 301: .IP lepton-refdes_renum \-\-pgskip pg1.sch pg2.sch pg3.sch .SH AUTHOR Dan McMahill .SH SEE ALSO .BR lepton-renum (1) .SH COPYRIGHT .nf Copyright \(co 2012-2017 gEDA Contributors. Copyright \(co 2021 Lepton EDA Contributors. License GPLv2+: GNU GPL version 2 or later. Please see the `COPYING' file included with this program for full details. .PP This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. lepton-eda-1.9.16/utils/refdes_renum/lepton-refdes_renum0000755000175000017500000003424714101257250020311 00000000000000#!/usr/bin/env perl # # Copyright (C) 2003 Dan McMahill # Copyright (C) 2021 Lepton EDA Contributors # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # This script is used to renumber devices in a lepton-schematic (part of Lepton EDA) # schematic. This program works on single as well as multi-sheet # schematics. # # Usage: # lepton-refdes_renum file1.sch [file2.sch [file3.sch ...]] # # for parsing input options use Getopt::Long; # for ceil function use POSIX; # don't allow -he to be interpreted as --help $Getopt::Long::autoabbrev=0; # my $clear; # reset all refdes &GetOptions(("help|h" => \&usage, "nocopy" => \$nocopy, "pgskip:100" => \$pgskip, "verbose" => \$verbose, "version" => \&version, "clear" => \$clear, "gentle" => \$gentle, "force" => \$force, )); usage() if $Getopt::Long::error; # By default pgskip is empty. But if the user gives # the --pgskip option with no value, then assign pgskip # to 100. if (defined($pgskip) && ($pgskip == 0)) { $pgskip = 100; } # This makes --gentle the default behavior. To # force refdes renumbering, use --force. $gentle = 1; if ( defined($force) || defined($clear) ) { undef($gentle); } # Print usage string in event user didn't call out any args usage() unless @ARGV; # Make sure the input schematic exists and we can read it. # Also count number of files to open. $i=0; while(@ARGV) { $fname[$i]=shift(@ARGV); die_sdb(1, "Schematic file $fname[$i] does not exist or can not be read") unless -r $fname[$i]; $i++; } $filecnt = $i; # number of files to open if($verbose) {print "Found $filecnt files to process\n";} # To refdes an entire design, we normally just loop through all files # and process each one in order. However if --gentle option is set, # we need to make two passes through all files. First to create a hash # of the highest refdeses used, and second to update unnumbered # refdeses. The hash is used to know where to start the refdes numbering. # # It gets more complicated. If --pgskip is not set, then we only need # to find the highest refdes overall. But if --pgskip is set, then # we need to know the highest refdes on each *page*. This is accomplished # on the first scan by creating the variable $highdev{$i, $pre} when --pgskip # is defined, but using the variable $highdev{$pre} when it is not. # if (defined($gentle)) { # First scan through design to build hash for($i=0; $i < $filecnt; $i++) { # $i is the file index. print "Scanning input file #".($i+1).": $fname[$i]\n"; open(NETLIST,"$fname[$i]") or die_sdb(1, "Can't open $fname[$i]: $!\n"); while($line = ) { # Iterate over lines found in .sch file. unless( $line =~ /^refdes/) { next; } # Found refdes line. Eat the newline. $line =~ s/\n//; # Now extract component prefix and suffix. if($verbose) {print ("Matching $line ....\n");} $line =~ /refdes=([a-zA-Z_]+)(\d+|\??)/i; my $pre = $1; my $suf = $2 ? $2 : "?"; if($verbose) {print "Refdes line \"$line\" has pre=$pre suf=$suf\n";} # Now put highest refdes found into $highdev hash. if (defined($pgskip)) { if ($suf eq "?") { # Part has no pre-existing refdes. # Skip to next part. next; } elsif (!defined($highdev{$i, $pre})) { # refdes is not cached, but refdes exists on part. # Create new cache entry if ($suf < $pgskip) { # if pgskip=100, on pg 1, and suf = 23, set highdev=123. $highdev{$i, $pre} = ($i+1)*$pgskip + $suf; } elsif ( ( ($i+1)*$pgskip < $suf) && ( ($i+2)*$pgskip > $suf) ) { # if pgskip=100, we're on pg 2, and suf = 204, set highdev=204. $highdev{$i, $pre} = $suf; } else { # I don't know what to do! die_sdb(3, "Encountered refdes incompatable with --pgskip setting. Refdes=$pre$suf.\n"); } } elsif ($highdev{$i, $pre} < $suf) { # part has refdes and refdes is higher than cached # value. Store this new value as highest value. $highdev{$i, $pre} = $suf; } elsif ($highdev{$i, $pre} >= $suf) { # part has refdes, but refdes is lower than cached # high value. Leave it alone. next; } else { # Should never get here die_sdb(4, "Invalid refdes with --pgskip set! Exiting....\n"); } if($verbose) { print "On page ".($i+1).", caching highest refdes $pre$highdev{$i, $pre}\n"; } } else { if ($suf eq "?") { # Part has no pre-existing refdes. next; } elsif (!defined($highdev{$pre}) ) { # refdes is not cached, and refdes exists on part. Create new # cache entry $highdev{$pre} = $suf; } elsif ($highdev{$pre} < $suf) { # part has refdes and refdes is higher than cached # value. Store this new value as highest value. $highdev{$pre} = $suf; } elsif ($highdev{$pre} >= $suf) { # part has refdes, but refdes is lower than cached # high value. Leave it alone. next; } else { # Should never get here die_sdb(4, "Invalid refdes! Exiting....\n"); } if($verbose) { print "Caching highest refdes $pre$highdev{$pre}\n"; } } } # while($line = ) close(NETLIST); } # for($i=0; $i < $filecnt; $i++) } # if (defined($gentle)) # OK, now we can read through the netlist file again, assign refdeses, # and write the output file. for($i=0; $i < $filecnt; $i++) { # $i is the file index. print "Now processing input file #".($i+1).": $fname[$i]\n"; open(NETLIST,"$fname[$i]") or die_sdb(1, "Can't open $fname[$i]: $!\n"); # open output netlist $outfname="$fname[$i].renum"; open(OUTNET,">$outfname") or die_sdb(2, "Can't open $outfname: $!\n"); # Iterate over lines found in .sch file. while($line = ) { unless( $line =~ /^refdes/) { print OUTNET $line; next; } # Found refdes line. Eat the newline. $line =~ s/\n//; # Now extract component prefix and suffix. if($verbose) {print ("Processing $line ....\n");} $line =~ /refdes=([a-zA-Z_]+)(\d+|\??)/i; my $pre = $1; my $suf = $2 ? $2 : "?"; if($verbose) {print "Refdes line \"$line\" has pre=$pre suf=$suf\n";} # Now finally update refdes if ($clear) { # Just overwrite all refdeses upon clear if($verbose) {print ("Clearing refdes=$pre$suf\n");} print OUTNET "refdes=$pre?\n"; } elsif (defined($pgskip) && defined($gentle)) { # If highdev exists, then start devcnt there, otherwise, start # devcnt at correct value for each page. if (!defined($devcnt{$i, $pre}) && defined($highdev{$i, $pre})) { $devcnt{$i, $pre} = $highdev{$i, $pre}; } elsif (!defined($devcnt{$i, $pre}) && !defined($highdev{$i, $pre})) { $devcnt{$i, $pre} = ($i+1)*$pgskip ; } if ($suf eq "?") { $devcnt{$i, $pre}++; if ($devcnt{$i, $pre} >= ($i+2)*$pgskip) { print STDERR "ERROR: You are numbering more than $pgskip elements with\n"; print STDERR "prefix $pre on this sheet. You will need to either\n"; print STDERR "reduce this number or specify a larger step with the\n"; print STDERR "--pgskip argument.\n"; die_sdb(3, ""); } print "Renumbering $line to $pre$devcnt{$i, $pre}\n" if($verbose); print OUTNET "refdes=$pre$devcnt{$i, $pre}\n"; } else { print "Leaving line=$line alone\n" if($verbose); print OUTNET "refdes=$pre$suf\n"; } } elsif (defined($pgskip) && !defined($gentle)) { if (!defined($devcnt{$i, $pre})) { $devcnt{$i, $pre} = ($i+1)*$pgskip ; } $devcnt{$i, $pre}++; if ($devcnt{$i, $pre} >= ($i+2)*$pgskip) { print STDERR "ERROR: You are numbering more than $pgskip elements with\n"; print STDERR "prefix $pre on this sheet. You will need to either\n"; print STDERR "reduce this number or specify a larger step with the\n"; print STDERR "--pgskip argument.\n"; die_sdb(3, ""); } print "Renumbering $line to $pre$devcnt{$i, $pre}\n" if($verbose); print OUTNET "refdes=$pre$devcnt{$i, $pre}\n"; } elsif (!defined($pgskip) && defined($gentle)) { if (!defined($devcnt{$pre}) && defined($highdev{$pre})) { $devcnt{$pre} = $highdev{$pre}; } elsif (!defined($devcnt{$pre}) && !defined($highdev{$pre})) { $devcnt{$pre} = 0; } if ($suf eq "?") { $devcnt{$pre}++; print "Renumbering $line to $pre$devcnt{$pre}\n" if($verbose); print OUTNET "refdes=$pre$devcnt{$pre}\n"; } else { print "Leaving line=$line alone\n" if($verbose); print OUTNET "refdes=$pre$suf\n"; } } elsif (!defined($pgskip) && !defined($gentle)) { if (!defined($devcnt{$pre})) { $devcnt{$pre} = 0 ; } $devcnt{$pre}++; print "Renumbering $line to $pre$devcnt{$pre}\n" if($verbose); print OUTNET "refdes=$pre$devcnt{$pre}\n"; } else { die_sdb(4, "Invalid state when trying to update refdes! Exiting.....\n"); } } # while($line = ) close(NETLIST); close(OUTNET); # make this an option to not overwrite the original if( $nocopy ) { print "Leaving page #",$i+1," output in $outfname\n"; } else { system("mv $outfname $fname[$i]"); } } exit(0); ####################################################################### # # Subroutines # ####################################################################### #--------------------------------- # usage() # # prints program usage #--------------------------------- sub usage { my $pname = $0; $pname =~ s/.*\///g; print "Usage: $pname [OPTION...] FILE ...\n\n"; print "$pname reads a lepton-schematic schematic file or\n"; print "files and renumbers all reference designators.\n"; print "The reference designators are numbered starting with 1 and the\n"; print "old schematic file is replaced by the modified schematic file.\n"; print "\n"; print "Options:\n"; print " --nocopy If given, this flag leaves the modified files in new files\n"; print " whose names are generated by appending a \".renum\" to the\n"; print " original file names. The default is to overwrite the original.\n"; print " --pgskip When this flag is used, components on the first schematic sheet\n"; print " are numbered starting with 101. On the second sheet, they start\n"; print " with 201, etc Specifying a value gives the step between pages.\n"; print " For example --pgskip 10 will start with 11, 21, 31, etc.\n"; print " --gentle This flag tells lepton-refdes_renum to leave any refdeses\n"; print " alone if they already have numbers. Use this option to number\n"; print " new components in a schematic which has already been numbered.\n"; print " Note that --gentle is set by default!\n"; print " --force Set this flag to renumber all refdeses, whether they are already\n"; print " numbered or not.\n"; print " --verbose Enables verbose output.\n"; print " --version Shows the version of this program.\n"; print " --help, -h Displays this help message.\n"; print "\n"; print "Report bugs at https://github.com/lepton-eda/lepton-eda/issues\n"; print "Lepton EDA homepage: https://github.com/lepton-eda/lepton-eda\n"; exit(0); } #--------------------------------- # version() # # prints program version #--------------------------------- sub version { my $pname = $0; $pname =~ s/.*\///g; print "Lepton EDA 1.9.13.20201211\n"; print "$pname was written by Dan McMahill \n"; print "Copyright (C) 2003-2007 Dan McMahill\n"; print "Copyright (C) 2003-2016 gEDA Contributors\n"; print "Copyright (C) 2017-2021 Lepton EDA Contributors\n"; exit(0); } #------------------------------------------- # die_sdb(rc, string) # # Local version of die. Sets return code # for shell, then calls die(string) #-------------------------------------------- sub die_sdb { my $rc = $_[0]; my $string = $_[1]; $! = $rc; die($string); } # ---------------------------------------------- # # Change Log # # $Log$ # Revision 1.8 2007-04-17 20:19:23 pcjc2 # Merge changes from noscreen branch # # Revision 1.2.6.2 2007/04/17 16:19:01 pcjc2 # Sync with trunk # # Revision 1.7 2007/04/15 23:20:31 sdb # Made --gentle the default behavior of refdes_renum. # # Revision 1.7 2007/04/15 SDB # Made --gentle default behavior. Now user must use --force # to get old behavior, which renumbers all refdeses whether # already numbered or not. # # Revision 1.6 2007/04/15 00:42:22 sdb # Added --gentle flag to refdes_renum, which won't renumber refdeses # which already have a number. # # Revision 1.5 4.9.2007 sdb. # Added --gentle flag, and include logic to handle case # where user mixes --gentle with --pgskip. # # Revision 1.4 2007/02/24 18:43:17 pcjc2 # Merge changes to date from noscreen branch. # # Revision 1.2.6.1 2007/02/11 23:59:10 pcjc2 # Sync with trunc # # Revision 1.3 2007/02/10 20:46:17 sdb # Added --clear option to clear refdeses. (* jcl *) # # Revision 1.2 2005/12/21 00:09:56 danmc # - Fix a bug where when using the --pgskip option, components which were # present on page n, but not on pages n+1 through n+j, and present again # on page n+j+1 got numbered in a strange way. For example, J101 on page # 1, no connectors on page 2, J201 on page 3 instead of J301. Noted by # Stuart Brorson. # # - While here allow the user to change the default increment from 100 to whatever # they want. # # - Also fix a bug where exactly 101 components with the same refdes prefix # would cause a duplicate refdes on the next page. # # Revision 1.1 2003/02/21 03:21:12 ahvezda # Added scripts/refdes_renum written by Dan McMahill # # # lepton-eda-1.9.16/utils/refdes_renum/Makefile.in0000644000175000017500000006247014101262632016452 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = utils/refdes_renum ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/guile.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lepton-assert.m4 \ $(top_srcdir)/m4/lepton-attrib.m4 \ $(top_srcdir)/m4/lepton-awk.m4 \ $(top_srcdir)/m4/lepton-cairo.m4 \ $(top_srcdir)/m4/lepton-contrib.m4 \ $(top_srcdir)/m4/lepton-data-dirs.m4 \ $(top_srcdir)/m4/lepton-desktop-i18n.m4 \ $(top_srcdir)/m4/lepton-desktop.m4 \ $(top_srcdir)/m4/lepton-doxygen.m4 \ $(top_srcdir)/m4/lepton-gcc-flags.m4 \ $(top_srcdir)/m4/lepton-git-version.m4 \ $(top_srcdir)/m4/lepton-git.m4 \ $(top_srcdir)/m4/lepton-groff.m4 \ $(top_srcdir)/m4/lepton-guile.m4 \ $(top_srcdir)/m4/lepton-host.m4 \ $(top_srcdir)/m4/lepton-stroke.m4 \ $(top_srcdir)/m4/lepton-uri-viewer.m4 \ $(top_srcdir)/m4/lepton-windows.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/liblepton.m4 \ $(top_srcdir)/m4/libleptonattrib.m4 \ $(top_srcdir)/m4/libleptongui.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pcb-data-dirs.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(bindir)" SCRIPTS = $(bin_SCRIPTS) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir distdir-am am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITMAP_DIRECTORY = @BITMAP_DIRECTORY@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@ CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@ CAIRO_PNG_CFLAGS = @CAIRO_PNG_CFLAGS@ CAIRO_PNG_LIBS = @CAIRO_PNG_LIBS@ CAIRO_PS_CFLAGS = @CAIRO_PS_CFLAGS@ CAIRO_PS_LIBS = @CAIRO_PS_LIBS@ CAIRO_SVG_CFLAGS = @CAIRO_SVG_CFLAGS@ CAIRO_SVG_LIBS = @CAIRO_SVG_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE_VERSION = @DATE_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DESKTOP_I18N = @DESKTOP_I18N@ DESKTOP_I18N_CREATE = @DESKTOP_I18N_CREATE@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@ DESKTOP_I18N_SCRIPT = @DESKTOP_I18N_SCRIPT@ DLLTOOL = @DLLTOOL@ DOT = @DOT@ DOTTED_VERSION = @DOTTED_VERSION@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GDK_CFLAGS = @GDK_CFLAGS@ GDK_LIBS = @GDK_LIBS@ GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@ GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@ GETTEXT = @GETTEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GIT = @GIT@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GROFF = @GROFF@ GTKEXTRA_CFLAGS = @GTKEXTRA_CFLAGS@ GTKEXTRA_LIBS = @GTKEXTRA_LIBS@ GTKSHEET_CFLAGS = @GTKSHEET_CFLAGS@ GTKSHEET_LIBS = @GTKSHEET_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GUILD = @GUILD@ GUILE = @GUILE@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@ GUILE_LDFLAGS = @GUILE_LDFLAGS@ GUILE_LIBS = @GUILE_LIBS@ GUILE_LTLIBS = @GUILE_LTLIBS@ GUILE_PKG_NAME = @GUILE_PKG_NAME@ GUILE_SNARF = @GUILE_SNARF@ GUILE_TOOLS = @GUILE_TOOLS@ HAVE_GIT_REPO = @HAVE_GIT_REPO@ ICON_THEME_INSTALLER = @ICON_THEME_INSTALLER@ INKSCAPE = @INKSCAPE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEPTONDATADIR = @LEPTONDATADIR@ LEPTON_SCHEME_MODULE_DIRECTORY = @LEPTON_SCHEME_MODULE_DIRECTORY@ LEPTON_SCM_PRECOMPILE_DIR = @LEPTON_SCM_PRECOMPILE_DIR@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBLEPTONATTRIB_MAJOR = @LIBLEPTONATTRIB_MAJOR@ LIBLEPTONATTRIB_SHLIB_VERSION = @LIBLEPTONATTRIB_SHLIB_VERSION@ LIBLEPTONGUI_MAJOR = @LIBLEPTONGUI_MAJOR@ LIBLEPTONGUI_SHLIB_VERSION = @LIBLEPTONGUI_SHLIB_VERSION@ LIBLEPTON_GETTEXT_DOMAIN = @LIBLEPTON_GETTEXT_DOMAIN@ LIBLEPTON_MAJOR = @LIBLEPTON_MAJOR@ LIBLEPTON_SHLIB_VERSION = @LIBLEPTON_SHLIB_VERSION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSTROKE_CPPFLAGS = @LIBSTROKE_CPPFLAGS@ LIBSTROKE_LDFLAGS = @LIBSTROKE_LDFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ M4 = @M4@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MINGW_CFLAGS = @MINGW_CFLAGS@ MINGW_GUI_LDFLAGS = @MINGW_GUI_LDFLAGS@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCBDATADIR = @PCBDATADIR@ PCBLIBPATH = @PCBLIBPATH@ PCBM4DIR = @PCBM4DIR@ PDFLATEX = @PDFLATEX@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ URI_VIEWER = @URI_VIEWER@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDOWS_LIBTOOL_FLAGS = @WINDOWS_LIBTOOL_FLAGS@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = \ docs \ tests bin_SCRIPTS = \ lepton-refdes_renum EXTRA_DIST = \ lepton-refdes_renum all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/refdes_renum/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign utils/refdes_renum/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-binSCRIPTS: $(bin_SCRIPTS) @$(NORMAL_INSTALL) @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n' \ -e 'h;s|.*|.|' \ -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) { files[d] = files[d] " " $$1; \ if (++n[d] == $(am__install_max)) { \ print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ else { print "f", d "/" $$4, $$1 } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 's,.*/,,;$(transform)'`; \ dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir) mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(SCRIPTS) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(bindir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-binSCRIPTS install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-binSCRIPTS .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ check-am clean clean-generic clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-binSCRIPTS install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ uninstall-am uninstall-binSCRIPTS .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/refdes_renum/tests/0000755000175000017500000000000014101262653015621 500000000000000lepton-eda-1.9.16/utils/refdes_renum/tests/Makefile.am0000644000175000017500000000034114101257250017570 00000000000000SUBDIRS= inputs outputs AM_TESTS_ENVIRONMENT = PERL=${PERL} top_srcdir=${srcdir}/../.. check-local: $(AM_TESTS_ENVIRONMENT) srcdir=$(srcdir) $(SHELL) $(srcdir)/run_tests.sh EXTRA_DIST = run_tests.sh tests.list README.txt lepton-eda-1.9.16/utils/refdes_renum/tests/run_tests.sh0000755000175000017500000001112214101257250020120 00000000000000#!/bin/sh # Copyright (C) 2007-2008 Dan McMahill # Copyright (C) 2007-2011 gEDA Contributors # Copyright (C) 2018-2021 Lepton EDA Contributors # This file is part of lepton-refdes_renum. # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation, version 2 # of the License. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA. regen=no usage() { cat << EOF $0 -- Testsuite program for lepton-refdes_renum Usage $0 [-h | --help] $0 [-r | --regen] [test1 [test2 [....]]] Options -h | --help Prints this help message and exits. -r | --regen Regenerates the reference files. If you use this option, YOU MUST HAND VERIFY THE RESULTS BEFORE COMMITTING to the repository. Description $0 reads a file, tests.list, describing tests to run on lepton-refdes_renum. If no specific test is specified on the $0 command line, then all tests are run. Examples $0 $0 basic_renum $0 --regen new_test EOF } while test -n "$1" do case "$1" in -h|--help) usage exit 0 ;; -r|--regen) # regenerate the 'golden' output files. Use this with caution. # In particular, all differences should be noted and understood. regen=yes shift ;; -*) echo "unknown option: $1" usage exit 1 ;; *) break ;; esac done # make sure we have the right paths when running this from inside the # source tree and also from outside the source tree. here=`pwd` srcdir=${srcdir:-$here} srcdir=`cd $srcdir && pwd` top_srcdir=${top_srcdir:-$here/../..} top_srcdir=`cd $top_srcdir && pwd` # the perl program PERL=${PERL:-perl} rundir=${here}/run GOLDEN_DIR=${srcdir}/outputs INPUT_DIR=${srcdir}/inputs TESTLIST=${srcdir}/tests.list if test ! -f $TESTLIST ; then echo "ERROR: ($0) Test list $TESTLIST does not exist" exit 1 fi # fail/pass/total counts fail=0 pass=0 skip=0 tot=0 if test -z "$1" ; then all_tests=`awk 'BEGIN{FS="|"} /^#/{next} /^[ \t]*$/{next} {print $1}' $TESTLIST | sed 's; ;;g'` else all_tests=$* fi cat << EOF Starting tests in $here srcdir: $srcdir top_srcdir: $top_srcdir INPUT_DIR: ${INPUT_DIR} GOLDEN_DIR: ${GOLDEN_DIR} all_tests: ${all_tests} EOF for t in $all_tests ; do # strip any leading garbage t=`echo $t | sed 's;^\*;;g'` # figure out what files we need to copy for this test and what # arguments to feed lepton-refdes_renum files=`grep "^[ \t]*${t}[ \t]*|" $TESTLIST | awk 'BEGIN{FS="|"} {print $2}'` args=`grep "^[ \t]*${t}[ \t]*|" $TESTLIST | awk 'BEGIN{FS="|"} {print $3}'` code=`grep "^[ \t]*${t}[ \t]*|" $TESTLIST | awk 'BEGIN{FS="|"} {print $4}'` if test "X$code" = "X" ; then code=0 fi tot=`expr $tot + 1` # create temporary run directory if test ! -d $rundir ; then mkdir -p $rundir fi # Create the files needed if test ! -z "$files" ; then for f in $files ; do cp ${INPUT_DIR}/${f} ${rundir} chmod 644 ${rundir}/${f} done fi # run lepton-refdes_renum # echo "${PERL} -w ${top_srcdir}/refdes_renum/lepton-refdes_renum $args $files" cd ${rundir} && ${PERL} -w ${top_srcdir}/refdes_renum/lepton-refdes_renum $args $files rc=$? if test $rc -ne $code ; then echo "FAILED: lepton-refdes_renum returned $rc which did not match the expected $code" fail=`expr $fail + 1` continue fi good=1 bad=0 soso=0 for f in ${files} ; do ref=${GOLDEN_DIR}/${t}-${f} out=${rundir}/${f} if test "X$regen" = "Xyes" ; then cp ${out} ${ref} echo "Regenerated ${ref}" elif test -f ${ref} ; then if diff -w ${ref} ${out} >/dev/null ; then echo "PASS" else echo "FAILED: See diff -w ${ref} ${out}" fail=`expr $fail + 1` bad=1 good=0 fi else echo "No reference file. Skipping" good=0 soso=1 fi done if test $soso -ne 0 ; then good=0 bad=0 fi pass=`expr $pass + $good` fail=`expr $fail + $bad` skip=`expr $skip + $soso` cd $here # clean up the rundirectory rm -fr ${rundir} done echo "Passed $pass, failed $fail, skipped $skip out of $tot tests." rc=0 if test $pass -ne $tot ; then rc=`expr $tot - $pass` fi exit $rc lepton-eda-1.9.16/utils/refdes_renum/tests/README.txt0000644000175000017500000000063014101257250017233 00000000000000This directory contains the testsuite for the "lepton-refdes_renum" script. No modifications to lepton-refdes_renum are allowed without adding tests here. If a bug report is filed, a test must be added to show the bug before it is allowed to be fixed. If you require additional input files, add them in the inputs/ directory. Reference output files go in outputs/. Add the test description to tests.list. lepton-eda-1.9.16/utils/refdes_renum/tests/Makefile.in0000644000175000017500000005530714101262632017615 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = utils/refdes_renum/tests ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/guile.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lepton-assert.m4 \ $(top_srcdir)/m4/lepton-attrib.m4 \ $(top_srcdir)/m4/lepton-awk.m4 \ $(top_srcdir)/m4/lepton-cairo.m4 \ $(top_srcdir)/m4/lepton-contrib.m4 \ $(top_srcdir)/m4/lepton-data-dirs.m4 \ $(top_srcdir)/m4/lepton-desktop-i18n.m4 \ $(top_srcdir)/m4/lepton-desktop.m4 \ $(top_srcdir)/m4/lepton-doxygen.m4 \ $(top_srcdir)/m4/lepton-gcc-flags.m4 \ $(top_srcdir)/m4/lepton-git-version.m4 \ $(top_srcdir)/m4/lepton-git.m4 \ $(top_srcdir)/m4/lepton-groff.m4 \ $(top_srcdir)/m4/lepton-guile.m4 \ $(top_srcdir)/m4/lepton-host.m4 \ $(top_srcdir)/m4/lepton-stroke.m4 \ $(top_srcdir)/m4/lepton-uri-viewer.m4 \ $(top_srcdir)/m4/lepton-windows.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/liblepton.m4 \ $(top_srcdir)/m4/libleptonattrib.m4 \ $(top_srcdir)/m4/libleptongui.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pcb-data-dirs.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir distdir-am am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITMAP_DIRECTORY = @BITMAP_DIRECTORY@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@ CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@ CAIRO_PNG_CFLAGS = @CAIRO_PNG_CFLAGS@ CAIRO_PNG_LIBS = @CAIRO_PNG_LIBS@ CAIRO_PS_CFLAGS = @CAIRO_PS_CFLAGS@ CAIRO_PS_LIBS = @CAIRO_PS_LIBS@ CAIRO_SVG_CFLAGS = @CAIRO_SVG_CFLAGS@ CAIRO_SVG_LIBS = @CAIRO_SVG_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE_VERSION = @DATE_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DESKTOP_I18N = @DESKTOP_I18N@ DESKTOP_I18N_CREATE = @DESKTOP_I18N_CREATE@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@ DESKTOP_I18N_SCRIPT = @DESKTOP_I18N_SCRIPT@ DLLTOOL = @DLLTOOL@ DOT = @DOT@ DOTTED_VERSION = @DOTTED_VERSION@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GDK_CFLAGS = @GDK_CFLAGS@ GDK_LIBS = @GDK_LIBS@ GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@ GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@ GETTEXT = @GETTEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GIT = @GIT@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GROFF = @GROFF@ GTKEXTRA_CFLAGS = @GTKEXTRA_CFLAGS@ GTKEXTRA_LIBS = @GTKEXTRA_LIBS@ GTKSHEET_CFLAGS = @GTKSHEET_CFLAGS@ GTKSHEET_LIBS = @GTKSHEET_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GUILD = @GUILD@ GUILE = @GUILE@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@ GUILE_LDFLAGS = @GUILE_LDFLAGS@ GUILE_LIBS = @GUILE_LIBS@ GUILE_LTLIBS = @GUILE_LTLIBS@ GUILE_PKG_NAME = @GUILE_PKG_NAME@ GUILE_SNARF = @GUILE_SNARF@ GUILE_TOOLS = @GUILE_TOOLS@ HAVE_GIT_REPO = @HAVE_GIT_REPO@ ICON_THEME_INSTALLER = @ICON_THEME_INSTALLER@ INKSCAPE = @INKSCAPE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEPTONDATADIR = @LEPTONDATADIR@ LEPTON_SCHEME_MODULE_DIRECTORY = @LEPTON_SCHEME_MODULE_DIRECTORY@ LEPTON_SCM_PRECOMPILE_DIR = @LEPTON_SCM_PRECOMPILE_DIR@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBLEPTONATTRIB_MAJOR = @LIBLEPTONATTRIB_MAJOR@ LIBLEPTONATTRIB_SHLIB_VERSION = @LIBLEPTONATTRIB_SHLIB_VERSION@ LIBLEPTONGUI_MAJOR = @LIBLEPTONGUI_MAJOR@ LIBLEPTONGUI_SHLIB_VERSION = @LIBLEPTONGUI_SHLIB_VERSION@ LIBLEPTON_GETTEXT_DOMAIN = @LIBLEPTON_GETTEXT_DOMAIN@ LIBLEPTON_MAJOR = @LIBLEPTON_MAJOR@ LIBLEPTON_SHLIB_VERSION = @LIBLEPTON_SHLIB_VERSION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSTROKE_CPPFLAGS = @LIBSTROKE_CPPFLAGS@ LIBSTROKE_LDFLAGS = @LIBSTROKE_LDFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ M4 = @M4@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MINGW_CFLAGS = @MINGW_CFLAGS@ MINGW_GUI_LDFLAGS = @MINGW_GUI_LDFLAGS@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCBDATADIR = @PCBDATADIR@ PCBLIBPATH = @PCBLIBPATH@ PCBM4DIR = @PCBM4DIR@ PDFLATEX = @PDFLATEX@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ URI_VIEWER = @URI_VIEWER@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDOWS_LIBTOOL_FLAGS = @WINDOWS_LIBTOOL_FLAGS@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = inputs outputs AM_TESTS_ENVIRONMENT = PERL=${PERL} top_srcdir=${srcdir}/../.. EXTRA_DIST = run_tests.sh tests.list README.txt all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/refdes_renum/tests/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign utils/refdes_renum/tests/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am $(MAKE) $(AM_MAKEFLAGS) check-local check: check-recursive all-am: Makefile installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(am__recursive_targets) check-am install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ check-am check-local clean clean-generic clean-libtool \ cscopelist-am ctags ctags-am distclean distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ uninstall-am .PRECIOUS: Makefile check-local: $(AM_TESTS_ENVIRONMENT) srcdir=$(srcdir) $(SHELL) $(srcdir)/run_tests.sh # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/0000755000175000017500000000000014101262653017344 500000000000000lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/all_new_refdeses2-allnew.sch0000644000175000017500000000063314101257250024625 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C1 refdes=C2 refdes=R1 refdes=R2 refdes=R3 refdes=R4 refdes=J1 refdes=C3 refdes=C4 refdes=C5 refdes=J2 refdes=L1 refdes=C6 refdes=R5 refdes=R6 refdes=R7 refdes=Q1 refdes=U1 refdes=Q2 refdes=U2 refdes=Q3 refdes=U3 lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/Makefile.am0000644000175000017500000000214314101257250021315 00000000000000# ls *.sch | sort | awk '{printf("\t%s \\\n", $0)}' >> Makefile.am EXTRA_DIST= \ all_new_refdeses-allnew.sch \ all_new_refdeses1-allnew.sch \ all_new_refdeses2-allnew.sch \ all_old_refdeses-allold.sch \ all_old_refdeses1-allold.sch \ all_old_refdeses2-allold.sch \ multi_clear-file1.sch \ multi_clear-file2.sch \ multi_clear-file3.sch \ multi_pgskip1-file1.sch \ multi_pgskip1-file2.sch \ multi_pgskip1-file3.sch \ multi_pgskip2-file1.sch \ multi_pgskip2-file2.sch \ multi_pgskip2-file3.sch \ multi_renum-file1.sch \ multi_renum-file2.sch \ multi_renum-file3.sch \ single_clear-file1.sch \ single_pgskip1-file1.sch \ single_pgskip2-file1.sch \ single_pgskip3-more_than_10.sch \ single_renum-file1.sch \ some_new_pgskip-someold1.sch \ some_new_pgskip-someold2.sch \ some_new_pgskip-someold3.sch \ some_new_pgskip1-someold1.sch \ some_new_pgskip1-someold2.sch \ some_new_pgskip1-someold3.sch \ some_new_pgskip2-someold1.sch \ some_new_pgskip2-someold2.sch \ some_new_pgskip2-someold3.sch \ some_old_refdeses-someold1.sch \ some_old_refdeses1-someold1.sch \ some_old_refdeses2-someold1.sch lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/some_new_pgskip1-someold2.sch0000644000175000017500000000057714101257250024765 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C222 refdes=R216 refdes=R217 refdes=C213 refdes=R212 refdes=R213 refdes=L228 refdes=J212 refdes=C223 refdes=C224 refdes=C217 refdes=J211 refdes=L227 refdes=C211 refdes=L229 refdes=R215 lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/all_old_refdeses2-allold.sch0000644000175000017500000000054214101257250024576 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C5 refdes=R6 refdes=R7 refdes=C3 refdes=R2 refdes=R3 refdes=L18 refdes=J2 refdes=C8 refdes=C9 refdes=C7 refdes=J1 refdes=L17 refdes=C1 refdes=L19 refdes=R5 lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/multi_renum-file1.sch0000644000175000017500000000043114101257250023314 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C5 refdes=C3 refdes=R2 refdes=R3 refdes=J1 refdes=C6 refdes=J2 refdes=L2 refdes=C1 lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/multi_pgskip2-file2.sch0000644000175000017500000000047514101257250023556 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C5 refdes=C3 refdes=R2 refdes=R3 refdes=J21 refdes=C26 refdes=J22 refdes=L2 refdes=C1 refdes=U21 refdes=U22 refdes=U23 lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/some_new_pgskip-someold1.sch0000644000175000017500000000057714101257250024703 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C105 refdes=R106 refdes=R107 refdes=C103 refdes=R102 refdes=R103 refdes=L118 refdes=J102 refdes=C108 refdes=C109 refdes=C107 refdes=J101 refdes=L117 refdes=C101 refdes=L119 refdes=R105 lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/single_renum-file1.sch0000644000175000017500000000043114101257250023443 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C5 refdes=C3 refdes=R2 refdes=R3 refdes=J1 refdes=C6 refdes=J2 refdes=L2 refdes=C1 lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/multi_pgskip2-file1.sch0000644000175000017500000000043414101257250023550 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C5 refdes=C3 refdes=R2 refdes=R3 refdes=J11 refdes=C16 refdes=J12 refdes=L2 refdes=C1 lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/multi_pgskip2-file3.sch0000644000175000017500000000044614101257250023555 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=U5 refdes=C5 refdes=C3 refdes=R2 refdes=R3 refdes=J31 refdes=C36 refdes=J32 refdes=L2 refdes=C1 lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/some_new_pgskip2-someold2.sch0000644000175000017500000000057714101257250024766 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C222 refdes=R216 refdes=R217 refdes=C213 refdes=R212 refdes=R213 refdes=L228 refdes=J212 refdes=C223 refdes=C224 refdes=C217 refdes=J211 refdes=L227 refdes=C211 refdes=L229 refdes=R215 lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/multi_pgskip1-file1.sch0000644000175000017500000000043714101257250023552 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C5 refdes=C3 refdes=R2 refdes=R3 refdes=J101 refdes=C106 refdes=J102 refdes=L2 refdes=C1 lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/some_new_pgskip2-someold1.sch0000644000175000017500000000057714101257250024765 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C105 refdes=R106 refdes=R107 refdes=C103 refdes=R102 refdes=R103 refdes=L118 refdes=J102 refdes=C108 refdes=C109 refdes=C107 refdes=J101 refdes=L117 refdes=C101 refdes=L119 refdes=R105 lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/single_pgskip3-more_than_10.sch0000644000175000017500000000066014101257250025155 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run # # This file is designed to help check what happens if you # have a -pgskip which is too low so you run out of refdes's refdes=C? refdes=C? refdes=C? refdes=C? refdes=C? refdes=C? refdes=C? refdes=C? refdes=C? refdes=C? refdes=C? refdes=C? lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/all_old_refdeses1-allold.sch0000644000175000017500000000054214101257250024575 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C5 refdes=R6 refdes=R7 refdes=C3 refdes=R2 refdes=R3 refdes=L18 refdes=J2 refdes=C8 refdes=C9 refdes=C7 refdes=J1 refdes=L17 refdes=C1 refdes=L19 refdes=R5 lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/Makefile.in0000644000175000017500000004245714101262632021342 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # ls *.sch | sort | awk '{printf("\t%s \\\n", $0)}' >> Makefile.am VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = utils/refdes_renum/tests/outputs ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/guile.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lepton-assert.m4 \ $(top_srcdir)/m4/lepton-attrib.m4 \ $(top_srcdir)/m4/lepton-awk.m4 \ $(top_srcdir)/m4/lepton-cairo.m4 \ $(top_srcdir)/m4/lepton-contrib.m4 \ $(top_srcdir)/m4/lepton-data-dirs.m4 \ $(top_srcdir)/m4/lepton-desktop-i18n.m4 \ $(top_srcdir)/m4/lepton-desktop.m4 \ $(top_srcdir)/m4/lepton-doxygen.m4 \ $(top_srcdir)/m4/lepton-gcc-flags.m4 \ $(top_srcdir)/m4/lepton-git-version.m4 \ $(top_srcdir)/m4/lepton-git.m4 \ $(top_srcdir)/m4/lepton-groff.m4 \ $(top_srcdir)/m4/lepton-guile.m4 \ $(top_srcdir)/m4/lepton-host.m4 \ $(top_srcdir)/m4/lepton-stroke.m4 \ $(top_srcdir)/m4/lepton-uri-viewer.m4 \ $(top_srcdir)/m4/lepton-windows.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/liblepton.m4 \ $(top_srcdir)/m4/libleptonattrib.m4 \ $(top_srcdir)/m4/libleptongui.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pcb-data-dirs.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITMAP_DIRECTORY = @BITMAP_DIRECTORY@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@ CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@ CAIRO_PNG_CFLAGS = @CAIRO_PNG_CFLAGS@ CAIRO_PNG_LIBS = @CAIRO_PNG_LIBS@ CAIRO_PS_CFLAGS = @CAIRO_PS_CFLAGS@ CAIRO_PS_LIBS = @CAIRO_PS_LIBS@ CAIRO_SVG_CFLAGS = @CAIRO_SVG_CFLAGS@ CAIRO_SVG_LIBS = @CAIRO_SVG_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE_VERSION = @DATE_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DESKTOP_I18N = @DESKTOP_I18N@ DESKTOP_I18N_CREATE = @DESKTOP_I18N_CREATE@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@ DESKTOP_I18N_SCRIPT = @DESKTOP_I18N_SCRIPT@ DLLTOOL = @DLLTOOL@ DOT = @DOT@ DOTTED_VERSION = @DOTTED_VERSION@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GDK_CFLAGS = @GDK_CFLAGS@ GDK_LIBS = @GDK_LIBS@ GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@ GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@ GETTEXT = @GETTEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GIT = @GIT@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GROFF = @GROFF@ GTKEXTRA_CFLAGS = @GTKEXTRA_CFLAGS@ GTKEXTRA_LIBS = @GTKEXTRA_LIBS@ GTKSHEET_CFLAGS = @GTKSHEET_CFLAGS@ GTKSHEET_LIBS = @GTKSHEET_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GUILD = @GUILD@ GUILE = @GUILE@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@ GUILE_LDFLAGS = @GUILE_LDFLAGS@ GUILE_LIBS = @GUILE_LIBS@ GUILE_LTLIBS = @GUILE_LTLIBS@ GUILE_PKG_NAME = @GUILE_PKG_NAME@ GUILE_SNARF = @GUILE_SNARF@ GUILE_TOOLS = @GUILE_TOOLS@ HAVE_GIT_REPO = @HAVE_GIT_REPO@ ICON_THEME_INSTALLER = @ICON_THEME_INSTALLER@ INKSCAPE = @INKSCAPE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEPTONDATADIR = @LEPTONDATADIR@ LEPTON_SCHEME_MODULE_DIRECTORY = @LEPTON_SCHEME_MODULE_DIRECTORY@ LEPTON_SCM_PRECOMPILE_DIR = @LEPTON_SCM_PRECOMPILE_DIR@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBLEPTONATTRIB_MAJOR = @LIBLEPTONATTRIB_MAJOR@ LIBLEPTONATTRIB_SHLIB_VERSION = @LIBLEPTONATTRIB_SHLIB_VERSION@ LIBLEPTONGUI_MAJOR = @LIBLEPTONGUI_MAJOR@ LIBLEPTONGUI_SHLIB_VERSION = @LIBLEPTONGUI_SHLIB_VERSION@ LIBLEPTON_GETTEXT_DOMAIN = @LIBLEPTON_GETTEXT_DOMAIN@ LIBLEPTON_MAJOR = @LIBLEPTON_MAJOR@ LIBLEPTON_SHLIB_VERSION = @LIBLEPTON_SHLIB_VERSION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSTROKE_CPPFLAGS = @LIBSTROKE_CPPFLAGS@ LIBSTROKE_LDFLAGS = @LIBSTROKE_LDFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ M4 = @M4@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MINGW_CFLAGS = @MINGW_CFLAGS@ MINGW_GUI_LDFLAGS = @MINGW_GUI_LDFLAGS@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCBDATADIR = @PCBDATADIR@ PCBLIBPATH = @PCBLIBPATH@ PCBM4DIR = @PCBM4DIR@ PDFLATEX = @PDFLATEX@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ URI_VIEWER = @URI_VIEWER@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDOWS_LIBTOOL_FLAGS = @WINDOWS_LIBTOOL_FLAGS@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = \ all_new_refdeses-allnew.sch \ all_new_refdeses1-allnew.sch \ all_new_refdeses2-allnew.sch \ all_old_refdeses-allold.sch \ all_old_refdeses1-allold.sch \ all_old_refdeses2-allold.sch \ multi_clear-file1.sch \ multi_clear-file2.sch \ multi_clear-file3.sch \ multi_pgskip1-file1.sch \ multi_pgskip1-file2.sch \ multi_pgskip1-file3.sch \ multi_pgskip2-file1.sch \ multi_pgskip2-file2.sch \ multi_pgskip2-file3.sch \ multi_renum-file1.sch \ multi_renum-file2.sch \ multi_renum-file3.sch \ single_clear-file1.sch \ single_pgskip1-file1.sch \ single_pgskip2-file1.sch \ single_pgskip3-more_than_10.sch \ single_renum-file1.sch \ some_new_pgskip-someold1.sch \ some_new_pgskip-someold2.sch \ some_new_pgskip-someold3.sch \ some_new_pgskip1-someold1.sch \ some_new_pgskip1-someold2.sch \ some_new_pgskip1-someold3.sch \ some_new_pgskip2-someold1.sch \ some_new_pgskip2-someold2.sch \ some_new_pgskip2-someold3.sch \ some_old_refdeses-someold1.sch \ some_old_refdeses1-someold1.sch \ some_old_refdeses2-someold1.sch all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/refdes_renum/tests/outputs/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign utils/refdes_renum/tests/outputs/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags-am uninstall uninstall-am .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/single_pgskip2-file1.sch0000644000175000017500000000043414101257250023677 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C5 refdes=C3 refdes=R2 refdes=R3 refdes=J11 refdes=C16 refdes=J12 refdes=L2 refdes=C1 lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/all_new_refdeses-allnew.sch0000644000175000017500000000063314101257250024543 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C1 refdes=C2 refdes=R1 refdes=R2 refdes=R3 refdes=R4 refdes=J1 refdes=C3 refdes=C4 refdes=C5 refdes=J2 refdes=L1 refdes=C6 refdes=R5 refdes=R6 refdes=R7 refdes=Q1 refdes=U1 refdes=Q2 refdes=U2 refdes=Q3 refdes=U3 lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/multi_pgskip1-file3.sch0000644000175000017500000000045114101257250023550 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=U5 refdes=C5 refdes=C3 refdes=R2 refdes=R3 refdes=J301 refdes=C306 refdes=J302 refdes=L2 refdes=C1 lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/some_old_refdeses2-someold1.sch0000644000175000017500000000057714101257250025255 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C105 refdes=R106 refdes=R107 refdes=C103 refdes=R102 refdes=R103 refdes=L118 refdes=J102 refdes=C108 refdes=C109 refdes=C107 refdes=J101 refdes=L117 refdes=C101 refdes=L119 refdes=R105 lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/multi_clear-file2.sch0000644000175000017500000000046714101257250023266 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C? refdes=C? refdes=R? refdes=R? refdes=J? refdes=C? refdes=J? refdes=L? refdes=C? refdes=U? refdes=U? refdes=U? lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/some_old_refdeses1-someold1.sch0000644000175000017500000000057714101257250025254 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C105 refdes=R106 refdes=R107 refdes=C103 refdes=R102 refdes=R103 refdes=L118 refdes=J102 refdes=C108 refdes=C109 refdes=C107 refdes=J101 refdes=L117 refdes=C101 refdes=L119 refdes=R105 lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/some_old_refdeses-someold1.sch0000644000175000017500000000057714101257250025173 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C105 refdes=R106 refdes=R107 refdes=C103 refdes=R102 refdes=R103 refdes=L118 refdes=J102 refdes=C108 refdes=C109 refdes=C107 refdes=J101 refdes=L117 refdes=C101 refdes=L119 refdes=R105 lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/some_new_pgskip-someold2.sch0000644000175000017500000000057714101257250024704 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C222 refdes=R216 refdes=R217 refdes=C213 refdes=R212 refdes=R213 refdes=L228 refdes=J212 refdes=C223 refdes=C224 refdes=C217 refdes=J211 refdes=L227 refdes=C211 refdes=L229 refdes=R215 lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/multi_clear-file1.sch0000644000175000017500000000043114101257250023254 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C? refdes=C? refdes=R? refdes=R? refdes=J? refdes=C? refdes=J? refdes=L? refdes=C? lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/some_new_pgskip-someold3.sch0000644000175000017500000000057714101257250024705 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C305 refdes=R306 refdes=R307 refdes=C303 refdes=R302 refdes=R303 refdes=L318 refdes=J302 refdes=C308 refdes=C309 refdes=C307 refdes=J301 refdes=L317 refdes=C301 refdes=L319 refdes=R305 lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/multi_renum-file2.sch0000644000175000017500000000046714101257250023326 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C5 refdes=C3 refdes=R2 refdes=R3 refdes=J3 refdes=C7 refdes=J4 refdes=L2 refdes=C1 refdes=U6 refdes=U7 refdes=U8 lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/multi_pgskip1-file2.sch0000644000175000017500000000050314101257250023545 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C5 refdes=C3 refdes=R2 refdes=R3 refdes=J201 refdes=C206 refdes=J202 refdes=L2 refdes=C1 refdes=U201 refdes=U202 refdes=U203 lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/some_new_pgskip1-someold3.sch0000644000175000017500000000057714101257250024766 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C305 refdes=R306 refdes=R307 refdes=C303 refdes=R302 refdes=R303 refdes=L318 refdes=J302 refdes=C308 refdes=C309 refdes=C307 refdes=J301 refdes=L317 refdes=C301 refdes=L319 refdes=R305 lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/all_old_refdeses-allold.sch0000644000175000017500000000054214101257250024514 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C5 refdes=R6 refdes=R7 refdes=C3 refdes=R2 refdes=R3 refdes=L18 refdes=J2 refdes=C8 refdes=C9 refdes=C7 refdes=J1 refdes=L17 refdes=C1 refdes=L19 refdes=R5 lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/multi_clear-file3.sch0000644000175000017500000000044314101257250023261 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=U? refdes=C? refdes=C? refdes=R? refdes=R? refdes=J? refdes=C? refdes=J? refdes=L? refdes=C? lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/single_clear-file1.sch0000644000175000017500000000043114101257250023403 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C? refdes=C? refdes=R? refdes=R? refdes=J? refdes=C? refdes=J? refdes=L? refdes=C? lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/all_new_refdeses1-allnew.sch0000644000175000017500000000063314101257250024624 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C1 refdes=C2 refdes=R1 refdes=R2 refdes=R3 refdes=R4 refdes=J1 refdes=C3 refdes=C4 refdes=C5 refdes=J2 refdes=L1 refdes=C6 refdes=R5 refdes=R6 refdes=R7 refdes=Q1 refdes=U1 refdes=Q2 refdes=U2 refdes=Q3 refdes=U3 lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/single_pgskip1-file1.sch0000644000175000017500000000043714101257250023701 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C5 refdes=C3 refdes=R2 refdes=R3 refdes=J101 refdes=C106 refdes=J102 refdes=L2 refdes=C1 lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/multi_renum-file3.sch0000644000175000017500000000044314101257250023321 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=U5 refdes=C5 refdes=C3 refdes=R2 refdes=R3 refdes=J5 refdes=C8 refdes=J6 refdes=L2 refdes=C1 lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/some_new_pgskip2-someold3.sch0000644000175000017500000000057714101257250024767 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C305 refdes=R306 refdes=R307 refdes=C303 refdes=R302 refdes=R303 refdes=L318 refdes=J302 refdes=C308 refdes=C309 refdes=C307 refdes=J301 refdes=L317 refdes=C301 refdes=L319 refdes=R305 lepton-eda-1.9.16/utils/refdes_renum/tests/outputs/some_new_pgskip1-someold1.sch0000644000175000017500000000057714101257250024764 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C105 refdes=R106 refdes=R107 refdes=C103 refdes=R102 refdes=R103 refdes=L118 refdes=J102 refdes=C108 refdes=C109 refdes=C107 refdes=J101 refdes=L117 refdes=C101 refdes=L119 refdes=R105 lepton-eda-1.9.16/utils/refdes_renum/tests/tests.list0000644000175000017500000000236114101257250017577 00000000000000# Format: # # test_name | input files | extra flags to pass to refdes_renum | return code if non-zero expected # # ----------------------------------------- # Single schematic page # ----------------------------------------- single_renum | file1.sch | single_clear | file1.sch | --clear single_pgskip1 | file1.sch | --pgskip single_pgskip2 | file1.sch | --pgskip 10 # check to see what happens if we have more elements of a given # prefix than the value we used for pgskip # Return code should be 3 single_pgskip3 | more_than_10.sch | --pgskip 10 | 3 multi_renum | file1.sch file2.sch file3.sch | multi_clear | file1.sch file2.sch file3.sch | --clear multi_pgskip1 | file1.sch file2.sch file3.sch | --pgskip multi_pgskip2 | file1.sch file2.sch file3.sch | --pgskip 10 # Tests added by SDB to verify --gentle operation # Since --gentle is now default, I run these tests both ways. all_new_refdeses1 | allnew.sch | --gentle all_new_refdeses2 | allnew.sch | some_old_refdeses1 | someold1.sch | --gentle some_old_refdeses2 | someold1.sch | all_old_refdeses1 | allold.sch | --gentle all_old_refdeses2 | allold.sch | some_new_pgskip1 | someold1.sch someold2.sch someold3.sch | --gentle --pgskip some_new_pgskip2 | someold1.sch someold2.sch someold3.sch | --pgskip lepton-eda-1.9.16/utils/refdes_renum/tests/inputs/0000755000175000017500000000000014101262653017143 500000000000000lepton-eda-1.9.16/utils/refdes_renum/tests/inputs/Makefile.am0000644000175000017500000000022314101257250021111 00000000000000EXTRA_DIST= \ allnew.sch \ allold.sch \ file1.sch \ file2.sch \ file3.sch \ more_than_10.sch \ someold1.sch \ someold2.sch \ someold3.sch lepton-eda-1.9.16/utils/refdes_renum/tests/inputs/file2.sch0000644000175000017500000000046714101257250020567 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C5 refdes=C3 refdes=R2 refdes=R3 refdes=J? refdes=C? refdes=J? refdes=L2 refdes=C1 refdes=U? refdes=U? refdes=U? lepton-eda-1.9.16/utils/refdes_renum/tests/inputs/allold.sch0000644000175000017500000000054214101257250021027 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C5 refdes=R6 refdes=R7 refdes=C3 refdes=R2 refdes=R3 refdes=L18 refdes=J2 refdes=C8 refdes=C9 refdes=C7 refdes=J1 refdes=L17 refdes=C1 refdes=L19 refdes=R5 lepton-eda-1.9.16/utils/refdes_renum/tests/inputs/someold3.sch0000644000175000017500000000056114101257250021306 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C305 refdes=R? refdes=R? refdes=C303 refdes=R302 refdes=R303 refdes=L? refdes=J? refdes=C? refdes=C? refdes=C307 refdes=J301 refdes=L317 refdes=C301 refdes=L? refdes=R305 lepton-eda-1.9.16/utils/refdes_renum/tests/inputs/more_than_10.sch0000644000175000017500000000066014101257250022035 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run # # This file is designed to help check what happens if you # have a -pgskip which is too low so you run out of refdes's refdes=C? refdes=C? refdes=C? refdes=C? refdes=C? refdes=C? refdes=C? refdes=C? refdes=C? refdes=C? refdes=C? refdes=C? lepton-eda-1.9.16/utils/refdes_renum/tests/inputs/Makefile.in0000644000175000017500000004053414101262632021133 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = utils/refdes_renum/tests/inputs ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/guile.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lepton-assert.m4 \ $(top_srcdir)/m4/lepton-attrib.m4 \ $(top_srcdir)/m4/lepton-awk.m4 \ $(top_srcdir)/m4/lepton-cairo.m4 \ $(top_srcdir)/m4/lepton-contrib.m4 \ $(top_srcdir)/m4/lepton-data-dirs.m4 \ $(top_srcdir)/m4/lepton-desktop-i18n.m4 \ $(top_srcdir)/m4/lepton-desktop.m4 \ $(top_srcdir)/m4/lepton-doxygen.m4 \ $(top_srcdir)/m4/lepton-gcc-flags.m4 \ $(top_srcdir)/m4/lepton-git-version.m4 \ $(top_srcdir)/m4/lepton-git.m4 \ $(top_srcdir)/m4/lepton-groff.m4 \ $(top_srcdir)/m4/lepton-guile.m4 \ $(top_srcdir)/m4/lepton-host.m4 \ $(top_srcdir)/m4/lepton-stroke.m4 \ $(top_srcdir)/m4/lepton-uri-viewer.m4 \ $(top_srcdir)/m4/lepton-windows.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/liblepton.m4 \ $(top_srcdir)/m4/libleptonattrib.m4 \ $(top_srcdir)/m4/libleptongui.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pcb-data-dirs.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITMAP_DIRECTORY = @BITMAP_DIRECTORY@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@ CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@ CAIRO_PNG_CFLAGS = @CAIRO_PNG_CFLAGS@ CAIRO_PNG_LIBS = @CAIRO_PNG_LIBS@ CAIRO_PS_CFLAGS = @CAIRO_PS_CFLAGS@ CAIRO_PS_LIBS = @CAIRO_PS_LIBS@ CAIRO_SVG_CFLAGS = @CAIRO_SVG_CFLAGS@ CAIRO_SVG_LIBS = @CAIRO_SVG_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE_VERSION = @DATE_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DESKTOP_I18N = @DESKTOP_I18N@ DESKTOP_I18N_CREATE = @DESKTOP_I18N_CREATE@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@ DESKTOP_I18N_SCRIPT = @DESKTOP_I18N_SCRIPT@ DLLTOOL = @DLLTOOL@ DOT = @DOT@ DOTTED_VERSION = @DOTTED_VERSION@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GDK_CFLAGS = @GDK_CFLAGS@ GDK_LIBS = @GDK_LIBS@ GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@ GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@ GETTEXT = @GETTEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GIT = @GIT@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GROFF = @GROFF@ GTKEXTRA_CFLAGS = @GTKEXTRA_CFLAGS@ GTKEXTRA_LIBS = @GTKEXTRA_LIBS@ GTKSHEET_CFLAGS = @GTKSHEET_CFLAGS@ GTKSHEET_LIBS = @GTKSHEET_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GUILD = @GUILD@ GUILE = @GUILE@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@ GUILE_LDFLAGS = @GUILE_LDFLAGS@ GUILE_LIBS = @GUILE_LIBS@ GUILE_LTLIBS = @GUILE_LTLIBS@ GUILE_PKG_NAME = @GUILE_PKG_NAME@ GUILE_SNARF = @GUILE_SNARF@ GUILE_TOOLS = @GUILE_TOOLS@ HAVE_GIT_REPO = @HAVE_GIT_REPO@ ICON_THEME_INSTALLER = @ICON_THEME_INSTALLER@ INKSCAPE = @INKSCAPE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEPTONDATADIR = @LEPTONDATADIR@ LEPTON_SCHEME_MODULE_DIRECTORY = @LEPTON_SCHEME_MODULE_DIRECTORY@ LEPTON_SCM_PRECOMPILE_DIR = @LEPTON_SCM_PRECOMPILE_DIR@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBLEPTONATTRIB_MAJOR = @LIBLEPTONATTRIB_MAJOR@ LIBLEPTONATTRIB_SHLIB_VERSION = @LIBLEPTONATTRIB_SHLIB_VERSION@ LIBLEPTONGUI_MAJOR = @LIBLEPTONGUI_MAJOR@ LIBLEPTONGUI_SHLIB_VERSION = @LIBLEPTONGUI_SHLIB_VERSION@ LIBLEPTON_GETTEXT_DOMAIN = @LIBLEPTON_GETTEXT_DOMAIN@ LIBLEPTON_MAJOR = @LIBLEPTON_MAJOR@ LIBLEPTON_SHLIB_VERSION = @LIBLEPTON_SHLIB_VERSION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSTROKE_CPPFLAGS = @LIBSTROKE_CPPFLAGS@ LIBSTROKE_LDFLAGS = @LIBSTROKE_LDFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ M4 = @M4@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MINGW_CFLAGS = @MINGW_CFLAGS@ MINGW_GUI_LDFLAGS = @MINGW_GUI_LDFLAGS@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCBDATADIR = @PCBDATADIR@ PCBLIBPATH = @PCBLIBPATH@ PCBM4DIR = @PCBM4DIR@ PDFLATEX = @PDFLATEX@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ URI_VIEWER = @URI_VIEWER@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDOWS_LIBTOOL_FLAGS = @WINDOWS_LIBTOOL_FLAGS@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = \ allnew.sch \ allold.sch \ file1.sch \ file2.sch \ file3.sch \ more_than_10.sch \ someold1.sch \ someold2.sch \ someold3.sch all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/refdes_renum/tests/inputs/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign utils/refdes_renum/tests/inputs/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags-am uninstall uninstall-am .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/refdes_renum/tests/inputs/allnew.sch0000644000175000017500000000063314101257250021043 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C? refdes=C? refdes=R? refdes=R? refdes=R? refdes=R? refdes=J? refdes=C? refdes=C? refdes=C? refdes=J? refdes=L? refdes=C? refdes=R? refdes=R? refdes=R? refdes=Q? refdes=U? refdes=Q? refdes=U? refdes=Q? refdes=U? lepton-eda-1.9.16/utils/refdes_renum/tests/inputs/someold1.sch0000644000175000017500000000056114101257250021304 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C105 refdes=R? refdes=R? refdes=C103 refdes=R102 refdes=R103 refdes=L? refdes=J? refdes=C? refdes=C? refdes=C107 refdes=J101 refdes=L117 refdes=C101 refdes=L? refdes=R105 lepton-eda-1.9.16/utils/refdes_renum/tests/inputs/someold2.sch0000644000175000017500000000056114101257250021305 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C222 refdes=R? refdes=R? refdes=C213 refdes=R212 refdes=R213 refdes=L? refdes=J? refdes=C? refdes=C? refdes=C217 refdes=J211 refdes=L227 refdes=C211 refdes=L? refdes=R215 lepton-eda-1.9.16/utils/refdes_renum/tests/inputs/file1.sch0000644000175000017500000000043114101257250020555 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=C5 refdes=C3 refdes=R2 refdes=R3 refdes=J? refdes=C? refdes=J? refdes=L2 refdes=C1 lepton-eda-1.9.16/utils/refdes_renum/tests/inputs/file3.sch0000644000175000017500000000044314101257250020562 00000000000000# This is not really a schematic file, but refdes_renum # is supposed to _only_ modify "refdes=" lines. # # Do NOT add RCS keywords in this file or they will break # the diff's which get run refdes=U5 refdes=C5 refdes=C3 refdes=R2 refdes=R3 refdes=J? refdes=C? refdes=J? refdes=L2 refdes=C1 lepton-eda-1.9.16/utils/symfix/0000755000175000017500000000000014101262653013320 500000000000000lepton-eda-1.9.16/utils/symfix/Makefile.am0000644000175000017500000000012114101257250015263 00000000000000SUBDIRS = \ docs bin_SCRIPTS = \ lepton-symfix EXTRA_DIST = \ lepton-symfix lepton-eda-1.9.16/utils/symfix/docs/0000755000175000017500000000000014101262653014250 500000000000000lepton-eda-1.9.16/utils/symfix/docs/Makefile.am0000644000175000017500000000150014101257250016215 00000000000000dist_man_MANS = \ lepton-symfix.1 EXTRA_DIST = \ lepton-symfix.1.in .1.in.1: d=`$(GUILE) -c '(setlocale LC_ALL "C") \ (display (strftime "%B %-d, %Y" \ (car (strptime "%Y%m%d" (cadr (program-arguments))))))' $(DATE_VERSION)` ; \ v="$(DOTTED_VERSION).$(DATE_VERSION)" ; \ y=`echo $(DATE_VERSION)| sed -e"s/\(....\).*/\1/"`; \ sed -e"s:[@]DATE@:$$d:" -e"s:[@]VERSION@:$$v:" -e"s:[@]YEAR@:$$y:" < $< > $@ # Rules for converting man->html html_man_files = $(dist_man_MANS:%.1=%.html) SUFFIXES = .1.in .1 .html docsmandir=$(docdir)/man dist_docsman_DATA=$(html_man_files) if ENABLE_GROFF_HTML .1.html: rm -rf $@.tmp && \ LC_NUMERIC=C $(GROFF) -man -T html $< >$@.tmp && \ mv -f $@.tmp $@ else .1.html: @echo "No working groff available: cannot create $@" @! : endif CLEANFILES = $(dist_man_MANS) $(html_man_files) lepton-eda-1.9.16/utils/symfix/docs/lepton-symfix.html0000644000175000017500000001131514101262653017675 00000000000000 lepton-symfix

lepton-symfix

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
AUTHOR
SEE ALSO
COPYRIGHT

NAME

lepton-symfix - automatically fix common issues with Lepton EDA symbols

SYNOPSIS

lepton-symfix [ options ] symbol_file

DESCRIPTION

lepton-symfix reads a Lepton EDA symbol file and does the following:

prints a warning if there is no pinnumber attribute on a pin;

Renumbers pinseq attributes on all pins, starting with 1;

Adds a pinseq attribute to a pin if none exists;

Adds a pinlabel=n_a attribute to a pin if none exists;

Adds a pintype=io attribute to a pin if none exists;

Adds a numslots=0 attribute to the symbol if none exists;

Adds a device=XXX attribute to the symbol if none exists;

Adds a footprint=XXX attribute to the symbol if none exists.

The idea here is to fix common cut-and-paste issues and fix up the symbol so that it will pass lepton-symcheck(1) with no errors or warnings.

OPTIONS

lepton-symfix accepts the following options:
-h
, --help

Displays this help message.

--verbose

Enables verbose output.

--vverbose

Enables *very* verbose output.

--version

Shows the version of this program.

AUTHOR

Mike Skerritt <mike@acornpacket.com>.

SEE ALSO

lepton-schematic(1), lepton-symcheck(1)

COPYRIGHT

Copyright © 2012-2017 gEDA Contributors.
License GPLv2+: GNU GPL version 2 or later. Please see the ’COPYING’
file included with this program for full details.

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


lepton-eda-1.9.16/utils/symfix/docs/lepton-symfix.1.in0000644000175000017500000000315714101257250017500 00000000000000.TH lepton-symfix 1 "@DATE@" "Lepton EDA" @VERSION@ .SH NAME lepton-symfix \- automatically fix common issues with Lepton EDA symbols .SH SYNOPSIS .B lepton-symfix [ .I options .B ] .I symbol_file .SH DESCRIPTION .B lepton-symfix reads a Lepton EDA symbol file and does the following: .IP \(bu prints a warning if there is no pinnumber attribute on a pin; .IP \(bu Renumbers pinseq attributes on all pins, starting with 1; .IP \(bu Adds a pinseq attribute to a pin if none exists; .IP \(bu Adds a pinlabel=n_a attribute to a pin if none exists; .IP \(bu Adds a pintype=io attribute to a pin if none exists; .IP \(bu Adds a numslots=0 attribute to the symbol if none exists; .IP \(bu Adds a device=XXX attribute to the symbol if none exists; .IP \(bu Adds a footprint=XXX attribute to the symbol if none exists. .PP The idea here is to fix common cut-and-paste issues and fix up the symbol so that it will pass .BR lepton-symcheck (1) with no errors or warnings. .SH OPTIONS .B lepton-symfix accepts the following options: .TP .BR -h ", " \-\-help Displays this help message. .TP .B \-\-verbose Enables verbose output. .TP .B \-\-vverbose Enables *very* verbose output. .TP .B \-\-version Shows the version of this program. .SH AUTHOR Mike Skerritt . .SH SEE ALSO .BR lepton-schematic (1), .BR lepton-symcheck (1) .SH COPYRIGHT .nf Copyright \(co 2012-2017 gEDA Contributors. License GPLv2+: GNU GPL version 2 or later. Please see the `COPYING' file included with this program for full details. .PP This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. lepton-eda-1.9.16/utils/symfix/docs/lepton-symfix.10000644000175000017500000000317414101262653017075 00000000000000.TH lepton-symfix 1 "July 31, 2021" "Lepton EDA" 1.9.16.20210731 .SH NAME lepton-symfix \- automatically fix common issues with Lepton EDA symbols .SH SYNOPSIS .B lepton-symfix [ .I options .B ] .I symbol_file .SH DESCRIPTION .B lepton-symfix reads a Lepton EDA symbol file and does the following: .IP \(bu prints a warning if there is no pinnumber attribute on a pin; .IP \(bu Renumbers pinseq attributes on all pins, starting with 1; .IP \(bu Adds a pinseq attribute to a pin if none exists; .IP \(bu Adds a pinlabel=n_a attribute to a pin if none exists; .IP \(bu Adds a pintype=io attribute to a pin if none exists; .IP \(bu Adds a numslots=0 attribute to the symbol if none exists; .IP \(bu Adds a device=XXX attribute to the symbol if none exists; .IP \(bu Adds a footprint=XXX attribute to the symbol if none exists. .PP The idea here is to fix common cut-and-paste issues and fix up the symbol so that it will pass .BR lepton-symcheck (1) with no errors or warnings. .SH OPTIONS .B lepton-symfix accepts the following options: .TP .BR -h ", " \-\-help Displays this help message. .TP .B \-\-verbose Enables verbose output. .TP .B \-\-vverbose Enables *very* verbose output. .TP .B \-\-version Shows the version of this program. .SH AUTHOR Mike Skerritt . .SH SEE ALSO .BR lepton-schematic (1), .BR lepton-symcheck (1) .SH COPYRIGHT .nf Copyright \(co 2012-2017 gEDA Contributors. License GPLv2+: GNU GPL version 2 or later. Please see the `COPYING' file included with this program for full details. .PP This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. lepton-eda-1.9.16/utils/symfix/docs/Makefile.in0000644000175000017500000005241614101262632016242 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = utils/symfix/docs ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/guile.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lepton-assert.m4 \ $(top_srcdir)/m4/lepton-attrib.m4 \ $(top_srcdir)/m4/lepton-awk.m4 \ $(top_srcdir)/m4/lepton-cairo.m4 \ $(top_srcdir)/m4/lepton-contrib.m4 \ $(top_srcdir)/m4/lepton-data-dirs.m4 \ $(top_srcdir)/m4/lepton-desktop-i18n.m4 \ $(top_srcdir)/m4/lepton-desktop.m4 \ $(top_srcdir)/m4/lepton-doxygen.m4 \ $(top_srcdir)/m4/lepton-gcc-flags.m4 \ $(top_srcdir)/m4/lepton-git-version.m4 \ $(top_srcdir)/m4/lepton-git.m4 \ $(top_srcdir)/m4/lepton-groff.m4 \ $(top_srcdir)/m4/lepton-guile.m4 \ $(top_srcdir)/m4/lepton-host.m4 \ $(top_srcdir)/m4/lepton-stroke.m4 \ $(top_srcdir)/m4/lepton-uri-viewer.m4 \ $(top_srcdir)/m4/lepton-windows.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/liblepton.m4 \ $(top_srcdir)/m4/libleptonattrib.m4 \ $(top_srcdir)/m4/libleptongui.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pcb-data-dirs.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(dist_docsman_DATA) \ $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } man1dir = $(mandir)/man1 am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docsmandir)" NROFF = nroff MANS = $(dist_man_MANS) DATA = $(dist_docsman_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(dist_man_MANS) $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITMAP_DIRECTORY = @BITMAP_DIRECTORY@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@ CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@ CAIRO_PNG_CFLAGS = @CAIRO_PNG_CFLAGS@ CAIRO_PNG_LIBS = @CAIRO_PNG_LIBS@ CAIRO_PS_CFLAGS = @CAIRO_PS_CFLAGS@ CAIRO_PS_LIBS = @CAIRO_PS_LIBS@ CAIRO_SVG_CFLAGS = @CAIRO_SVG_CFLAGS@ CAIRO_SVG_LIBS = @CAIRO_SVG_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE_VERSION = @DATE_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DESKTOP_I18N = @DESKTOP_I18N@ DESKTOP_I18N_CREATE = @DESKTOP_I18N_CREATE@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@ DESKTOP_I18N_SCRIPT = @DESKTOP_I18N_SCRIPT@ DLLTOOL = @DLLTOOL@ DOT = @DOT@ DOTTED_VERSION = @DOTTED_VERSION@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GDK_CFLAGS = @GDK_CFLAGS@ GDK_LIBS = @GDK_LIBS@ GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@ GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@ GETTEXT = @GETTEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GIT = @GIT@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GROFF = @GROFF@ GTKEXTRA_CFLAGS = @GTKEXTRA_CFLAGS@ GTKEXTRA_LIBS = @GTKEXTRA_LIBS@ GTKSHEET_CFLAGS = @GTKSHEET_CFLAGS@ GTKSHEET_LIBS = @GTKSHEET_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GUILD = @GUILD@ GUILE = @GUILE@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@ GUILE_LDFLAGS = @GUILE_LDFLAGS@ GUILE_LIBS = @GUILE_LIBS@ GUILE_LTLIBS = @GUILE_LTLIBS@ GUILE_PKG_NAME = @GUILE_PKG_NAME@ GUILE_SNARF = @GUILE_SNARF@ GUILE_TOOLS = @GUILE_TOOLS@ HAVE_GIT_REPO = @HAVE_GIT_REPO@ ICON_THEME_INSTALLER = @ICON_THEME_INSTALLER@ INKSCAPE = @INKSCAPE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEPTONDATADIR = @LEPTONDATADIR@ LEPTON_SCHEME_MODULE_DIRECTORY = @LEPTON_SCHEME_MODULE_DIRECTORY@ LEPTON_SCM_PRECOMPILE_DIR = @LEPTON_SCM_PRECOMPILE_DIR@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBLEPTONATTRIB_MAJOR = @LIBLEPTONATTRIB_MAJOR@ LIBLEPTONATTRIB_SHLIB_VERSION = @LIBLEPTONATTRIB_SHLIB_VERSION@ LIBLEPTONGUI_MAJOR = @LIBLEPTONGUI_MAJOR@ LIBLEPTONGUI_SHLIB_VERSION = @LIBLEPTONGUI_SHLIB_VERSION@ LIBLEPTON_GETTEXT_DOMAIN = @LIBLEPTON_GETTEXT_DOMAIN@ LIBLEPTON_MAJOR = @LIBLEPTON_MAJOR@ LIBLEPTON_SHLIB_VERSION = @LIBLEPTON_SHLIB_VERSION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSTROKE_CPPFLAGS = @LIBSTROKE_CPPFLAGS@ LIBSTROKE_LDFLAGS = @LIBSTROKE_LDFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ M4 = @M4@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MINGW_CFLAGS = @MINGW_CFLAGS@ MINGW_GUI_LDFLAGS = @MINGW_GUI_LDFLAGS@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCBDATADIR = @PCBDATADIR@ PCBLIBPATH = @PCBLIBPATH@ PCBM4DIR = @PCBM4DIR@ PDFLATEX = @PDFLATEX@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ URI_VIEWER = @URI_VIEWER@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDOWS_LIBTOOL_FLAGS = @WINDOWS_LIBTOOL_FLAGS@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ dist_man_MANS = \ lepton-symfix.1 EXTRA_DIST = \ lepton-symfix.1.in # Rules for converting man->html html_man_files = $(dist_man_MANS:%.1=%.html) SUFFIXES = .1.in .1 .html docsmandir = $(docdir)/man dist_docsman_DATA = $(html_man_files) CLEANFILES = $(dist_man_MANS) $(html_man_files) all: all-am .SUFFIXES: .SUFFIXES: .1.in .1 .html $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/symfix/docs/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign utils/symfix/docs/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-man1: $(dist_man_MANS) @$(NORMAL_INSTALL) @list1=''; \ list2='$(dist_man_MANS)'; \ test -n "$(man1dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.1[a-z]*$$/p'; \ fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ done | \ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ sed 'N;N;s,\n, ,g' | { \ list=; while read file base inst; do \ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ fi; \ done; \ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ while read files; do \ test -z "$$files" || { \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ done; } uninstall-man1: @$(NORMAL_UNINSTALL) @list=''; test -n "$(man1dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \ sed -n '/\.1[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) install-dist_docsmanDATA: $(dist_docsman_DATA) @$(NORMAL_INSTALL) @list='$(dist_docsman_DATA)'; test -n "$(docsmandir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(docsmandir)'"; \ $(MKDIR_P) "$(DESTDIR)$(docsmandir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docsmandir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(docsmandir)" || exit $$?; \ done uninstall-dist_docsmanDATA: @$(NORMAL_UNINSTALL) @list='$(dist_docsman_DATA)'; test -n "$(docsmandir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(docsmandir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(MANS) $(DATA) installdirs: for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docsmandir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dist_docsmanDATA install-man install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-man1 install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-dist_docsmanDATA uninstall-man uninstall-man: uninstall-man1 .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am \ install-dist_docsmanDATA install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-man1 \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags-am uninstall uninstall-am uninstall-dist_docsmanDATA \ uninstall-man uninstall-man1 .PRECIOUS: Makefile .1.in.1: d=`$(GUILE) -c '(setlocale LC_ALL "C") \ (display (strftime "%B %-d, %Y" \ (car (strptime "%Y%m%d" (cadr (program-arguments))))))' $(DATE_VERSION)` ; \ v="$(DOTTED_VERSION).$(DATE_VERSION)" ; \ y=`echo $(DATE_VERSION)| sed -e"s/\(....\).*/\1/"`; \ sed -e"s:[@]DATE@:$$d:" -e"s:[@]VERSION@:$$v:" -e"s:[@]YEAR@:$$y:" < $< > $@ @ENABLE_GROFF_HTML_TRUE@.1.html: @ENABLE_GROFF_HTML_TRUE@ rm -rf $@.tmp && \ @ENABLE_GROFF_HTML_TRUE@ LC_NUMERIC=C $(GROFF) -man -T html $< >$@.tmp && \ @ENABLE_GROFF_HTML_TRUE@ mv -f $@.tmp $@ @ENABLE_GROFF_HTML_FALSE@.1.html: @ENABLE_GROFF_HTML_FALSE@ @echo "No working groff available: cannot create $@" @ENABLE_GROFF_HTML_FALSE@ @! : # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/symfix/Makefile.in0000644000175000017500000006242114101262632015307 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = utils/symfix ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/guile.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lepton-assert.m4 \ $(top_srcdir)/m4/lepton-attrib.m4 \ $(top_srcdir)/m4/lepton-awk.m4 \ $(top_srcdir)/m4/lepton-cairo.m4 \ $(top_srcdir)/m4/lepton-contrib.m4 \ $(top_srcdir)/m4/lepton-data-dirs.m4 \ $(top_srcdir)/m4/lepton-desktop-i18n.m4 \ $(top_srcdir)/m4/lepton-desktop.m4 \ $(top_srcdir)/m4/lepton-doxygen.m4 \ $(top_srcdir)/m4/lepton-gcc-flags.m4 \ $(top_srcdir)/m4/lepton-git-version.m4 \ $(top_srcdir)/m4/lepton-git.m4 \ $(top_srcdir)/m4/lepton-groff.m4 \ $(top_srcdir)/m4/lepton-guile.m4 \ $(top_srcdir)/m4/lepton-host.m4 \ $(top_srcdir)/m4/lepton-stroke.m4 \ $(top_srcdir)/m4/lepton-uri-viewer.m4 \ $(top_srcdir)/m4/lepton-windows.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/liblepton.m4 \ $(top_srcdir)/m4/libleptonattrib.m4 \ $(top_srcdir)/m4/libleptongui.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pcb-data-dirs.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(bindir)" SCRIPTS = $(bin_SCRIPTS) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir distdir-am am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITMAP_DIRECTORY = @BITMAP_DIRECTORY@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@ CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@ CAIRO_PNG_CFLAGS = @CAIRO_PNG_CFLAGS@ CAIRO_PNG_LIBS = @CAIRO_PNG_LIBS@ CAIRO_PS_CFLAGS = @CAIRO_PS_CFLAGS@ CAIRO_PS_LIBS = @CAIRO_PS_LIBS@ CAIRO_SVG_CFLAGS = @CAIRO_SVG_CFLAGS@ CAIRO_SVG_LIBS = @CAIRO_SVG_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE_VERSION = @DATE_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DESKTOP_I18N = @DESKTOP_I18N@ DESKTOP_I18N_CREATE = @DESKTOP_I18N_CREATE@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@ DESKTOP_I18N_SCRIPT = @DESKTOP_I18N_SCRIPT@ DLLTOOL = @DLLTOOL@ DOT = @DOT@ DOTTED_VERSION = @DOTTED_VERSION@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GDK_CFLAGS = @GDK_CFLAGS@ GDK_LIBS = @GDK_LIBS@ GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@ GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@ GETTEXT = @GETTEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GIT = @GIT@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GROFF = @GROFF@ GTKEXTRA_CFLAGS = @GTKEXTRA_CFLAGS@ GTKEXTRA_LIBS = @GTKEXTRA_LIBS@ GTKSHEET_CFLAGS = @GTKSHEET_CFLAGS@ GTKSHEET_LIBS = @GTKSHEET_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GUILD = @GUILD@ GUILE = @GUILE@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@ GUILE_LDFLAGS = @GUILE_LDFLAGS@ GUILE_LIBS = @GUILE_LIBS@ GUILE_LTLIBS = @GUILE_LTLIBS@ GUILE_PKG_NAME = @GUILE_PKG_NAME@ GUILE_SNARF = @GUILE_SNARF@ GUILE_TOOLS = @GUILE_TOOLS@ HAVE_GIT_REPO = @HAVE_GIT_REPO@ ICON_THEME_INSTALLER = @ICON_THEME_INSTALLER@ INKSCAPE = @INKSCAPE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEPTONDATADIR = @LEPTONDATADIR@ LEPTON_SCHEME_MODULE_DIRECTORY = @LEPTON_SCHEME_MODULE_DIRECTORY@ LEPTON_SCM_PRECOMPILE_DIR = @LEPTON_SCM_PRECOMPILE_DIR@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBLEPTONATTRIB_MAJOR = @LIBLEPTONATTRIB_MAJOR@ LIBLEPTONATTRIB_SHLIB_VERSION = @LIBLEPTONATTRIB_SHLIB_VERSION@ LIBLEPTONGUI_MAJOR = @LIBLEPTONGUI_MAJOR@ LIBLEPTONGUI_SHLIB_VERSION = @LIBLEPTONGUI_SHLIB_VERSION@ LIBLEPTON_GETTEXT_DOMAIN = @LIBLEPTON_GETTEXT_DOMAIN@ LIBLEPTON_MAJOR = @LIBLEPTON_MAJOR@ LIBLEPTON_SHLIB_VERSION = @LIBLEPTON_SHLIB_VERSION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSTROKE_CPPFLAGS = @LIBSTROKE_CPPFLAGS@ LIBSTROKE_LDFLAGS = @LIBSTROKE_LDFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ M4 = @M4@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MINGW_CFLAGS = @MINGW_CFLAGS@ MINGW_GUI_LDFLAGS = @MINGW_GUI_LDFLAGS@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCBDATADIR = @PCBDATADIR@ PCBLIBPATH = @PCBLIBPATH@ PCBM4DIR = @PCBM4DIR@ PDFLATEX = @PDFLATEX@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ URI_VIEWER = @URI_VIEWER@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDOWS_LIBTOOL_FLAGS = @WINDOWS_LIBTOOL_FLAGS@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = \ docs bin_SCRIPTS = \ lepton-symfix EXTRA_DIST = \ lepton-symfix all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/symfix/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign utils/symfix/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-binSCRIPTS: $(bin_SCRIPTS) @$(NORMAL_INSTALL) @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n' \ -e 'h;s|.*|.|' \ -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) { files[d] = files[d] " " $$1; \ if (++n[d] == $(am__install_max)) { \ print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ else { print "f", d "/" $$4, $$1 } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 's,.*/,,;$(transform)'`; \ dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir) mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(SCRIPTS) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(bindir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-binSCRIPTS install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-binSCRIPTS .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ check-am clean clean-generic clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-binSCRIPTS install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ uninstall-am uninstall-binSCRIPTS .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/symfix/lepton-symfix0000755000175000017500000001516714101257250016013 00000000000000#!/usr/bin/env perl my $version = "0.8"; # This script reads a Lepton EDA symbol and does the following: # (...see the usage routine below...) # for parsing input options use Getopt::Long; # don't allow -he to be interpreted as --help $Getopt::Long::autoabbrev=0; &GetOptions(("help|h" => \&usage, "verbose" => \$verbose, "vverbose" => \$vverbose, "version" => \&version )); usage() if $Getopt::Long::error; usage() unless @ARGV; my $found_pinnumber_attr = 0; my $found_pinseq_attr = 0; my $found_pintype_attr = 0; my $found_pinlabel_attr = 0; my $found_numslots_attr = 0; my $found_device_attr = 0; my $found_footprint_attr = 0; my $seqcnt = 0; my $skip_line_out = 0; my $file_line = 0; my $st_scan = 0; my $st_pin_start = 1; my $st_pin_body = 2; my $state = $st_scan; # intial state machine state if($vverbose) { $verbose = 1; } # make sure the input schematic exists and we can read it my $fname=shift(@ARGV); print "\nProcessing symbol file $fname\n"; open(NETLIST,"$fname") or die "Can't open $fname: $!\n"; # open output netlist $outfname="$fname.fix"; open(OUTNET,">$outfname") or die "Can't open $outfname: $!\n"; # parse netlist while($line = ) { $file_line++; #========================== if( $state == $st_scan ) { if( $line =~ /^P/) { $state = $st_pin_start; if($vverbose){print "Pin start...\n";} } elsif( $line =~ /^numslots=/) { $found_numslots_attr = 1; } elsif( $line =~ /^device=/) { $found_device_attr = 1; } elsif( $line =~ /^footprint=/) { $found_footprint_attr = 1; } print OUTNET $line; } #========================== elsif( $state == $st_pin_start ) { if( $line =~ /^{/) { $state = $st_pin_body; $found_pinnumber_attr = 0; $found_pinseq_attr = 0; $found_pintype_attr = 0; $found_pinlabel_attr = 0; print OUTNET $line; } else { print STDERR "*** ERROR: No pin left bracket found at line $file_line\n"; exit(-1); } } #========================== elsif( $state == $st_pin_body ) { #---------------------- if( $line =~ /^pinnumber/) { $found_pinnumber_attr = 1; $pin_num = $line; $pin_num =~ s/\n//; $pin_num =~ s/^pinnumber=//; $pinnumber_attr_line = $prev_line; if($vverbose){print " pinnumber attribute found ($pin_num)\n";} } #---------------------- elsif( $line =~ /^pinseq/) { $found_pinseq_attr = 1; if($vverbose){print " Pinseq attribute found\n";} $seqcnt++; if($vverbose){print " Renumbering attr pinseq=$seqcnt\n";} print OUTNET "pinseq=$seqcnt\n"; $skip_line_out++; } #---------------------- elsif( $line =~ /^pintype/) { $found_pintype_attr = 1; if($vverbose){print " pintype attribute found\n";} } #---------------------- elsif( $line =~ /^pinlabel/) { $found_pinlabel_attr = 1; if($vverbose){print " pinlabel attribute found\n";} } #---------------------- elsif( $line =~ /^}/) { $state = $st_scan; if( $found_pinnumber_attr == 0 ) { print "*** WARNING: no pinum attribute found at line $file_line\n"; } if( $found_pinseq_attr == 0 ) { $seqcnt++; if($verbose){print " Pin $pin_num: Adding attr pinseq=$seqcnt\n";} print OUTNET $pinnumber_attr_line; print OUTNET "pinseq=$seqcnt\n"; } if( $found_pintype_attr == 0 ) { if($verbose){print " Pin $pin_num: Adding attr pintype=io\n";} print OUTNET $pinnumber_attr_line; print OUTNET "pintype=io\n"; } if( $found_pinlabel_attr == 0 ) { if($verbose){print " Pin $pin_num: Adding attr pinlabel=n_a\n";} print OUTNET $pinnumber_attr_line; print OUTNET "pinlabel=n_a\n"; } if($vverbose){print "Pin end...\n";} } if( $skip_line_out ) { $skip_line_out = 0; } else { print OUTNET $line; } $prev_line = $line; # Save line for next pass } } if( $found_numslots_attr == 0 ) { if($verbose){print " Adding attr numslots=0\n";} print OUTNET "T 600 100 9 10 0 0 0 0 1\n"; print OUTNET "numslots=0\n"; } if( $found_device_attr == 0 ) { if($verbose){print " Adding attr device=none\n";} print OUTNET "T 600 100 9 10 0 0 0 0 1\n"; print OUTNET "device=none\n"; } if( $found_footprint_attr == 0 ) { if($verbose){print " Adding attr footprint=unknown\n";} print OUTNET "T 600 100 9 10 0 0 0 0 1\n"; print OUTNET "footprint=unknown\n"; } close(NETLIST); close(OUTNET); print STDERR "Output written to file $outfname\n\n"; exit; ####################################################################### # # Subroutines # ####################################################################### #--------------------------------- # usage() # # prints program usage #--------------------------------- sub usage { my $pname = $0; $pname =~ s/.*\///g; print "\nUsage:\n\n"; print " $pname [option] symbol_file\n"; print "\n"; print " $pname reads a Lepton EDA symbol file and does the following:\n"; print "\t- Prints a warning if there is no pinnumber attribute on a pin\n"; print "\t- Renumbers pinseq attributes on all pins, starting with 1\n"; print "\t- Adds a pinseq attribute to a pin if none exists\n"; print "\t- Adds a pinlabel=n_a attribute to a pin if none exists\n"; print "\t- Adds a pintype=io attribute to a pin if none exists\n"; print "\t- Adds a numslots=0 attribute to the symbol if none exists\n"; print "\t- Adds a device=XXX attribute to the symbol if none exists\n"; print "\t- Adds a footprint=XXX attribute to the symbol if none exists\n"; print " The idea here is to fix common cut and paste issues and fix up\n"; print " the symbol so that it will pass lepton-symcheck with no errors\n"; print " or warnings.\n"; print "\n"; print " $pname accepts the following options:\n"; print "\n"; print " --help, -h Displays this help message.\n"; print "\n"; print " --verbose Enables verbose output.\n"; print "\n"; print " --vverbose Enables *very* verbose output.\n"; print "\n"; print " --version Shows the version of this program.\n"; print "\n"; print " $pname was written by Mike Skerritt \n"; print "\n\n"; exit; } #--------------------------------- # version() # # prints program version #--------------------------------- sub version { my $pname = $0; $pname =~ s/.*\///g; print "Lepton EDA 1.9.13.20201211\n"; print "$pname was written by Mike Skerritt \n"; print "Copyright (C) 2004 Mike Skerritt\n"; print "Copyright (C) 2004-2016 gEDA Contributors\n"; print "Copyright (C) 2017-2021 Lepton EDA Contributors\n"; exit(0); } lepton-eda-1.9.16/utils/netlist/0000755000175000017500000000000014101262656013466 500000000000000lepton-eda-1.9.16/utils/netlist/Makefile.am0000644000175000017500000000074514101257250015442 00000000000000SUBDIRS = scheme examples tests docs bin_SCRIPTS = \ lepton-netlist EXTRA_DIST = \ lepton-netlist.scm do_subst = sed -e 's,[@]libdir[@],$(libdir),g' \ -e 's,[@]GUILE[@],$(GUILE),g' \ -e 's,[@]LEPTON_SCHEME_MODULE_DIRECTORY[@],$(LEPTON_SCHEME_MODULE_DIRECTORY),g' \ -e 's,[@]localedir[@],$(localedir),g' \ -e 's,[@]ccachedir[@],@LEPTON_SCM_PRECOMPILE_DIR@,g' lepton-netlist: lepton-netlist.scm $(do_subst) < $(srcdir)/$@.scm > $@ chmod +x $@ CLEANFILES = \ lepton-netlist lepton-eda-1.9.16/utils/netlist/docs/0000755000175000017500000000000014101262656014416 500000000000000lepton-eda-1.9.16/utils/netlist/docs/Makefile.am0000644000175000017500000000200014101260062016347 00000000000000SUBDIRS = vams EXTRA_DIST = \ $(html_man_files) \ lepton-netlist.1.in \ BUGS docsreadmedir = $(docdir)/readmes dist_docsreadme_DATA = \ README.bom README.pcb README.switcap README.verilog \ README.vhdl README.sysc README.eagle dist_man_MANS = lepton-netlist.1 .1.in.1: d=`$(GUILE) -c '(setlocale LC_ALL "C") \ (display (strftime "%B %-d, %Y" \ (car (strptime "%Y%m%d" (cadr (program-arguments))))))' $(DATE_VERSION)` ; \ v="$(DOTTED_VERSION).$(DATE_VERSION)" ; \ y=`echo $(DATE_VERSION)| sed -e"s/\(....\).*/\1/"`; \ sed -e"s:[@]DATE@:$$d:" -e"s:[@]VERSION@:$$v:" -e"s:[@]YEAR@:$$y:" < $< > $@ # Rules for converting man->html html_man_files = $(dist_man_MANS:%.1=%.html) SUFFIXES = .1.in .1 .html docsmandir=$(docdir)/man docsman_DATA=$(html_man_files) if ENABLE_GROFF_HTML .1.html: rm -rf $@.tmp && \ LC_NUMERIC=C $(GROFF) -man -T html $< >$@.tmp && \ mv -f $@.tmp $@ else .1.html: @echo "No working groff available: cannot create $@" @! : endif CLEANFILES = $(dist_man_MANS) $(html_man_files) lepton-eda-1.9.16/utils/netlist/docs/README.sysc0000644000175000017500000000420014101257250016164 00000000000000TITLE: Gnetlist SystemC Backend OBJECTIVE: Transform a geda schematic into a transaction based structural systemc module. LIMITATIONS: 1.- Only transaction based wires are considered (wire_name). 2.- Unnamed wires are eliminated. 3.- In/out ports have to be inserted manually in the sysc code. 4.- Duplicated include headers are not eliminated by the backend. 5.- The maximum number of object constructor parameters is 31 (attr1->attr31). LINKS: GPL Electronic Design Automation (geda-gnetlist): http://www.geda-project.org/ SystemC: http://www.systemc.org ACK: Based on gnet-verilog.scm by Mike Jarabek. EXAMPLE: Schematic: src1 alg1 snk1 ______________ _______________ _______________ | source | a | algorithm | b | sink | | OUT|__ _________ __|IN OUT|__ _____ __|IN | | | | | | | | infile.data| | | | outfile.data| |____________| |_____________| |_____________| Attributes: Schematic: module_name=test_sch2sysc Wires: netname=a netname=b Symbols: refdes=src1 attr1=infile.data refdes=alg1 refdes=snk1 attr1=outfile.data refdes=pina refdes=pinb SystemC: #include "systemc.h" #include "sink.h" #include "source.h" #include "algorithm.h" SC_MODULE (test_sch2sysc) { /* Port directions begin here */ /* Wires from the design */ sc_signal b; sc_signal a; /* Package instantiations */ sink snk1; source src1; algorithm alg1; SC_CTOR(test_sch2sysc): snk1("snk1","outfile.data"), src1("src1","infile.data"), alg1("alg1") { snk1.IN(b); src1.OUT(a); alg1.IN(a); alg1.OUT(b); } }; lepton-eda-1.9.16/utils/netlist/docs/README.pcb0000644000175000017500000001122214101257250015751 00000000000000------------------------------------------------------------------ JM Routoure. routoure@greyc.ismra.fr 17/01/2000 I would like to thank Stefan Petersen for debuging the scheme program. ------------------------------------------------------------------- This document describes how to install (section I) and use (section II) the gschem2pcb package. Section III describes some of the footprints available in pcb The purpose of this package is to interface gschem with pcb. It uses a scheme program and a script. Section I : Installation. 1. Untar the gschem2pcb.tar. You must obtain 3 files gschem2pcb.sh, GNET-PCBboard.scm and the README file. 2. Move gschem2pcb.sh in a directory which is in your PATH (/usr/local/bin for instance ). Be sure that gschem2pcb.sh can be executed (chmod 755 gschem2pcb.sh) 3. Move GNET-PCBboard.scm in the share directory of your gEDA distribution. Normally, it should be /usr/local/share/gEDA/scheme. 4. Modify the common.m4 file of the pcb program (should be found in /usr/X11R6/lib/X11/pcb/m4/) like this : the include keywords at the end of the file must be replace by include(/usr/X11R6/lib/X11/pcb/m4/connector.inc) include(/usr/X11R6/lib/X11/pcb/m4/dil.inc) include(/usr/X11R6/lib/X11/pcb/m4/misc.inc) include(/usr/X11R6/lib/X11/pcb/m4/plcc.inc) include(/usr/X11R6/lib/X11/pcb/m4/to.inc) include(/usr/X11R6/lib/X11/pcb/m4/qfp.inc) 5. Edit the ~/.gEDA/gschemrc file and be sure that the following line exists : (attribute-name "footprint") 6. Be sure that grep, sed and gawk are installed. That's all.. Section II : using gschem2pcb. 1. With gschem, create a schematic. All the device you want to have in pcb must have a Uref attribute. The footprint that you want to use in pcb are indicated by the footprint attribute (see section III for the description of the footprint in pcb) Be careful that the attributes Uref, name, value and device must not contain space char. -------------------------------------------------------- 2. Save your work (ultralownoise.sch for instance -ambitious design!) and type in a shell gschem2pcb.sh ultralownoise.sch. note : the gschem file must end by .sch Error messages will appear if some space characters are found in the attributes Uref, name, value and device and if the name of the footprint was not found. Warning, pcb files are created even if errors occur! - if ultralownoise.pcb does not exist, it will be created. A netlist file ultralownoise.net will also be created. In pcb, load the pcb (load layout). All the footprints will appears at the top-left corner of the windows. Load the netlist (load netlist file) and type the key "w". Place the footprints and type "o" to optimize the rastnet. See the pcb documentation for details. - if ultralownoise.pcb exists, a ultralownoise.new.pcb file should be created. It should contain only the new device that have been added in the schematic since the last save of the ultralownoise.pcb file. Use "load layout data to paste buffer" to include the new footprints in the pcb file. The nestlist file is also updated so read it again. Section III. Description of the name of the footprint in pcb. pcb uses macro to define the footprints. For DIL packages, for instance, 2 arguments are used to indicate the number of pins and the width in mil of the footprint. In gschem the footprint attribute of a 300 mil width and 8 pins DIL is: DIL 8 300. Warning, for that attribute, you have to included the space char! In the following. I describe the footprint attribute that are to be used in gschem for the footprint avalaible in pcb. N stands for the number of pins, W the width in mil, L the length in mil and D the diameter in mil CONNECTOR ROWS COLS # single connector DIN41_651LAY N # DIN 41.651 laying DIN41_651STAND N # DIN 41.651 standing SUBD_LAY_BASE N # SUB-D connector laying SUBD_MALE_LAY_BASE N # SUB-D connector male laying SUBD_FEMALE_LAY_BASE N # SUB-D connector female laying DIL N W # dual-inline standard D N # dual inline with W=244 DW N # dual inline with W=419 SD N # SD (ZIP) MULTIWATT15 # 15 pins multiwatt footprint R025 # standard 1/4W resistor !now attributes SIL N # SIL CSIL # SIL package with a common pin QFP132 # QFP132 flat pack LED D # standing LED DIODE_LAY L # laying diode AXIAL_LAY L # standard axial footprint CRYSTAL W # crystal package OSC # a can oscillator ISA8 # 8 bit ISA Slot card OVEN_OSC # ovenized-oscillator package RADIAL_CAN W # a radial capcitor package PLCC N # pllc PLCC N add # pllc with additionnal border add QFP N add # qfp with additionnal border add No additional parameters for the to footprints TO3_90 TO3_45 TO5 TO92 TO126 TO126LAY-WIDE TO126STAND-WIDE TO220 TO220LAY-WIDE TO220STAND TO220STAND-WIDE lepton-eda-1.9.16/utils/netlist/docs/README.switcap0000644000175000017500000001123414101260062016655 00000000000000----------------------------------------------------------------- I. What is this? ----------------------------------------------------------------- This archive contains a set of symbols and a netlister backend for the gEDA to drive SWITCAP simulations. gEDA is the GNU EDA project and includes a schematic capture tool and a highly flexible netlister. The SWITCAP program is a switched capacitor circuit simulator. ----------------------------------------------------------------- II. Overview ----------------------------------------------------------------- The basic steps involved with using gEDA as the frontend for SWITCAP simulations are: - configure the gEDA symbol search path - set the gEDA netlister backend search path - create schematics of the circuit - create an analysis file - extract the netlist - run the SWITCAP simulation ----------------------------------------------------------------- III. Initial Setup ----------------------------------------------------------------- 1) Set your symbol search path for gschem and gnetlist by adding the following line to the 'gschemrc' and 'gnetlistrc' files in your project directory. (component-library "/path/to/sym/switcap") If those files do not exist, then create them. You will need to replace /path/to/sym/switcap with the directory name where you have installed the .sym files. 2) Set the search path for scheme files for gnetlist by adding the following line to your 'gnetlistrc' file. (scheme-directory "/path/to/scheme") You will need to replace /path/to/scheme with the path to where you have installed the gnet-switcap.scm file. 3) ----------------------------------------------------------------- IV. Creating Schematics ----------------------------------------------------------------- -------------------- A. Required Symbols -------------------- This section assumes you are familiar with using gschem to create and edit schematics. SWITCAP netlisting is only supported for the components contained in the SWITCAP symbol library as well as the ground symbol found in the 'power' library which comes with gEDA. All allowed SWITCAP elements except for subcircuits are supported. You _must_ include the following elements on your schematic: - one instance of the switcap-timing symbol. This symbol will set the master clock period for your simulations. - one or more instances of the switcap-clock symbol. This symbol defines a clock with a particular phase and period. The reference designator of the clock symbol is used by the switches to set what phase they switch on. - one or more instances of the switcap-analysis symbol. This symbol defines an analysis by specifying a file to include in the SWITCAP netlist. -------------------- B. Optional Symbols -------------------- You can also optionally add the following SWITCAP special symbols to your schematic: - zero or one instance of the switcap-title symbol. This will add a TITLE: line to the SWITCAP netlist and will appear in the output file. - zero or one instance of the switcap-options symbol. By editing the OPTIONS attribute on this symbol you can set the various options which can be passed to SWITCAP. -------------------- C. Net Names -------------------- When creating schematics to drive SWITCAP, you should name all nets that you wish to plot. To avoid possible conflicts with unnamed nets, you should avoid using purely numerical names for nets because all unnamed nets will be assigned (somewhat randomly) numbers. SWITCAP limits the length of node names to 7 characters. -------------------- D. Switches -------------------- When placing switches on your schematic, you will need to define which clock they are controlled with. This is done by setting the clock attribute on the switch to the reference designator of the clock which should control it. ----------------------------------------------------------------- V. Extracting the SWITCAP Netlist ----------------------------------------------------------------- To extract the SWITCAP netlist, run gnetlist -g switcap -o test.scn file1.sch [file2.sch ...] For the example file contained in this archive, you can run: gnetlist -g switcap -o example.scn ckt.sch clocks.sch analysis.sch The netlist will be left in example.scn. ----------------------------------------------------------------- VI. Running SWITCAP ----------------------------------------------------------------- I typically use something like: printf "example.scn\nexample.out" | sw so I can use command history to rerun SWITCAP without having to manually type the file names each time. Refer to the SWITCAP manual for more details. lepton-eda-1.9.16/utils/netlist/docs/Makefile.in0000644000175000017500000007127414101262632016410 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = utils/netlist/docs ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/guile.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lepton-assert.m4 \ $(top_srcdir)/m4/lepton-attrib.m4 \ $(top_srcdir)/m4/lepton-awk.m4 \ $(top_srcdir)/m4/lepton-cairo.m4 \ $(top_srcdir)/m4/lepton-contrib.m4 \ $(top_srcdir)/m4/lepton-data-dirs.m4 \ $(top_srcdir)/m4/lepton-desktop-i18n.m4 \ $(top_srcdir)/m4/lepton-desktop.m4 \ $(top_srcdir)/m4/lepton-doxygen.m4 \ $(top_srcdir)/m4/lepton-gcc-flags.m4 \ $(top_srcdir)/m4/lepton-git-version.m4 \ $(top_srcdir)/m4/lepton-git.m4 \ $(top_srcdir)/m4/lepton-groff.m4 \ $(top_srcdir)/m4/lepton-guile.m4 \ $(top_srcdir)/m4/lepton-host.m4 \ $(top_srcdir)/m4/lepton-stroke.m4 \ $(top_srcdir)/m4/lepton-uri-viewer.m4 \ $(top_srcdir)/m4/lepton-windows.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/liblepton.m4 \ $(top_srcdir)/m4/libleptonattrib.m4 \ $(top_srcdir)/m4/libleptongui.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pcb-data-dirs.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(dist_docsreadme_DATA) \ $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } man1dir = $(mandir)/man1 am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docsreadmedir)" \ "$(DESTDIR)$(docsmandir)" NROFF = nroff MANS = $(dist_man_MANS) DATA = $(dist_docsreadme_DATA) $(docsman_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir distdir-am am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(dist_man_MANS) $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITMAP_DIRECTORY = @BITMAP_DIRECTORY@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@ CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@ CAIRO_PNG_CFLAGS = @CAIRO_PNG_CFLAGS@ CAIRO_PNG_LIBS = @CAIRO_PNG_LIBS@ CAIRO_PS_CFLAGS = @CAIRO_PS_CFLAGS@ CAIRO_PS_LIBS = @CAIRO_PS_LIBS@ CAIRO_SVG_CFLAGS = @CAIRO_SVG_CFLAGS@ CAIRO_SVG_LIBS = @CAIRO_SVG_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE_VERSION = @DATE_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DESKTOP_I18N = @DESKTOP_I18N@ DESKTOP_I18N_CREATE = @DESKTOP_I18N_CREATE@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@ DESKTOP_I18N_SCRIPT = @DESKTOP_I18N_SCRIPT@ DLLTOOL = @DLLTOOL@ DOT = @DOT@ DOTTED_VERSION = @DOTTED_VERSION@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GDK_CFLAGS = @GDK_CFLAGS@ GDK_LIBS = @GDK_LIBS@ GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@ GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@ GETTEXT = @GETTEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GIT = @GIT@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GROFF = @GROFF@ GTKEXTRA_CFLAGS = @GTKEXTRA_CFLAGS@ GTKEXTRA_LIBS = @GTKEXTRA_LIBS@ GTKSHEET_CFLAGS = @GTKSHEET_CFLAGS@ GTKSHEET_LIBS = @GTKSHEET_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GUILD = @GUILD@ GUILE = @GUILE@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@ GUILE_LDFLAGS = @GUILE_LDFLAGS@ GUILE_LIBS = @GUILE_LIBS@ GUILE_LTLIBS = @GUILE_LTLIBS@ GUILE_PKG_NAME = @GUILE_PKG_NAME@ GUILE_SNARF = @GUILE_SNARF@ GUILE_TOOLS = @GUILE_TOOLS@ HAVE_GIT_REPO = @HAVE_GIT_REPO@ ICON_THEME_INSTALLER = @ICON_THEME_INSTALLER@ INKSCAPE = @INKSCAPE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEPTONDATADIR = @LEPTONDATADIR@ LEPTON_SCHEME_MODULE_DIRECTORY = @LEPTON_SCHEME_MODULE_DIRECTORY@ LEPTON_SCM_PRECOMPILE_DIR = @LEPTON_SCM_PRECOMPILE_DIR@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBLEPTONATTRIB_MAJOR = @LIBLEPTONATTRIB_MAJOR@ LIBLEPTONATTRIB_SHLIB_VERSION = @LIBLEPTONATTRIB_SHLIB_VERSION@ LIBLEPTONGUI_MAJOR = @LIBLEPTONGUI_MAJOR@ LIBLEPTONGUI_SHLIB_VERSION = @LIBLEPTONGUI_SHLIB_VERSION@ LIBLEPTON_GETTEXT_DOMAIN = @LIBLEPTON_GETTEXT_DOMAIN@ LIBLEPTON_MAJOR = @LIBLEPTON_MAJOR@ LIBLEPTON_SHLIB_VERSION = @LIBLEPTON_SHLIB_VERSION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSTROKE_CPPFLAGS = @LIBSTROKE_CPPFLAGS@ LIBSTROKE_LDFLAGS = @LIBSTROKE_LDFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ M4 = @M4@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MINGW_CFLAGS = @MINGW_CFLAGS@ MINGW_GUI_LDFLAGS = @MINGW_GUI_LDFLAGS@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCBDATADIR = @PCBDATADIR@ PCBLIBPATH = @PCBLIBPATH@ PCBM4DIR = @PCBM4DIR@ PDFLATEX = @PDFLATEX@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ URI_VIEWER = @URI_VIEWER@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDOWS_LIBTOOL_FLAGS = @WINDOWS_LIBTOOL_FLAGS@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = vams EXTRA_DIST = \ $(html_man_files) \ lepton-netlist.1.in \ BUGS docsreadmedir = $(docdir)/readmes dist_docsreadme_DATA = \ README.bom README.pcb README.switcap README.verilog \ README.vhdl README.sysc README.eagle dist_man_MANS = lepton-netlist.1 # Rules for converting man->html html_man_files = $(dist_man_MANS:%.1=%.html) SUFFIXES = .1.in .1 .html docsmandir = $(docdir)/man docsman_DATA = $(html_man_files) CLEANFILES = $(dist_man_MANS) $(html_man_files) all: all-recursive .SUFFIXES: .SUFFIXES: .1.in .1 .html $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/netlist/docs/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign utils/netlist/docs/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-man1: $(dist_man_MANS) @$(NORMAL_INSTALL) @list1=''; \ list2='$(dist_man_MANS)'; \ test -n "$(man1dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.1[a-z]*$$/p'; \ fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ done | \ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ sed 'N;N;s,\n, ,g' | { \ list=; while read file base inst; do \ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ fi; \ done; \ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ while read files; do \ test -z "$$files" || { \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ done; } uninstall-man1: @$(NORMAL_UNINSTALL) @list=''; test -n "$(man1dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \ sed -n '/\.1[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) install-dist_docsreadmeDATA: $(dist_docsreadme_DATA) @$(NORMAL_INSTALL) @list='$(dist_docsreadme_DATA)'; test -n "$(docsreadmedir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(docsreadmedir)'"; \ $(MKDIR_P) "$(DESTDIR)$(docsreadmedir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docsreadmedir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(docsreadmedir)" || exit $$?; \ done uninstall-dist_docsreadmeDATA: @$(NORMAL_UNINSTALL) @list='$(dist_docsreadme_DATA)'; test -n "$(docsreadmedir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(docsreadmedir)'; $(am__uninstall_files_from_dir) install-docsmanDATA: $(docsman_DATA) @$(NORMAL_INSTALL) @list='$(docsman_DATA)'; test -n "$(docsmandir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(docsmandir)'"; \ $(MKDIR_P) "$(DESTDIR)$(docsmandir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docsmandir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(docsmandir)" || exit $$?; \ done uninstall-docsmanDATA: @$(NORMAL_UNINSTALL) @list='$(docsman_DATA)'; test -n "$(docsmandir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(docsmandir)'; $(am__uninstall_files_from_dir) # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(MANS) $(DATA) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docsreadmedir)" "$(DESTDIR)$(docsmandir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dist_docsreadmeDATA install-docsmanDATA \ install-man install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-man1 install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-dist_docsreadmeDATA uninstall-docsmanDATA \ uninstall-man uninstall-man: uninstall-man1 .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ check-am clean clean-generic clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am \ install-dist_docsreadmeDATA install-docsmanDATA install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-man1 install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ uninstall-am uninstall-dist_docsreadmeDATA \ uninstall-docsmanDATA uninstall-man uninstall-man1 .PRECIOUS: Makefile .1.in.1: d=`$(GUILE) -c '(setlocale LC_ALL "C") \ (display (strftime "%B %-d, %Y" \ (car (strptime "%Y%m%d" (cadr (program-arguments))))))' $(DATE_VERSION)` ; \ v="$(DOTTED_VERSION).$(DATE_VERSION)" ; \ y=`echo $(DATE_VERSION)| sed -e"s/\(....\).*/\1/"`; \ sed -e"s:[@]DATE@:$$d:" -e"s:[@]VERSION@:$$v:" -e"s:[@]YEAR@:$$y:" < $< > $@ @ENABLE_GROFF_HTML_TRUE@.1.html: @ENABLE_GROFF_HTML_TRUE@ rm -rf $@.tmp && \ @ENABLE_GROFF_HTML_TRUE@ LC_NUMERIC=C $(GROFF) -man -T html $< >$@.tmp && \ @ENABLE_GROFF_HTML_TRUE@ mv -f $@.tmp $@ @ENABLE_GROFF_HTML_FALSE@.1.html: @ENABLE_GROFF_HTML_FALSE@ @echo "No working groff available: cannot create $@" @ENABLE_GROFF_HTML_FALSE@ @! : # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/netlist/docs/README.eagle0000644000175000017500000000164614101257250016273 00000000000000Basic information about the Eagle PCB backend and sch2eaglepos.sh gnet-eagle.scm The script uses the component's package, footprint, value, and (if no value) device attributes, as well as the netlist, to generate an Eagle script that will add and connect all components. It also introduces a "lib" attribute, which specifies the Eagle library where the footprint can be found...if a "lib" attribute is not set for a component, then the library defaults to "smd-ipc" (the default Eagle surface mount library). sch2eaglepos.sh I am also including a simple shell script that I wrote which has saved me hours by extracting the relative locations of the parts from a gschem schematic, and generating an Eagle script to place the components in the same relative locations on the layout. By default all packages are piled on top of each other, and with a large design it takes a long time to sort out which cap bypasses which IC, etc. lepton-eda-1.9.16/utils/netlist/docs/BUGS0000644000175000017500000000232014101257250015010 00000000000000Bugs (no particular order): -------------------------- - If a component cannot be read, then this situation is not dealt with. Technically at this point, gnetlist can't do anything so it really should exit. Add code to do this later... - Memory leaks (lots right now) A LOT MORE now! - Ordering of pin outputs in spice netlist output for components like BJT transistors B C E. This is wrong for now. (might be fixed now) - (SPICE backend) It is possible to have named a net something (say 1) and then have an unnamed net called 1 as well. Obviously my unnamed net naming is lame. - gnetlist:get-toplevel-attribute only looks for the first occurrence of the toplevel attribute. Make this somehow better? - Figure out why the post process screwed up net names when it was done in the wrong place (after every sheet), low priority - gnetlist doesn't handle order very well on some machines? non-linux only? Finished stuff: --------------- FIXED Embedded schematics don't netlist at all. OKAY Infinite net connection loops. FIXED Attach a label to a net which is going to no pin and it won't show up. (this is because mid point connections are not being dealt with properly...) lepton-eda-1.9.16/utils/netlist/docs/README.verilog0000644000175000017500000003700514101257250016663 00000000000000Verilog netlister readme. THIS IS FREE SOFTWARE, see the included file COPYING for more info. Latest README: This is the fifth release of the Verilog netlister for gEDA. New in this release: 1) Escaped Verilog identifiers. To facilitate board level simulations, the Verilog netlister now outputs `escaped' Verilog identifiers for any net, port or instance name that does not appear to be a valid Verilog identifier. In this way, chips with numbered pins can be netlisted and models constructed to run digital simulations of complete circuits. Mike Jarabek ----- OLDER README.verilog's ----- This is the fourth release of the Verilog netlister for gEDA. New in this release: 1) Multiple width wires. How to use: (mostly taken from a previous readme... ) Here's how to proceed to make a schematic that can be netlisted to verilog. 1) Create your modules by the standard method, keep in mind that you must supply a `pin#' attribute for each port you want to create in the generated verilog. gmk_sym is useful for this. 2) Place each of your newly created modules on the schematic. You may also place primitives from the `verilog' symbol library. Be sure to give a _unique_ `uref' to every symbol you place on the schematic, unless two symbols are actually different parts of the same module, and the pins listed on each symbol do not have any names in common. Otherwise they will not get netlisted. 3) Connect nets between the modules you want. Remember, if you want legible Verilog later, don't forget to name all your nets by attaching `label' attributes to them. For Multiple bit wires just use standard Verilog notation. The netlister will figure out which bit ordering you want. Be sure to have at least one net labeled with the complete range expression, otherwise the netlister will guess at whether you wanted net[15:0] or net[0:15] in your declarations. Any inconsistent ranges will be reported as a warning. Strings that appear to be invalid Verilog identifiers will be printed with a warning, but otherwise ignored. (If you get a warning for a valid Verilog identifier, please post a bug report!) 4) Insert IPAD's, OPAD's, and IOPAD's for all the nets you want to be visible in the module declaration statement. It is especially important to make sure that the nets you hook up to the pads are named, as the net names could change from run to run, that's a bad thing. (I/O pads would be a good place to put the aformentionned full range expressions. Range expressions on I/O pads are ignored when outputting the module declaration, but they are used in figuring out the final bit ranges.) Every pad must have a unique uref, otherwise the netlister will get confused. 5) Add an unattached attribute `module_name=Your_Module' somewhere on the schematic, near the title block is good. This will name the generated Verilog module `Your_Module'. 6) Save your design. 7) Run the schematic through the netlister: gnetlist -g verilog -o output.v schematic.sch 7a) Check the output for correctness, _especially_ if you got any warnings. (There should be no warnings.) 8) Feed the netlist to your favorite simulator/synthesis tool. Mike Jarabek This is the third release of the Verilog netlister for geda. Fixed in this release: 1) Netlister no longer barfs if there are no Input/Output/InOut ports on the module. 2) Module instantiation code much improved/cleaned up, mostly due to g_netlist.c patch. New in this release: 1) A whole wack-load of symbols, I created a C program that generates n-input versions of and, nand, or, nor, xor, and xnor symbols 2) Modules instantiated with positional port connections. Just add the attribute `VERILOG_PORTS=POSITIONAL' to your symbol file as an unattached attribute, or attach it to the symbol on the schematic. 3) Added bufif?, notif?, not and buf symbols. 4) Added example of positional port module instantiation to the example schematic 5) Added 7447 example schematic Coming: 1) Module instantiation parameters. (probably by an attribute) Included in this tar-ball are three patch files against the 19990705 version of gEDA. Apply g_netlist.c.diff and g_register.c.diff to the files in gnetlist/src/ and gnetlist.scm.diff to gnetlist.scm in the gnetlist/scheme directory. You may have to regenerate prototype.h, or manually patch it. Replace the symbols in the sym/verilog directory with the symbols in this distribution. (I have modified all of the symbols to use the new unattached attribute convention for device et al.) (if you have applied the patch I sent to the mailing list that fixes netlisting a module with no ports, you may have trouble applying the gnetlist.scm.diff patch.) Don't forget to do a `make all install' after applying the patches. Once again, to netlist the example schematics to verilog type: (Assuming gnetlist has been patched and is properly installed.) gnetlist -g verilog -o test.v examples/sch/test.sch or gnetlist -g verilog -o 7447.v examples/sch/7447.sch (This README was from 19990629) Verilog netlister readme. THIS IS FREE SOFTWARE, see the included file COPYING for more info. This is the second release of the Verilog netlister for geda. Fixed in this release: 1) The last comma in the argument list to instantiations and module definitions is now suppressed 2) Better handling of `special' components has been added New in this release: 1) Continuous assignments to 1'b0 and 1'b1 can now be generated by connecting the `high' or `low' symbol to a net. Mike Jarabek mjarabek@playground.net -- This the verilog netlister for gEDA. Included in the tarball are several diff files against the 19990327 gEDA distribution. All of the patches apply to the gnetlist subirectory. You should be able to apply them with `patch -p1'. The netlister has its limitations: (most of these will eventually get fixed, I hope..) 1) Components connected by reference, (i.e. by having named net stubs attached to pins, but not conected by a continuous line) create duplicate entries in the wire declaration section of the verilog code. 2) Multiple width wires don't work. (Busses will help this) 3) There is no way to force a signal to 1,0,z,x (yet). 4) Some scheme code needs to be improved. (Mainly the classification code, it inserts `()' elements into the output lists. (I should know how to fix this in a day or two.. too bad I never got a scheme course before..)) 5) I don't know if this will work on multiple page schematics. 6) The top level module is outputted with the same name every time, I don't currently think there is a way to get at the name of the top level schematic. The netlister does some neat things: 1) It outputs a verilog module with proper port declarations, outputs are declared as outputs, inputs are declared as inputs, and bidirectional signals are declared as inouts. 2) All nets that are found on the design are declared as wires. (This is to allow for net attributes later to declare wand's and such) 3) Any components placed on the schematic that are given uref attributes create a verilog instantiation for the name of the module as stored in the `device' attribute, the instatiated name is given as the `uref' attribute. 4) All connections into and out of instantiated modules are made by name, and not by order, because I can't be sure that the order will be right coming off the schematic. (anyway, that's better for the long run.) 5) A comment is inserted at the top of the module to say that the file was automatically generated. Here's how to proceed to make a schematic that can be netlisted to verilog. 1) Create your modules by the standard method, keep in mind that you must supply a `pin#' attribute for each port you want to create in the generated verilog. gmk_sym is useful for this (with the patch to allow ascii pin names). 2) Place each of your newly created modules on the schematic 3) Connect nets between the modules you want. Remember, if you want legible verilog later, don't forget to name all your nets by attaching `label' attributes to them. 4) Insert IPAD's, OPAD's, and IOPAD's for all the nets you want to be visible in the module declaration statement. It is especially important to make sure that the nets you hook up to the pads are named, as the net names could change from run to run, that's a bad thing. 5) Save your design. 6) Run the schematic through the netlister: gnetlist -g verilog -o output.v schematic.sch 6a) Edit the output file to have the right module name, and to remove any duplicate wires. There is an example schematic in the schematic directory, and a copy of the verilog netlist generated. The mechanics: The I/O ports for the module are detected by enumerating all of the nets attached to any symbol bearing the device name of `IPAD', `OPAD', or `IOPAD'. If you name one of your blocks with that name, don't be surprised if you find `extra' ports in the module declaration. The wires are declared by walking through the list of nets returned by the function that I patched into gnetlist. This is the source of the duplicate wire declarations. This should probably get fixed when `net_is_duplicate' gets set for connections made by reference. Module instantiations are created by enumerating the pins found on a symbol and connecting the nets found to the pins. If your block has spelling errors, then the module instantiation won't work. You will have to manually trace back to find the error. Mike Jarabek ------------ Below is the previous version README ------------------- Verilog netlister readme. THIS IS FREE SOFTWARE, see the included file COPYING for more info. This the verilog netlister for gEDA. Included in the tarball are several diff files against the 19990327 gEDA distribution. All of the patches apply to the gnetlist subirectory. You should be able to apply them with `patch -p1'. [ editor's note, if you are reading this file in a gEDA dist, then all the required patching and integration is already done ] The netlister has its limitations: (most of these will eventually get fixed, I hope..) 1) Components connected by reference, (i.e. by having named net stubs attached to pins, but not conected by a continuous line) create duplicate entries in the wire declaration section of the verilog code. 2) Multiple width wires don't work. (Busses will help this) 3) There is no way to force a signal to 1,0,z,x (yet). 4) Some scheme code needs to be improved. (Mainly the classification code, it inserts `()' elements into the output lists. (I should know how to fix this in a day or two.. too bad I never got a scheme course before..)) 5) I don't know if this will work on multiple page schematics. 6) The top level module is outputted with the same name every time, I don't currently think there is a way to get at the name of the top level schematic. The netlister does some neat things: 1) It outputs a verilog module with proper port declarations, outputs are declared as outputs, inputs are declared as inputs, and bidirectional signals are declared as inouts. 2) All nets that are found on the design are declared as wires. (This is to allow for net attributes later to declare wand's and such) 3) Any components placed on the schematic that are given uref attributes create a verilog instantiation for the name of the module as stored in the `device' attribute, the instatiated name is given as the `uref' attribute. 4) All connections into and out of instantiated modules are made by name, and not by order, because I can't be sure that the order will be right coming off the schematic. (anyway, that's better for the long run.) 5) A comment is inserted at the top of the module to say that the file was automatically generated. Here's how to proceed to make a schematic that can be netlisted to verilog. 1) Create your modules by the standard method, keep in mind that you must supply a `pin#' attribute for each port you want to create in the generated verilog. gmk_sym is useful for this (with the patch to allow ascii pin names). 2) Place each of your newly created modules on the schematic 3) Connect nets between the modules you want. Remember, if you want legible verilog later, don't forget to name all your nets by attaching `label' attributes to them. 4) Insert IPAD's, OPAD's, and IOPAD's for all the nets you want to be visible in the module declaration statement. It is especially important to make sure that the nets you hook up to the pads are named, as the net names could change from run to run, that's a bad thing. 5) Save your design. 6) Run the schematic through the netlister: gnetlist -g verilog -o output.v schematic.sch 6a) Edit the output file to have the right module name, and to remove any duplicate wires. There is an example schematic in the schematic directory, and a copy of the verilog netlist generated. The mechanics: The I/O ports for the module are detected by enumerating all of the nets attached to any symbol bearing the device name of `IPAD', `OPAD', or `IOPAD'. If you name one of your blocks with that name, don't be surprised if you find `extra' ports in the module declaration. The wires are declared by walking through the list of nets returned by the function that I patched into gnetlist. This is the source of the duplicate wire declarations. This should probably get fixed when `net_is_duplicate' gets set for connections made by reference. Module instantiations are created by enumerating the pins found on a symbol and connecting the nets found to the pins. If your block has spelling errors, then the module instantiation won't work. You will have to manually trace back to find the error. Mike Jarabek lepton-eda-1.9.16/utils/netlist/docs/lepton-netlist.10000644000175000017500000001514214101262656017404 00000000000000.TH lepton-netlist 1 "July 31, 2021" "Lepton EDA" 1.9.16.20210731 .SH NAME lepton-netlist - Lepton EDA Netlist Extraction and Generation .SH SYNOPSIS .B lepton-netlist [\fIOPTION\fR ...] [\fB-g\fR \fIBACKEND\fR | \fB-f\fR \fIFILE\fR] [\fI--\fR] \fIFILE\fR ... .SH DESCRIPTION .PP \fBlepton-netlist\fR is a netlist extraction and generation tool, and is part of the Lepton EDA (Electronic Design Automation) toolset. It takes one or more electronic schematics as input, and outputs a netlist. A netlist is a machine-interpretable description of the way that components in an electronic circuit are connected together, and is commonly used as the input to a PCB layout program such as \fBpcb\fR(1) or to a simulator such as \fBgnucap\fR(1). A normal \fBlepton-netlist\fR run is carried out in two steps. First, the \fBlepton-netlist\fR frontend loads the specified human-readable schematic \fIFILE\fRs, and compiles them to an in-memory netlist description. Next, a `backend' is used to export the connection and component data to one of many supported netlist formats. \fBlepton-netlist\fR is extensible, using the Scheme programming language. .SH GENERAL OPTIONS .TP 8 \fB-q\fR Quiet mode. Turns off all warnings/notes/messages. .TP 8 \fB-v\fR, \fB--verbose\fR Verbose mode. Output all diagnostic information. .TP 8 \fB-L\fR \fIDIRECTORY\fR Prepend \fIDIRECTORY\fR to the list of directories to be searched for Scheme files. .TP 8 \fB-g\fR \fIBACKEND\fR Specify the netlist backend to be used. .TP 8 \fB-f\fR \fIFILE\fR Load and use netlist backend from \fIFILE\fR. \fIFILE\fR is expected to have name like "gnet-NAME.scm" and contain entry point function NAME (where NAME is the backend's name). .TP 8 \fB-O\fR \fISTRING\fR Pass an option string to the backend. .TP 8 \fB-b\fR, \fB--list-backends\fR Print a list of available netlist backends. .TP 8 \fB-o\fR \fIFILE\fR Specify the filename for the generated netlist. By default, output is directed to `output.net'. If `-' is given instead of a filename, the output is directed to the standard output. .TP 8 \fB-l\fR \fIFILE\fR Specify a Scheme file to be loaded before the backend is loaded or executed. This option can be specified multiple times. .TP 8 \fB-m\fR \fIFILE\fR Specify a Scheme file to be loaded between loading the backend and executing it. This option can be specified multiple times. .TP 8 \fB-c\fR \fIEXPR\fR Specify a Scheme expression to be executed during \fBlepton-netlist\fR startup. This option can be specified multiple times. .TP 8 \fB-i\fR After the schematic files have been loaded and compiled, and after all Scheme files have been loaded, but before running the backend, enter a Scheme read-eval-print loop. .TP 8 \fB-h\fR, \fB--help\fR Print a help message. .TP 8 \fB-V\fR, \fB--version\fR Print \fBlepton-netlist\fR version information. .TP 8 \fB--\fR Treat all remaining arguments as schematic filenames. Use this if you have a schematic filename which begins with `-'. .SH BACKENDS .PP Currently, \fBlepton-netlist\fR includes the following backends: .TP 8 \fBallegro\fR Allegro netlist format. .TP 8 \fBbae\fR Bartels Autoengineer netlist format. .TP 8 \fBbom\fR, \fBbom2\fR Bill of materials generation. .TP 8 \fBcalay\fR Calay netlist format. .TP 8 \fBcascade\fR RF Cascade netlist format .TP 8 \fBdrc\fR, \fBdrc2\fR Design rule checkers (\fBdrc2\fR is recommended). .TP 8 \fBeagle\fR Eagle netlist format. .TP 8 \fBewnet\fR Netlist format for National Instruments ULTIboard layout tool. .TP 8 \fBfuturenet2\fR Futurenet2 netlist format. .TP 8 \fBgeda\fR Native gEDA netlist format (mainly used for testing and diagnostics). .TP 8 \fBgossip\fR Gossip netlist format. .TP 8 \fBgsch2pcb\fR Backend used for \fBpcb\fR(1) file layout generation by \fBgsch2pcb\fR(1). It is not recommended to use this backend directly. .TP 8 \fBliquidpcb\fR LiquidPCB netlist format. .TP 8 \fBmathematica\fR Netlister for analytical circuit solving using Mathematica. .TP 8 \fBmaxascii\fR MAXASCII netlist format. .TP 8 \fBosmond\fR Osmond netlist format. .TP 8 \fBpads\fR PADS netlist format. .TP 8 \fBpartslist1\fR, \fBpartslist2\fR, \fBpartslist3\fR Bill of materials generation backends (alternatives to \fBbom\fR and \fBbom2\fR). .TP 8 \fBPCB\fR \fBpcb\fR(1) netlist format. .TP 8 \fBpcbpins\fR Generates a \fBpcb\fR(1) action file for forward annotating pin/pad names from schematic to layout. .TP 8 \fBprotelII\fR Protel II netlist format. .TP 8 \fBredac\fR RACAL-REDAC netlist format. .TP 8 \fBspice\fR, \fBspice-sdb\fR SPICE-compatible netlist format (\fBspice-sdb\fR is recommended). Suitable for use with \fBgnucap\fR(1). .TP 8 \fBswitcap\fR SWITCAP switched capacitor simulator netlist format. .TP 8 \fBsystemc\fR Structural SystemC code generation. .TP 8 \fBtango\fR Tango netlist format. .TP 8 \fBtEDAx\fR Trivial EDA eXchange (tEDAx) format. .TP 8 \fBvams\fR VHDL-AMS code generation. .TP 8 \fBverilog\fR Verilog code generation. .TP 8 \fBvhdl\fR VHDL code generation. .TP 8 \fBvipec\fR ViPEC Network Analyser netlist format. .SH EXAMPLES .PP These examples assume that you have a `stack_1.sch' in the current directory. .PP \fBlepton-netlist\fR requires that at least one schematic to be specified on the command line: .nf ./lepton-netlist stack_1.sch .ad b .PP This is not very useful since it does not direct \fBlepton-netlist\fR to do anything. .PP Specify a backend name with `\-g' to get \fBlepton-netlist\fR to output a netlist: .nf ./lepton-netlist \-g geda stack_1.sch .ad b .PP The netlist output will be written to a file called `output.net' in the current working directory. .PP You can specify the output filename by using the `\-o' option: .nf ./lepton-netlist \-g geda stack_1.sch \-o /tmp/stack.netlist .ad b .PP Output will now be directed to `/tmp/stack.netlist'. .PP You could run (for example) the `spice-sdb' backend against the schematic if you specified `\-g spice-sdb', or you could generate a bill of materials for the schematic using `\-g partslist1'. .PP To obtain a Scheme prompt to run Scheme expressions directly, you can use the `\-i' option. .nf ./lepton-netlist \-i stack_1.sch .ad b .PP \fBlepton-netlist\fR will load `stack_1.sh', and then enter an interactive Scheme read-eval-print loop. .SH AUTHORS See the `AUTHORS' file included with this program. .SH COPYRIGHT .nf Copyright \(co 2012-2017 gEDA Contributors. Copyright \(co 2017-2021 Lepton Developers. License GPLv2+: GNU GPL version 2 or later. Please see the `COPYING' file included with this program for full details. .PP This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. .SH SEE ALSO \fBlepton-schematic\fR(1), \fBlepton-symcheck\fR(1), \fBpcb\fR(1), \fBgnucap\fR(1) lepton-eda-1.9.16/utils/netlist/docs/README.bom0000644000175000017500000000137114101257250015766 00000000000000 README for BOM - Bill Of Materials generater for gnetlist. -------------------------------------------------------------------------- I (Matt) put together a quick bill of materials generator for gnetlist. It takes a configuration file which tells it what attributes you want netlisted (i.e. vendor, part number). This is a sample config file: device label name Just call it with gnetlist -g bom -o test.bom test.sch The config file must be called "attribs" and be in the pwd, because there is no way to pass arguments to the netlister (at least that I could find). Eventually I'd like to integrate this with some sort of a database for production purposes. Let me know if you are interested in helping or have any ideas. Matt matt@ettus.com lepton-eda-1.9.16/utils/netlist/docs/vams/0000755000175000017500000000000014101262656015364 500000000000000lepton-eda-1.9.16/utils/netlist/docs/vams/Makefile.am0000644000175000017500000000030614101257250017331 00000000000000EXTRA_DIST = content.txt syntax_architecture.txt syntax_entity.txt \ vams_mode.txt docsreadmedir = $(docdir)/readmes docsreadme_DATA = vams_mode.txt syntax_architecture.txt syntax_entity.txt lepton-eda-1.9.16/utils/netlist/docs/vams/Makefile.in0000644000175000017500000004516014101262632017351 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = utils/netlist/docs/vams ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/guile.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lepton-assert.m4 \ $(top_srcdir)/m4/lepton-attrib.m4 \ $(top_srcdir)/m4/lepton-awk.m4 \ $(top_srcdir)/m4/lepton-cairo.m4 \ $(top_srcdir)/m4/lepton-contrib.m4 \ $(top_srcdir)/m4/lepton-data-dirs.m4 \ $(top_srcdir)/m4/lepton-desktop-i18n.m4 \ $(top_srcdir)/m4/lepton-desktop.m4 \ $(top_srcdir)/m4/lepton-doxygen.m4 \ $(top_srcdir)/m4/lepton-gcc-flags.m4 \ $(top_srcdir)/m4/lepton-git-version.m4 \ $(top_srcdir)/m4/lepton-git.m4 \ $(top_srcdir)/m4/lepton-groff.m4 \ $(top_srcdir)/m4/lepton-guile.m4 \ $(top_srcdir)/m4/lepton-host.m4 \ $(top_srcdir)/m4/lepton-stroke.m4 \ $(top_srcdir)/m4/lepton-uri-viewer.m4 \ $(top_srcdir)/m4/lepton-windows.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/liblepton.m4 \ $(top_srcdir)/m4/libleptonattrib.m4 \ $(top_srcdir)/m4/libleptongui.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pcb-data-dirs.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(docsreadmedir)" DATA = $(docsreadme_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITMAP_DIRECTORY = @BITMAP_DIRECTORY@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@ CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@ CAIRO_PNG_CFLAGS = @CAIRO_PNG_CFLAGS@ CAIRO_PNG_LIBS = @CAIRO_PNG_LIBS@ CAIRO_PS_CFLAGS = @CAIRO_PS_CFLAGS@ CAIRO_PS_LIBS = @CAIRO_PS_LIBS@ CAIRO_SVG_CFLAGS = @CAIRO_SVG_CFLAGS@ CAIRO_SVG_LIBS = @CAIRO_SVG_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATE_VERSION = @DATE_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DESKTOP_I18N = @DESKTOP_I18N@ DESKTOP_I18N_CREATE = @DESKTOP_I18N_CREATE@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@ DESKTOP_I18N_SCRIPT = @DESKTOP_I18N_SCRIPT@ DLLTOOL = @DLLTOOL@ DOT = @DOT@ DOTTED_VERSION = @DOTTED_VERSION@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GDK_CFLAGS = @GDK_CFLAGS@ GDK_LIBS = @GDK_LIBS@ GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@ GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@ GETTEXT = @GETTEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ GIT = @GIT@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GROFF = @GROFF@ GTKEXTRA_CFLAGS = @GTKEXTRA_CFLAGS@ GTKEXTRA_LIBS = @GTKEXTRA_LIBS@ GTKSHEET_CFLAGS = @GTKSHEET_CFLAGS@ GTKSHEET_LIBS = @GTKSHEET_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GUILD = @GUILD@ GUILE = @GUILE@ GUILE_CFLAGS = @GUILE_CFLAGS@ GUILE_CONFIG = @GUILE_CONFIG@ GUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@ GUILE_LDFLAGS = @GUILE_LDFLAGS@ GUILE_LIBS = @GUILE_LIBS@ GUILE_LTLIBS = @GUILE_LTLIBS@ GUILE_PKG_NAME = @GUILE_PKG_NAME@ GUILE_SNARF = @GUILE_SNARF@ GUILE_TOOLS = @GUILE_TOOLS@ HAVE_GIT_REPO = @HAVE_GIT_REPO@ ICON_THEME_INSTALLER = @ICON_THEME_INSTALLER@ INKSCAPE = @INKSCAPE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEPTONDATADIR = @LEPTONDATADIR@ LEPTON_SCHEME_MODULE_DIRECTORY = @LEPTON_SCHEME_MODULE_DIRECTORY@ LEPTON_SCM_PRECOMPILE_DIR = @LEPTON_SCM_PRECOMPILE_DIR@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBLEPTONATTRIB_MAJOR = @LIBLEPTONATTRIB_MAJOR@ LIBLEPTONATTRIB_SHLIB_VERSION = @LIBLEPTONATTRIB_SHLIB_VERSION@ LIBLEPTONGUI_MAJOR = @LIBLEPTONGUI_MAJOR@ LIBLEPTONGUI_SHLIB_VERSION = @LIBLEPTONGUI_SHLIB_VERSION@ LIBLEPTON_GETTEXT_DOMAIN = @LIBLEPTON_GETTEXT_DOMAIN@ LIBLEPTON_MAJOR = @LIBLEPTON_MAJOR@ LIBLEPTON_SHLIB_VERSION = @LIBLEPTON_SHLIB_VERSION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSTROKE_CPPFLAGS = @LIBSTROKE_CPPFLAGS@ LIBSTROKE_LDFLAGS = @LIBSTROKE_LDFLAGS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ M4 = @M4@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MINGW_CFLAGS = @MINGW_CFLAGS@ MINGW_GUI_LDFLAGS = @MINGW_GUI_LDFLAGS@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCBDATADIR = @PCBDATADIR@ PCBLIBPATH = @PCBLIBPATH@ PCBM4DIR = @PCBM4DIR@ PDFLATEX = @PDFLATEX@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ URI_VIEWER = @URI_VIEWER@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WINDOWS_LIBTOOL_FLAGS = @WINDOWS_LIBTOOL_FLAGS@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = content.txt syntax_architecture.txt syntax_entity.txt \ vams_mode.txt docsreadmedir = $(docdir)/readmes docsreadme_DATA = vams_mode.txt syntax_architecture.txt syntax_entity.txt all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/netlist/docs/vams/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign utils/netlist/docs/vams/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-docsreadmeDATA: $(docsreadme_DATA) @$(NORMAL_INSTALL) @list='$(docsreadme_DATA)'; test -n "$(docsreadmedir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(docsreadmedir)'"; \ $(MKDIR_P) "$(DESTDIR)$(docsreadmedir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docsreadmedir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(docsreadmedir)" || exit $$?; \ done uninstall-docsreadmeDATA: @$(NORMAL_UNINSTALL) @list='$(docsreadme_DATA)'; test -n "$(docsreadmedir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(docsreadmedir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(docsreadmedir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-docsreadmeDATA install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-docsreadmeDATA .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am \ install-docsreadmeDATA install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \ uninstall-am uninstall-docsreadmeDATA .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: lepton-eda-1.9.16/utils/netlist/docs/vams/syntax_entity.txt0000644000175000017500000000062214101257250020761 00000000000000LIBRARY {,}; USE {,}; ENTITY IS [GENERIC ( : REAL := {; : REAL := }); ] [PORT ( : [] {; : [] });] END ENTITY; lepton-eda-1.9.16/utils/netlist/docs/vams/content.txt0000644000175000017500000000122414101257250017510 00000000000000VHDL-AMS support for gEDA gnetlist tool 1. functionality 1. ARCHITECTURE generation 2. ENTITY generation 3. automatisate gnetlist calls 2. implementation 1. the vams mode of gEDA gnetlist 1. scheme 1. settings and new definition 2. gnet-vams.scm 1. routines main structure ??? 3. helpfully setting in gEDA gschem environment 2. new c-code 1. routines 2. code-adaptation 2. automatic generating gnetlist calls in gEDA gschem 1. generated gEDA gnetlist calls 2. scheme 1. generate_netlist.scm 2. settings 3. new c-code 1. routines 2. code-adaptation lepton-eda-1.9.16/utils/netlist/docs/vams/syntax_architecture.txt0000644000175000017500000000057514101257250022136 00000000000000ARCHITECTURE OF IS { : subnet-kind;} BEGIN {