diff options
author | H. Peter Anvin <hpa@zytor.com> | 2002-04-30 20:53:16 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2002-04-30 20:53:16 +0000 |
commit | 87bc61964cf5d2cc2e322883d6f927a43fb53af3 (patch) | |
tree | cf5f2e9602092902807762c09912a5e520121368 /rdoff | |
parent | 76690a12ad212d1f77cd1f71d7ac5a9de6eaefb6 (diff) | |
download | nasm-87bc61964cf5d2cc2e322883d6f927a43fb53af3.tar.gz nasm-87bc61964cf5d2cc2e322883d6f927a43fb53af3.tar.bz2 nasm-87bc61964cf5d2cc2e322883d6f927a43fb53af3.zip |
NASM 0.97
Diffstat (limited to 'rdoff')
-rw-r--r-- | rdoff/Makefile | 53 | ||||
-rw-r--r-- | rdoff/Makefile.sc | 169 |
2 files changed, 57 insertions, 165 deletions
diff --git a/rdoff/Makefile b/rdoff/Makefile deleted file mode 100644 index 78eca4e..0000000 --- a/rdoff/Makefile +++ /dev/null @@ -1,53 +0,0 @@ -# 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 licence given in the file "Licence" -# distributed in the NASM archive. -# -# This Makefile is designed for use under Unix (probably fairly -# portably). - -CC = gcc -CCFLAGS = -c -g -Wall -ansi -pedantic -I.. -LINK = gcc -LINKFLAGS = -g -o -DLINKFLAGS = -o -LIBRARIES = -STRIP = strip -LDRDFLIBS = rdoff.o ../nasmlib.o symtab.o collectn.o rdlib.o -RDXLIBS = rdoff.o rdfload.o symtab.o collectn.o - -.c.o: - $(CC) $(CCFLAGS) $*.c - -all : rdfdump ldrdf rdx rdflib rdf2bin rdf2com - -rdfdump : rdfdump.o - $(LINK) $(LINKFLAGS) rdfdump rdfdump.o -ldrdf : ldrdf.o $(LDRDFLIBS) - $(LINK) $(LINKFLAGS) ldrdf ldrdf.o $(LDRDFLIBS) -rdx : rdx.o $(RDXLIBS) - $(LINK) $(LINKFLAGS) rdx rdx.o $(RDXLIBS) -rdflib : rdflib.o - $(LINK) $(LINKFLAGS) rdflib rdflib.o -rdf2bin : rdf2bin.o $(RDXLIBS) ../nasmlib.o - $(LINK) $(LINKFLAGS) rdf2bin rdf2bin.o $(RDXLIBS) ../nasmlib.o -rdf2com : - ln -s rdf2bin rdf2com - -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 - -clean : - rm -f *.o *~ rdfdump ldrdf rdx rdflib rdf2bin - - diff --git a/rdoff/Makefile.sc b/rdoff/Makefile.sc index 816cc98..fca911a 100644 --- a/rdoff/Makefile.sc +++ b/rdoff/Makefile.sc @@ -1,112 +1,57 @@ -# 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 licence given in the file "Licence" - -# distributed in the NASM archive. - -# - -# This Makefile is designed for use under Unix (probably fairly - -# portably). - - - -CC = sc - -CCFLAGS = -I..\ -c -a1 -mn -Nc -w2 -w7 -o+time -5 - -LINK = link - -LINKFLAGS = /noi /exet:NT /su:console - - - -OBJ=obj - -EXE=.exe - - - -NASMLIB = ..\nasmlib.$(OBJ) - -NASMLIB_H = ..\nasmlib.h - -LDRDFLIBS = rdoff.$(OBJ) $(NASMLIB) symtab.$(OBJ) collectn.$(OBJ) rdlib.$(OBJ) - -RDXLIBS = rdoff.$(OBJ) rdfload.$(OBJ) symtab.$(OBJ) collectn.$(OBJ) - - - -.c.$(OBJ): - - $(CC) $(CCFLAGS) $*.c - - - -all : rdfdump$(EXE) ldrdf$(EXE) rdx$(EXE) rdflib$(EXE) rdf2bin$(EXE) rdf2com$(EXE) - - - -rdfdump$(EXE) : rdfdump.$(OBJ) - - $(LINK) $(LINKFLAGS) rdfdump.$(OBJ), rdfdump$(EXE); - -ldrdf$(EXE) : ldrdf.$(OBJ) $(LDRDFLIBS) - - $(LINK) $(LINKFLAGS) ldrdf.$(OBJ) $(LDRDFLIBS), ldrdf$(EXE); - -rdx$(EXE) : rdx.$(OBJ) $(RDXLIBS) - - $(LINK) $(LINKFLAGS) rdx.$(OBJ) $(RDXLIBS), rdx$(EXE); - -rdflib$(EXE) : rdflib.$(OBJ) - - $(LINK) $(LINKFLAGS) rdflib.$(OBJ), rdflib$(EXE); - -rdf2bin$(EXE) : rdf2bin.$(OBJ) $(RDXLIBS) $(NASMLIB) - - $(LINK) $(LINKFLAGS) rdf2bin.$(OBJ) $(RDXLIBS) $(NASMLIB), rdf2bin$(EXE); - -rdf2com$(EXE) : rdf2bin$(EXE) - - copy rdf2bin$(EXE) rdf2com$(EXE) - - - -rdf2bin.$(OBJ) : rdf2bin.c - -rdfdump.$(OBJ) : rdfdump.c - -rdoff.$(OBJ) : rdoff.c rdoff.h - -ldrdf.$(OBJ) : ldrdf.c rdoff.h $(NASMLIB_H) symtab.h collectn.h rdlib.h - -symtab.$(OBJ) : symtab.c symtab.h - -collectn.$(OBJ) : collectn.c collectn.h - -rdx.$(OBJ) : rdx.c rdoff.h rdfload.h symtab.h - -rdfload.$(OBJ) : rdfload.c rdfload.h rdoff.h collectn.h symtab.h - -rdlib.$(OBJ) : rdlib.c rdlib.h - -rdflib.$(OBJ) : rdflib.c - - - -clean : - - del *.$(OBJ) rdfdump$(EXE) ldrdf$(EXE) rdx$(EXE) rdflib$(EXE) rdf2bin$(EXE) - - - - - +# 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 licence given in the file "Licence"
+# distributed in the NASM archive.
+#
+# This Makefile is designed for use under Unix (probably fairly
+# portably).
+
+CC = sc
+CCFLAGS = -I..\ -c -a1 -mn -Nc -w2 -w7 -o+time -5
+LINK = link
+LINKFLAGS = /noi /exet:NT /su:console
+
+OBJ=obj
+EXE=.exe
+
+NASMLIB = ..\nasmlib.$(OBJ)
+NASMLIB_H = ..\nasmlib.h
+LDRDFLIBS = rdoff.$(OBJ) $(NASMLIB) symtab.$(OBJ) collectn.$(OBJ) rdlib.$(OBJ)
+RDXLIBS = rdoff.$(OBJ) rdfload.$(OBJ) symtab.$(OBJ) collectn.$(OBJ)
+
+.c.$(OBJ):
+ $(CC) $(CCFLAGS) $*.c
+
+all : rdfdump$(EXE) ldrdf$(EXE) rdx$(EXE) rdflib$(EXE) rdf2bin$(EXE) rdf2com$(EXE)
+
+rdfdump$(EXE) : rdfdump.$(OBJ)
+ $(LINK) $(LINKFLAGS) rdfdump.$(OBJ), rdfdump$(EXE);
+ldrdf$(EXE) : ldrdf.$(OBJ) $(LDRDFLIBS)
+ $(LINK) $(LINKFLAGS) ldrdf.$(OBJ) $(LDRDFLIBS), ldrdf$(EXE);
+rdx$(EXE) : rdx.$(OBJ) $(RDXLIBS)
+ $(LINK) $(LINKFLAGS) rdx.$(OBJ) $(RDXLIBS), rdx$(EXE);
+rdflib$(EXE) : rdflib.$(OBJ)
+ $(LINK) $(LINKFLAGS) rdflib.$(OBJ), rdflib$(EXE);
+rdf2bin$(EXE) : rdf2bin.$(OBJ) $(RDXLIBS) $(NASMLIB)
+ $(LINK) $(LINKFLAGS) rdf2bin.$(OBJ) $(RDXLIBS) $(NASMLIB), rdf2bin$(EXE);
+rdf2com$(EXE) : rdf2bin$(EXE)
+ copy rdf2bin$(EXE) rdf2com$(EXE)
+
+rdf2bin.$(OBJ) : rdf2bin.c
+rdfdump.$(OBJ) : rdfdump.c
+rdoff.$(OBJ) : rdoff.c rdoff.h
+ldrdf.$(OBJ) : ldrdf.c rdoff.h $(NASMLIB_H) symtab.h collectn.h rdlib.h
+symtab.$(OBJ) : symtab.c symtab.h
+collectn.$(OBJ) : collectn.c collectn.h
+rdx.$(OBJ) : rdx.c rdoff.h rdfload.h symtab.h
+rdfload.$(OBJ) : rdfload.c rdfload.h rdoff.h collectn.h symtab.h
+rdlib.$(OBJ) : rdlib.c rdlib.h
+rdflib.$(OBJ) : rdflib.c
+
+clean :
+ del *.$(OBJ) rdfdump$(EXE) ldrdf$(EXE) rdx$(EXE) rdflib$(EXE) rdf2bin$(EXE)
+
+
+
\ No newline at end of file |