aboutsummaryrefslogtreecommitdiffstats
path: root/rdoff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2017-04-06 17:24:03 -0700
committerH. Peter Anvin <hpa@zytor.com>2017-04-06 17:24:03 -0700
commit9a714c98a28089b26a2244ff8ce725a21c11ed3f (patch)
treecda5520ba4b2d3b79ca44920f65eba8b883d778a /rdoff
parentcb8094a954fc08dea4599eb07b7ff0015184d6c4 (diff)
downloadnasm-9a714c98a28089b26a2244ff8ce725a21c11ed3f.tar.gz
nasm-9a714c98a28089b26a2244ff8ce725a21c11ed3f.tar.xz
nasm-9a714c98a28089b26a2244ff8ce725a21c11ed3f.zip
rdoff: move rdoff build into main Makefile to make it build on Windows
NSIS packages rdoff, and we really want to be able to build the full NSIS package on an MSVC platform. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'rdoff')
-rw-r--r--rdoff/Makefile.in119
1 files changed, 0 insertions, 119 deletions
diff --git a/rdoff/Makefile.in b/rdoff/Makefile.in
deleted file mode 100644
index 7cd1f1a8..00000000
--- a/rdoff/Makefile.in
+++ /dev/null
@@ -1,119 +0,0 @@
-#
-# Auto-configuring Makefile for RDOFF object file utils; part of the
-# Netwide Assembler
-#
-# The Netwide Assembler is copyright (C) 1996 Simon Tatham and
-# Julian Hall. All rights reserved. The software is
-# redistributable under the license given in the file "LICENSE"
-# distributed in the NASM archive.
-
-top_srcdir = @top_srcdir@
-srcdir = @srcdir@
-VPATH = @srcdir@
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-bindir = @bindir@
-mandir = @mandir@
-datarootdir = @datarootdir@
-
-CC = @CC@
-CFLAGS = @CFLAGS@
-BUILD_CFLAGS = $(CFLAGS) @DEFS@
-INTERNAL_CFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_srcdir)/include -I..
-ALL_CFLAGS = $(BUILD_CFLAGS) $(INTERNAL_CFLAGS)
-LDFLAGS = @LDFLAGS@
-LIBS = @LIBS@
-
-AR = @AR@
-RANLIB = @RANLIB@
-STRIP = @STRIP@
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-LN_S = @LN_S@
-
-MKDIR = mkdir
-RM_F = rm -f
-RM_RF = rm -rf
-
-LIBOBJS = rdoff.$(O) rdfload.$(O) symtab.$(O) collectn.$(O) \
- rdlib.$(O) segtab.$(O) hash.$(O)
-RDFLIB = librdoff.$(A)
-NASMLIB = ../libnasm.$(A)
-LIBS = $(RDFLIB) $(NASMLIB)
-
-# Binary suffixes
-O = @OBJEXT@
-X = @EXEEXT@
-A = @LIBEXT@
-
-PROGRAMS = rdfdump$(X) ldrdf$(X) rdx$(X) rdflib$(X) \
- rdf2bin$(X) rdf2com$(X) rdf2ith$(X) rdf2ihx$(X) rdf2srec$(X)
-
-.SUFFIXES: .c .i .s .$(O) .$(A) .1 .man
-
-.c.$(O):
- $(CC) -c $(ALL_CFLAGS) $<
-
-all: $(PROGRAMS)
-
-$(RDFLIB): $(LIBOBJS)
- $(RM_F) $(RDFLIB)
- $(AR) cq $(RDFLIB) $(LIBOBJS)
- $(RANLIB) $(RDFLIB)
-
-rdfdump$(X): rdfdump.$(O) $(LIBS)
- $(CC) $(LDFLAGS) -o rdfdump$(X) rdfdump.$(O) $(LIBS)
-ldrdf$(X): ldrdf.$(O) $(LIBS)
- $(CC) $(LDFLAGS) -o ldrdf$(X) ldrdf.$(O) $(LIBS)
-rdx$(X): rdx.$(O) $(LIBS)
- $(CC) $(LDFLAGS) -o rdx$(X) rdx.$(O) $(LIBS)
-rdflib$(X): rdflib.$(O) $(LIBS)
- $(CC) $(LDFLAGS) -o rdflib$(X) rdflib.$(O) $(LIBS)
-rdf2bin$(X): rdf2bin.$(O) $(LIBS)
- $(CC) $(LDFLAGS) -o rdf2bin$(X) rdf2bin.$(O) $(LIBS)
-rdf2com$(X): rdf2bin$(X)
- $(RM_F) rdf2com$(X) && $(LN_S) rdf2bin$(X) rdf2com$(X)
-rdf2ith$(X): rdf2bin$(X)
- $(RM_F) rdf2ith$(X) && $(LN_S) rdf2bin$(X) rdf2ith$(X)
-rdf2ihx$(X): rdf2bin$(X)
- $(RM_F) rdf2ihx$(X) && $(LN_S) rdf2bin$(X) rdf2ihx$(X)
-rdf2srec$(X): rdf2bin$(X)
- $(RM_F) rdf2srec$(X) && $(LN_S) rdf2bin$(X) rdf2srec$(X)
-
-rdf2ihx.$(O): rdf2ihx.c
-rdf2bin.$(O): rdf2bin.c
-rdfdump.$(O): rdfdump.c
-rdoff.$(O): rdoff.c ../include/rdoff.h
-ldrdf.$(O): ldrdf.c ../include/rdoff.h ../include/nasmlib.h symtab.h \
- collectn.h rdlib.h
-symtab.$(O): symtab.c symtab.h
-collectn.$(O): collectn.c collectn.h
-rdx.$(O): rdx.c ../include/rdoff.h rdfload.h symtab.h
-rdfload.$(O): rdfload.c rdfload.h ../include/rdoff.h collectn.h symtab.h
-rdlib.$(O): rdlib.c rdlib.h
-rdflib.$(O): rdflib.c
-segtab.$(O): segtab.c
-
-clean:
- $(RM_F) *.$(O) *.$(A) $(PROGRAMS)
-
-spotless: clean
- $(RM_F) Makefile
-
-distclean: spotless
-
-install: all
- $(MKDIR) -p $(INSTALLROOT)$(bindir)
- $(INSTALL_PROGRAM) rdfdump$(X) $(INSTALLROOT)$(bindir)/rdfdump$(X)
- $(INSTALL_PROGRAM) ldrdf$(X) $(INSTALLROOT)$(bindir)/ldrdf$(X)
- $(INSTALL_PROGRAM) rdx$(X) $(INSTALLROOT)$(bindir)/rdx$(X)
- $(INSTALL_PROGRAM) rdflib$(X) $(INSTALLROOT)$(bindir)/rdflib$(X)
- $(INSTALL_PROGRAM) rdf2bin$(X) $(INSTALLROOT)$(bindir)/rdf2bin$(X)
- cd $(INSTALLROOT)$(bindir) && $(RM_F) rdf2com$(X) && $(LN_S) rdf2bin$(X) rdf2com$(X)
- cd $(INSTALLROOT)$(bindir) && $(RM_F) rdf2ith$(X) && $(LN_S) rdf2bin$(X) rdf2ith$(X)
- cd $(INSTALLROOT)$(bindir) && $(RM_F) rdf2ihx$(X) && $(LN_S) rdf2bin$(X) rdf2ihx$(X)
- cd $(INSTALLROOT)$(bindir) && $(RM_F) rdf2srec$(X) && $(LN_S) rdf2bin$(X) rdf2srec$(X)
- $(MKDIR) -p $(INSTALLROOT)$(mandir)/man1
- $(INSTALL_DATA) $(srcdir)/*.1 $(INSTALLROOT)$(mandir)/man1/