summaryrefslogtreecommitdiff
path: root/rdoff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-04-14 01:07:52 -0700
committerAnas Nashif <anas.nashif@intel.com>2013-04-14 01:07:52 -0700
commit02a48f17aa3a8080563593ab849bd2458a0c3113 (patch)
treee683d520d73e96fcb7a6827026d23537c0817788 /rdoff
parent300d4816804c8ceb4a4601a49ec3ec479c1951b5 (diff)
downloadnasm-upstream/2.10.07.tar.gz
nasm-upstream/2.10.07.tar.bz2
nasm-upstream/2.10.07.zip
Imported Upstream version 2.10.07upstream/2.10.07upstream-2.10.07
Diffstat (limited to 'rdoff')
-rw-r--r--rdoff/Makefile.in22
1 files changed, 10 insertions, 12 deletions
diff --git a/rdoff/Makefile.in b/rdoff/Makefile.in
index 93f2e2a..41fc5f1 100644
--- a/rdoff/Makefile.in
+++ b/rdoff/Makefile.in
@@ -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@
@@ -48,14 +50,14 @@ 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)
+ldrdf$(X): ldrdf.$(O) $(LDRDFLIBS) $(NASMLIB)
+ $(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)