summaryrefslogtreecommitdiff
path: root/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* Add cmake files to distribution.Peter Johnson2014-08-101-0/+57
|
* Add vc12 files to distribution.Peter Johnson2014-08-101-0/+17
|
* dist-hook: Copy YASM-VERSION.h to Mkfiles/vc12.Peter Johnson2014-08-101-0/+1
|
* Add Mkfiles/vc10/out_copy_rename.bat to distribution.Peter Johnson2011-10-311-0/+1
|
* Copy YASM-VERSION.h to Mkfiles for distribution.Peter Johnson2011-10-311-1/+4
|
* Makefile.am: Clean YASM-VERSION.h.Peter Johnson2011-09-031-0/+1
|
* Generate version number information from git history.Peter Johnson2011-08-271-0/+8
| | | | | | | | | | | | | | | | | | Due to the svn import structure, a special case is currently implemented to look for the 1.1.0 branchpoint instead of the most recent tag on the master branch. This will be removed after the first release is tagged on the master branch in git. Specific details: autogen.sh: More aggressively clean autoconf cache. This is needed to ensure the version number is actually regenerated. Don't generate PACKAGE_PATCHLEVEL or PACKAGE_BUILD variables. The genversion program now parses PACKAGE_VERSION directly. For Mkfiles builds, YASM-VERSION.h is generated and included by the custom config.h. This avoids the need to edit config.h for versioning.
* Remove $Id$ and RCSID() usage.Peter Johnson2011-08-191-2/+0
| | | | These are useless now that we're using git.
* Makefile.am: Update for [2297] changes.Peter Johnson2010-03-041-3/+3
| | | | svn path=/trunk/yasm/; revision=2299
* Add vc10 and vsyasm build files to EXTRA_DIST.Peter Johnson2010-02-171-6/+42
| | | | svn path=/trunk/yasm/; revision=2290
* Update autoconf/automake scripts.Peter Johnson2010-01-071-6/+5
| | | | | | | | Also remove ltmain.sh as we no longer use libtool. Patch submitted by: Roumen Petrov <bugtrack@roumenpetrov.info> svn path=/trunk/yasm/; revision=2269
* Remove vc7 and vc8 build files, as they're no longer being maintained.Peter Johnson2009-03-241-39/+0
| | | | | | | There's a Python script (vc98_swap.py) in the Mkfiles/vc9 directory for those who want to build with vc8. svn path=/trunk/yasm/; revision=2184
* Remove renamed tasm.vcproj (as of [2175] it is ytasm.vcproj).Peter Johnson2009-03-041-0/+1
| | | | | | Add to distribution files. svn path=/trunk/yasm/; revision=2177
* Update Makefile.am for vc98_swap.py.Peter Johnson2008-10-091-1/+1
| | | | svn path=/trunk/yasm/; revision=2152
* Minor update of VC9 compile readme.Peter Johnson2008-04-011-0/+1
| | | | | | | | | Also add conversion script from vc9 (2008) build files to vc8 (2005) build files. Contributed by: Brian Gladman <brg@gladman.plus.com> svn path=/trunk/yasm/; revision=2047
* Include VC9 build files in the distfile.Peter Johnson2008-03-281-0/+21
| | | | | | Noticed by: Brian Gladman <brg@gladman.plus.com> svn path=/trunk/yasm/; revision=2046
* Change x86 instruction tables to be automatically generated.Peter Johnson2007-09-101-6/+5
| | | | | | | | | | | | | | | This combines the C and perfect hash tables into a single source file, and allows for easier future changes to the source-level structures. The Python-built files are included in the distribution so that Python is not added as a dependency. The generated code has been verified equal against the old tables, excepting a number of bugfixes. Most of the bugs fixed are in the CPU field, plus a few GAS suffix fixes. svn path=/trunk/yasm/; revision=1937
* Bring Mkfiles up to date with [1929].Peter Johnson2007-09-081-4/+8
| | | | svn path=/trunk/yasm/; revision=1930
* Don't distribute re2c-built files or configure-built stdint.h.Peter Johnson2007-02-221-1/+2
| | | | svn path=/trunk/yasm/; revision=1783
* Fix build (hopefully) on Win64 by using uintptr_t more widely; Win64 is aPeter Johnson2007-02-181-5/+6
| | | | | | | | LLP64 platform so it's unsafe to cast pointers to unsigned long. Reported by: Chris Tophe <cohika@gmail.com> svn path=/trunk/yasm/; revision=1774
* GAS parser: convert to recursive descent.Peter Johnson2006-12-301-1/+0
| | | | | | Remove all Bison supporting struts as we no longer need Bison. svn path=/trunk/yasm/; revision=1724
* Remove remaining references to nasm-bison.c/h.Peter Johnson2006-12-241-1/+1
| | | | | | | | | | Noticed by: Sean Darcy <seandarcy2@gmail.com> Patch by: Charles Bailey <charles@hashpling.org> Fix automake 1.10 error. Noticed/fix by: Sean Darcy <seandarcy2@gmail.com> svn path=/trunk/yasm/; revision=1719
* Change genmodule to parse through the Makefile (or Makefile.am) looking for ↵Peter Johnson2006-10-051-0/+2
| | | | | | | | | | | | | | YASM_MODULES, rather than simply taking a list of modules on the command line. This allows significant improvement of the behavior when used with Visual Studio, as the "old" way of doing this with Visual Studio build files was to scan through the .c files; this brought up things that were actually disabled in the build. Also incorporate a patch by Charles Bailey to make the VC8 build less noisy, and allow use of Win32 Bison if it's installed. Instructions updated as well. svn path=/trunk/yasm/; revision=1642
* * python_test.sh: Use PYTHON variable to find python executable.Peter Johnson2006-04-171-0/+1
| | | | | | | | * python-yasm/tests/Makefile.inc: Pass PYTHON setting down through TESTS_ENVIRONMENT. * Makefile.am: Initialize TESTS_ENVIRONMENT to empty. svn path=/trunk/yasm/; revision=1501
* * Mkfiles: Bring up to date with main tree changes (genstring, genversion).Peter Johnson2006-04-051-0/+8
| | | | svn path=/trunk/yasm/; revision=1466
* * COPYING: Update verbiage, add list of contributors and copyright notice.Peter Johnson2006-04-051-1/+12
| | | | | | | | | | | * genstring.c: Generate string array from source file. * Makefile.am: Build genstring. * Makefile.inc: Use genstring to create license.c from COPYING. * yasm.c: Include license.c and use it for new --license option. Shorten --version option to just displaying version, compile date, and very short copyright message. svn path=/trunk/yasm/; revision=1463
* * Makefile.am: Unbreak build for when Python bindings aren't being built;Peter Johnson2006-04-051-3/+1
| | | | | | also more cleanly hook into all target. svn path=/trunk/yasm/; revision=1459
* Hook Python module into the build (even though it's pretty incomplete),Peter Johnson2006-04-041-1/+9
| | | | | | | | | | | | | | | | enabled with --enable-python (defaults to auto-detect). Thanks to some magic in python-yasm/Makefile.inc and setup.py, this actually plays nicely with automake distcheck. * m4/pythonhead.m4: Script to find Python.h. * m4/Makefile.inc: Include it in distfiles. * configure.ac: Add --enable-python option and Python and Pyrex detection. * tools/Makefile.inc: Pull tools/python-yasm/Makefile.inc into build. * python-yasm/Makefile.inc: Add automake build magic for extension. * setup.py: Likewise. svn path=/trunk/yasm/; revision=1456
* Rewrite x86 identifier recognition to use a minimal perfect hash tablePeter Johnson2006-03-041-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instead of re2c-generated code. This gives identifier recognition a significant speedup and also drastically shortens compilation time of yasm itself. This rewrite encouraged combining instruction and prefix recognition into one function and register and target modifier recognition into a second function (rather than having 5 or so separate functions). Also created a state in the NASM parser (as was done in the GAS parser), so instructions/prefixes are only looked for until an instruction is recognized. This avoids search time in the instructions hash for operands. The tool used to generate the new identifier recognition is called GAP. Someday we might extend this to generate more code than just the perfect hash lookup. * tools/gap: New tool to Generate Architecture Parser (aka perfect hashes). * phash.c, phash.h: Helper functions used by GAP-generated code. * x86id.re: Delete. Split into.. * x86parse.gap: Contains all identifier recognition portions. * x86id.c: Contains instruction operand tables and code and higher-level entry points into x86parse.gap perfect hash recognizers. Chose to flow history of x86id.re into this file. * arch.h: Combine instruction/prefix entry points and register/target modifier entry points. * lc3barch.c, lc3bid.re, lc3barch.h: Update to match. * x86arch.c, x86arch.h: Update to match. * Makefile.am, various Makefile.inc: Update. * POTFILES.in: Update due to numerous file changes (not just this commit). * Mkfiles: Update. VC build files untested at the moment. svn path=/trunk/yasm/; revision=1395
* * Makefile.am: Unbreak distcheck due to yasm32.rules/yasm64.rules ->Peter Johnson2006-01-181-2/+1
| | | | | | yasm.rules combination in Mkfiles/vc8. svn path=/trunk/yasm/; revision=1336
* Add VC8 build files.Peter Johnson2006-01-081-0/+18
| | | | | | | | | Contributed by: Brian Gladman <brg@gladman.plus.com> Also added a couple VC7 build files that were in the tree but missing from EXTRA_DIST (and thus not included in the distribution). svn path=/trunk/yasm/; revision=1326
* * Makefile.am: Actually include Mkfiles/dj/_stdint.h in the distribution.Peter Johnson2005-10-151-0/+1
| | | | svn path=/trunk/yasm/; revision=1284
* * hamt.c: Use uintptr_t to correctly cast to integer from pointer. On somePeter Johnson2005-09-051-0/+3
| | | | | | | | | | platforms (notably Win64), unsigned long is not big enough to hold a pointer. * Makefile.am, configure.ac: Use ax_create_stdint_h to get us uintptr_t. * ax_create_stdint_h.m4: Implementation of ax_create_stdint_h autoconf macro from http://ac-archive.sourceforge.net/guidod/ax_create_stdint_h.html svn path=/trunk/yasm/; revision=1223
* Change how man pages are built (and where they are built to). Building manPeter Johnson2005-01-131-15/+2
| | | | | | | | | | | | | | | pages should now be more consistent across systems. * arch/Makefile.inc: Build yasm_arch.7 at top level, and in dist_man_MANS instead of man_MANS. Include build rule for building using XMLTO if XMLTO is available. * yasm/Makefile.inc: Likewise (for yasm.1). * Makefile.am: Change man_MANS to dist_man_MANS. Remove general rules for .xml.1 and .xml.7. Add dist_man_MANS to MAINTAINERCLEANFILES. Remove man_MANS from BUILT_SOURCES, DISTCLEANFILES, and EXTRA_DIST. svn path=/trunk/yasm/; revision=1189
* Greatly simplify build system by removing libtool and integrating formerlyPeter Johnson2004-12-011-13/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dynamically loaded modules into the now-static libyasm. I now anticipate that there would be very few users of the dynamic loading features, and it yielded a lot of instability and build headaches for very little benefit. The new build should now be much more cross-platform and faster (there was a lot of overhead in finding and loading modules). * libtool.m4, ltdl.m4: Delete. * m4/Makefile.am: Rename to m4/Makefile.inc and remove references to above. Change to use subdirectory (flat) build rather than recursive build. * Makefile.am: Include m4/Makefile.inc rather than having it in SUBDIRS. * libltdl: Delete. * frontends/yasm/yasm-module.c: Delete. * basename.c, dirname.c: Delete (no longer needed by yasm-module.c). * genmodule.c, module.in: Generator and template for new module.c included in libyasm that replaces the old yasm-module.c (module.in is a modified rename of yasm-module.c). * module.h: Modified rename of old yasm-module.h. * libyasm.h: Include libyasm/module.h. * libyasm/Makefile.inc: Build generator and include module.c in libyasm. * yasm.c: Use new libyasm module interface. * (many) Makefile.inc: Remove libtool libraries, build all modules into libyasm library. * configure.ac: Remove libtool/libltdl references. * Mkfiles/vc/yasm-module.c: Remove. Still need to fix some of the other Mkfiles/ build files for these changes. svn path=/trunk/yasm/; revision=1183
* Remove Check suite; hand-write the two tests that use it. While we'rePeter Johnson2004-11-151-2/+0
| | | | | | | | | | | | | | | | | | | here, remove the bitrotted tests memexpr_test and bytecode_test. * check: Deleted. * Makefile.am: Unhook Check suite from build. * configure.ac: Remove tests for things needed only for Check suite. * memexpr_test.c: Delete. * bytecode_test.c: Delete. * libyasm/tests/Makefile.inc: Delete commented-out references to above. * bitvect_test.c: Rewrite to not use Check suite. * floatnum_test.c: Likewise. * libyasm/tests/Makefile.inc: Don't reference Check suite. svn path=/trunk/yasm/; revision=1178
* * ins.h, scanner.h, dfa.h, code.c, re.h, parse.h, token.h, substr.h:Peter Johnson2004-09-121-12/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | Remove use of "inline". This could cause breakage on non-gcc systems (as these files do not use config.h because of cross-build reasons). * yasm.dep, yasm.mak, yasm.dsp, yasm.dsw: Remove support for VC6 builds. * libyasm.dsp, libyasm.mak, libyasm.dep: Likewise. * modules.dsp, modules.mak, modules.dep: Likewise. * yasm.suo: Remove unneeded user options file. * vc: Update svn:ignore property to reflect removal of VC6 builds and user options file. * genmacro.vcproj: Generate genmacro tool. * genmacro/run.bat: Use genmacro to generate nasm-macros.c. * modules.vcproj: Point to the new location for nasm-macros.c. * re2c.vcproj: Generate re2c tool. * re2c/run.bat: Use re2c to generate re2c-generated .c files. * yasm.sln: Utilize genmacro and re2c. svn path=/trunk/yasm/; revision=1144
* * arch/lc3b/README, arch/x86/README: Remove (replaced by man page).Peter Johnson2004-09-101-0/+5
| | | | | | | | | | | | * yasm_arch.xml, yasm_arch.7: Add new man page describing architectures. * yasm.xml, yasm.1: Reference yasm_arch(7). * Makefile.am: Add build rules for .7 man pages. * modules/arch/Makefile.inc: Build yasm_arch.7. svn path=/trunk/yasm/; revision=1140
* * Makefile.am: Unbreak build (broken due to new man page generation).Peter Johnson2004-09-071-1/+9
| | | | svn path=/trunk/yasm/; revision=1139
* * configure.ac: Remove check for groff, add check for xmlto.Peter Johnson2004-09-071-0/+6
| | | | | | | | | | | | | | | | | | * Makefile: Add support for building man pages from DocBook XML refentry's using xmlto. * frontends/yasm/yasm.xml: New. Source XML file for yasm(1) man page. * frontends/yasm/yasm.1: Generated yasm(1) man page. We may want to remove this at some point, but it would have impact on those keeping up with HEAD. * frontends/yasm/Makefile.inc: Add new yasm(1) man page to distribution and install. * HACKING: Update required tools list. Rename "CVS" to "Subversion". Remove "Generating ChangeLogs" section, as with Subversion this is not necessary. svn path=/trunk/yasm/; revision=1138
* * On most files: re-enable $IdPath$ as $Id$, and enable Id keyword expansion.Peter Johnson2004-09-041-1/+1
| | | | svn path=/trunk/yasm/; revision=1137
* Makefile.am: Include mkinstalldirs in the distribution.Peter Johnson2004-09-011-0/+3
| | | | | | | Bugzilla Bug 38 Reported by: Jeff Lawson <jlawson-yasm@bovine.net> svn path=/trunk/yasm/; revision=1132
* Convert test_hd.pl to test_hd.c, to remove one Perl dependency.Peter Johnson2004-03-141-1/+4
| | | | svn path=/trunk/yasm/; revision=1102
* Actually include (newly added) basename.c and dirname.c in the distribution.Peter Johnson2004-02-081-0/+2
| | | | svn path=/trunk/yasm/; revision=1099
* Add VC++ 7.1 build files to the distribution.Peter Johnson2003-12-261-0/+6
| | | | svn path=/trunk/yasm/; revision=1091
* Merge updates for 0.3.0 into the trunk (except for version bump).Peter Johnson2003-09-051-2/+2
| | | | svn path=/trunk/yasm/; revision=1055
* Clarify licensing.Peter Johnson2003-07-111-1/+4
| | | | svn path=/trunk/yasm/; revision=998
* Reformat multi-file lists to use many += lines instead of using \Peter Johnson2003-05-311-30/+30
| | | | | | (line-continued) lines. Format-only change, no functional change. svn path=/trunk/yasm/; revision=959
* Clean up and simplify libyasm.h options and symbol visibility:Peter Johnson2003-05-051-1/+3
| | | | | | | | | | | | | - Move config.h and util.h from libyasm (and installed libyasm) to top level. - Move yasm_* functions from util.h to coretype.h. - Remove a number of autoconf-related YASM_*_INTERNAL options from libyasm.h. - Rename YASM_INTERNAL to YASM_LIB_INTERNAL; it now actually means what the comment describes: enables definitions that violate the yasm_* namespace. While we're at it, no longer define YASM_LIB_INTERNAL from yasm frontend, so it's closer to what a real typical libyasm-using application would look like. svn path=/trunk/yasm/; revision=944
* Install modules into pkglibdir rather than libdir, and rename to type_keywordPeter Johnson2003-05-031-1/+2
| | | | | | | from yasm_keyword (separating same-keyword modules of different types). Update yasm frontend module loader to handle this. svn path=/trunk/yasm/; revision=921