summaryrefslogtreecommitdiff
path: root/Makefile.in
Commit message (Collapse)AuthorAgeFilesLines
...
| * nsis: make nsis output automatically select architecturensisH. Peter Anvin2016-03-031-8/+20
| | | | | | | | | | | | | | | | | | | | | | | | Make the NSIS output automatically select the output architecture to generate the proper filename and, much more importantly, set up the proper default install directory. This requires Perl as well as makensis to be present in order to make an installer, but that doesn't really seem like a too onerous of a requirement (NSIS being the big external dependency here.) Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | Change nasmlist/ListGen to lfmt/struct lfmtH. Peter Anvin2016-02-181-5/+5
| | | | | | | | | | | | | | For consistency with ofmt/dfmt, change the listing structure to "struct lfmt" and "lfmt" and move it to listing.h. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | Makefile: remove explicit mention of lib/strlcpy.cH. Peter Anvin2016-02-181-2/+1
| | | | | | | | | | | | | | Don't inclure lib/strlcpy.c unconditionally, that is what LIBOBJS is for. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | Portability improvements and autoconf modernizationH. Peter Anvin2016-02-181-36/+40
|/ | | | | | | Improve the portability of the code and modernize our use of autoconf. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* outmacho: rename outmac.c to outmacho.cH. Peter Anvin2016-02-121-4/+4
| | | | | | We already have outmacho.mac, so name this file outmacho.c. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* Merge the macho32 and macho64 (outmac32/64) backendsH. Peter Anvin2016-02-121-8/+4
| | | | | | | | Merge the two Mach-O backends for cleanliness and maintainability. This should also make the recent fixes to MachO-64 available in MachO-32. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* make alldeps to remove unnecessary dependencies for realpath.cH. Peter Anvin2016-01-261-3/+1
| | | | | | | The previous commit contained unnecessary dependencies for realpath.c so run make alldeps to remove those. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Portability improvements to nasm_realpath()H. Peter Anvin2016-01-261-3/+12
| | | | | | | | Try harder to nasm_realpath() to be as portable as possible. Move it to a separate file since it has gotten complex enough that it is cleaner that way. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* coff: Add support for the Codeview 8 debug formatJim Kukunas2016-01-241-1/+1
| | | | | | | | | | | Codeview is a debug format for win32/win64 PE/COFF files. It adds two sections, .debug$S (symbols) and .debug$T (types), to the generated object file. These sections are then used by the linker to generate a PDB file which can be used by various debuggers (WinDbg, Visual Studio, etc). Signed-off-by: Jim Kukunas <james.t.kukunas@linux.intel.com> Acked-by: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* Add a MD5 implementationJim Kukunas2016-01-241-1/+2
| | | | | | | | | | | | This implementation was written by Colin Plumb and is in the public domain. I've updated it to use stdint.h and the standard C types rather than sys/types.h for portability. Signed-off-by: Jim Kukunas <james.t.kukunas@linux.intel.com> Acked-by: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* Run "make alldeps" to add missing header file dependenciesH. Peter Anvin2014-11-251-5/+6
| | | | Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* "make alldeps"H. Peter Anvin2013-11-241-28/+28
| | | | Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* iflag: Fix dependencies, factor out static components of iflag.hH. Peter Anvin2013-11-241-10/+11
| | | | | | | | | | Multi-dependencies don't work as expected, especially not across Make versions, this is why we don't use them and read the instructions list multiple times. iflag.h has a lot of static content, so factor out the static content. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* "make alldeps"H. Peter Anvin2013-11-241-6/+8
| | | | Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* make: Update depsCyrill Gorcunov2013-11-241-26/+31
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* iflag: Start using new instruction flags engineCyrill Gorcunov2013-11-241-3/+11
| | | | | | Here we start using instruction flags generator. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* make: Add 'golden' targetCyrill Gorcunov2013-11-241-0/+3
| | | | | | | | We've 'test' target in toplevel Makefile, lets be complete and allow to generate "golden" tests from toplevel as well. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* disp8: Consolidate a logic to get compressed displacementJin Kyu Song2013-11-201-2/+2
| | | | | | | | | Consolidated two separate but similar functions in nasm and ndisasm into a commonly linked source code. To encode and decode the compressed displacement (disp8*N) for EVEX, N value should be derived using various conditions. Signed-off-by: Jin Kyu Song <jin.kyu.song@intel.com>
* Revert "make: Remove generated files on clean target"Cyrill Gorcunov2013-10-281-4/+1
| | | | | | | | | This reverts commit b6c7291b3d1f904b20955c3f9829b8cc92801227. We already have this cleanup stage in "cleaner" target, I managed to miss it. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* make: Remove generated files on clean targetCyrill Gorcunov2013-10-271-1/+4
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* Merge remote-tracking branch 'origin/master'H. Peter Anvin2013-10-241-39/+42
|\
| * Run "make alldeps" to update dependenciesH. Peter Anvin2013-10-241-39/+42
| |
* | Makefile.in: always run "make alldeps" when "make dist"H. Peter Anvin2013-10-241-1/+3
|/ | | | | | | "make dist" (tarball generation) really should include "make alldeps" so the Makefile dependencies are correct. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Makefile.in: generate manpages for "make dist"H. Peter Anvin2013-10-241-2/+6
| | | | | | Make sure the "dist" target generates the man pages. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Revert "build: Include pregenerated nasm manpages"H. Peter Anvin2013-10-241-0/+5
| | | | | | | | | | This reverts commit 99427bdb6c85c812665f6d7b36ac520a631c5b23. We don't include generated files in the repository, instead we should pregenerate them for the tarball generation, just as we do for the Perl-generated files. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* build: Include pregenerated nasm manpagesCyrill Gorcunov2013-07-221-5/+0
| | | | | | | | | | It's been reported that force people to install asciidoc for man pages generation is not acceptible. Just ship them pregenerated. http://bugzilla.nasm.us/show_bug.cgi?id=3392262 Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* Make the errors for missing man page tools comprehensibleH. Peter Anvin2013-05-171-4/+6
| | | | | | A lot of confusion was had due to missing asciidoc... Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* make: Don't forget to generate manpage for all targetCyrill Gorcunov2013-02-181-2/+2
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* man: Generate manpages from asciidoc formatCyrill Gorcunov2013-02-171-3/+7
| | | | | | | The asciidoc format is a way more easier to read by a human. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* preproc: Move NOP preprocessor into separate fileCyrill Gorcunov2012-05-071-1/+4
| | | | | | No need to carry it in nasm.c, let it be more modular. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* backend: add support for x32 ELFH.J. Lu2012-02-031-0/+5
| | | | Add an x32 ELF (32-bit code with the CPU in 64-bit mode) backend.
* preproc: Add tokenization tracingCyrill Gorcunov2011-06-251-0/+5
| | | | | | | | | | It's a bit more than that, also TRACE=1 make flag added to run this facility on and off at compiling time. Debug feature only, doesn't affect regular users. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* Merge branch 'nasm-2.09.xx'H. Peter Anvin2011-06-231-4/+3
|\
| * Makefile: hopefully fix rdoff parallel build problemsH. Peter Anvin2011-06-231-4/+3
| | | | | | | | | | | | | | The strange dependency on nasmlib.o causes serious issues in parallel build; hopefully fix it. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | make: Add cscope targedCyrill Gorcunov2011-02-141-0/+5
| | | | | | | | | | | | For easier use of cscope Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | make: Add tags and TAGS targetsCyrill Gorcunov2010-11-051-1/+11
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | make: Add "test" target into .PHONYCyrill Gorcunov2010-10-291-1/+1
|/ | | | | | | | | | | | Michael proposed to run | sed -i -e '/^.PHONY: all/s/$/ test/' Makefile.in since we have test/ directory. Good idea. Reported-by: Michael Sterrett Patch-by: Michael Sterrett Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* Rename filenames to 8.3 formatH. Peter Anvin2010-06-151-64/+62
| | | | | | | Apparently some people still care about compiling native on MS-DOS, and we don't have a significant number of files which need adjustment. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* Add generic ilog2 functionsH. Peter Anvin2010-04-211-4/+6
| | | | | | | | Add ilog2_{32,64}() and alignlog2_{32,64}() ... the latter is intended for alignment statements and return -1 for non-power-of-2 other than 0 (which returns 0). Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* Makefile: clean up the lib directory on make cleanH. Peter Anvin2010-04-211-0/+1
| | | | Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* make: Update pecoff.h related depsCyrill Gorcunov2010-04-211-1/+1
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* output/outelfX.c: Use definitions from stabs.hCyrill Gorcunov2010-01-031-4/+4
| | | | | | | | Also made Makefile.in to handle dependency. There are some makefiles in Mkfiles\ should be fixed as well. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* Run "make alldeps"H. Peter Anvin2009-11-301-64/+70
|
* Merge elf header filesCyrill Gorcunov2009-11-061-5/+5
| | | | | | | | | Merge elfcommon.h, elf32.h, elf64.h into single elf.h -- we do support both elf32 and elf64 anyway. Let put them into common place. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* Add strlcpy() functionH. Peter Anvin2009-08-101-9/+9
| | | | | | | Add strlcpy() function and implementation, and use configure to detect if strlcpy() is natively available on the system. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Run make alldepsH. Peter Anvin2009-07-181-10/+10
|
* Hash even backend-specific directives, unify null functionsH. Peter Anvin2009-07-121-88/+96
| | | | | | | | | Hash all directives, even the ones that are backend-specific, and instead pass the backend an already-parsed directive number. Furthermore, unify null functions across various backends. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Use a phash to decode directivesH. Peter Anvin2009-07-121-4/+15
| | | | | | We can use a perfect hash to decode directives as well. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* macho64: Manually merge macho64 branch with master branch.Keith Kanios2009-07-081-7/+10
|
* Run make alldepsH. Peter Anvin2009-06-271-4/+7
|