mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-01-18 16:25:05 +08:00
Merge branch 'nasm-2.09.xx'
This commit is contained in:
commit
1f0e0bcf1f
@ -81,8 +81,7 @@ NDISASM = ndisasm.$(O) disasm.$(O) sync.$(O) nasmlib.$(O) ver.$(O) \
|
||||
insnsd.$(O) insnsb.$(O) insnsn.$(O) regs.$(O) regdis.$(O)
|
||||
#-- End File Lists --#
|
||||
|
||||
all: nasm$(X) ndisasm$(X) nasm.man ndisasm.man
|
||||
cd rdoff && $(MAKE) all
|
||||
all: nasm$(X) ndisasm$(X) nasm.man ndisasm.man rdf
|
||||
|
||||
nasm$(X): $(NASM) $(XOBJS)
|
||||
$(CC) $(LDFLAGS) -o nasm$(X) $(NASM) $(XOBJS) $(LIBS)
|
||||
@ -209,8 +208,8 @@ spotless: distclean cleaner
|
||||
strip:
|
||||
$(STRIP) --strip-unneeded nasm$(X) ndisasm$(X)
|
||||
|
||||
rdf:
|
||||
cd rdoff && $(MAKE)
|
||||
rdf: nasmlib.$(O)
|
||||
cd rdoff && $(MAKE) all
|
||||
|
||||
TAGS:
|
||||
$(RM) -f TAGS
|
||||
|
@ -29,8 +29,10 @@ INSTALL_DATA = @INSTALL_DATA@
|
||||
LN_S = @LN_S@
|
||||
MKDIR = mkdir
|
||||
|
||||
LDRDFLIBS = rdoff.o nasmlib.o symtab.o collectn.o rdlib.o segtab.o hash.o
|
||||
RDXLIBS = rdoff.o rdfload.o symtab.o collectn.o hash.o
|
||||
LDRDFLIBS = rdoff.$(O) symtab.$(O) collectn.$(O) \
|
||||
rdlib.$(O) segtab.$(O) hash.$(O)
|
||||
RDXLIBS = rdoff.$(O) rdfload.$(O) symtab.$(O) collectn.$(O) hash.$(O)
|
||||
NASMLIB = ../nasmlib.$(O)
|
||||
|
||||
# Binary suffixes
|
||||
O = @OBJEXT@
|
||||
@ -49,13 +51,13 @@ all: $(PROGRAMS)
|
||||
rdfdump$(X): rdfdump.$(O) rdoff.$(O)
|
||||
$(CC) $(LDFLAGS) -o rdfdump$(X) rdfdump.$(O) rdoff.$(O)
|
||||
ldrdf$(X): ldrdf.$(O) $(LDRDFLIBS)
|
||||
$(CC) $(LDFLAGS) -o ldrdf$(X) ldrdf.$(O) $(LDRDFLIBS)
|
||||
rdx$(X): rdx.$(O) $(RDXLIBS)
|
||||
$(CC) $(LDFLAGS) -o rdx$(X) rdx.$(O) $(RDXLIBS)
|
||||
$(CC) $(LDFLAGS) -o ldrdf$(X) ldrdf.$(O) $(LDRDFLIBS) $(NASMLIB)
|
||||
rdx$(X): rdx.$(O) $(RDXLIBS) $(NASMLIB)
|
||||
$(CC) $(LDFLAGS) -o rdx$(X) rdx.$(O) $(RDXLIBS) $(NASMLIB)
|
||||
rdflib$(X): rdflib.$(O)
|
||||
$(CC) $(LDFLAGS) -o rdflib$(X) rdflib.$(O)
|
||||
rdf2bin$(X): rdf2bin.$(O) $(RDXLIBS) nasmlib.$(O)
|
||||
$(CC) $(LDFLAGS) -o rdf2bin$(X) rdf2bin.$(O) $(RDXLIBS) nasmlib.$(O)
|
||||
rdf2bin$(X): rdf2bin.$(O) $(RDXLIBS) $(NASMLIB)
|
||||
$(CC) $(LDFLAGS) -o rdf2bin$(X) rdf2bin.$(O) $(RDXLIBS) $(NASMLIB)
|
||||
rdf2com$(X):
|
||||
rm -f rdf2com$(X) && $(LN_S) rdf2bin$(X) rdf2com$(X)
|
||||
rdf2ith$(X):
|
||||
@ -78,10 +80,6 @@ rdlib.$(O): rdlib.c rdlib.h
|
||||
rdflib.$(O): rdflib.c
|
||||
segtab.$(O): segtab.c
|
||||
|
||||
nasmlib.$(O): $(top_srcdir)/nasmlib.c
|
||||
cd .. && $(MAKE) nasmlib.$(O)
|
||||
cp ../nasmlib.$(O) .
|
||||
|
||||
clean:
|
||||
rm -f *.$(O) $(PROGRAMS)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user