diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-05-15 22:27:48 +0100 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2012-05-15 22:27:48 +0100 |
commit | b9fad1ab2ad3bd87bff05c4688c978d582ada438 (patch) | |
tree | 4a373f8dd867d20e67510de7cfe447a4b58c1a70 /rdoff/Makefile.in | |
parent | 65c26d26fb72cec0d43d199c72ed27513d17f4c9 (diff) | |
download | nasm-b9fad1ab2ad3bd87bff05c4688c978d582ada438.tar.gz nasm-b9fad1ab2ad3bd87bff05c4688c978d582ada438.tar.bz2 nasm-b9fad1ab2ad3bd87bff05c4688c978d582ada438.zip |
Upstream version 2.08rc7
Diffstat (limited to 'rdoff/Makefile.in')
-rw-r--r-- | rdoff/Makefile.in | 105 |
1 files changed, 105 insertions, 0 deletions
diff --git a/rdoff/Makefile.in b/rdoff/Makefile.in new file mode 100644 index 0000000..93f2e2a --- /dev/null +++ b/rdoff/Makefile.in @@ -0,0 +1,105 @@ +# +# 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) +ALL_CFLAGS = $(BUILD_CFLAGS) $(INTERNAL_CFLAGS) +LDFLAGS = @LDFLAGS@ + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +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 + +# Binary suffixes +O = @OBJEXT@ +X = @EXEEXT@ + +PROGRAMS = rdfdump$(X) ldrdf$(X) rdx$(X) rdflib$(X) \ + rdf2bin$(X) rdf2com$(X) rdf2ith$(X) rdf2ihx$(X) rdf2srec$(X) + +.SUFFIXES: .c .i .s .$(O) .1 .man + +.c.$(O): + $(CC) -c $(ALL_CFLAGS) $< + +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) +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) +rdf2com$(X): + rm -f rdf2com$(X) && $(LN_S) rdf2bin$(X) rdf2com$(X) +rdf2ith$(X): + rm -f rdf2ith$(X) && $(LN_S) rdf2bin$(X) rdf2ith$(X) +rdf2ihx$(X): + rm -f rdf2ihx$(X) && $(LN_S) rdf2bin$(X) rdf2ihx$(X) +rdf2srec$(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 rdoff.h +ldrdf.$(O): ldrdf.c rdoff.h ../nasmlib.h symtab.h collectn.h rdlib.h +symtab.$(O): symtab.c symtab.h +collectn.$(O): collectn.c collectn.h +rdx.$(O): rdx.c rdoff.h rdfload.h symtab.h +rdfload.$(O): rdfload.c rdfload.h rdoff.h collectn.h symtab.h +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) + +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/ |