NASM 0.98p3.3
[nasm/avx512.git] / rdoff / Makefile.in
blobd9a9311175abf70aebc0ea1fec3ed3a0a7d3b994
2 # Auto-configuring Makefile for RDOFF object file utils; part of the
3 # Netwide Assembler
5 # The Netwide Assembler is copyright (C) 1996 Simon Tatham and
6 # Julian Hall. All rights reserved. The software is
7 # redistributable under the licence given in the file "Licence"
8 # distributed in the NASM archive.
10 top_srcdir = @top_srcdir@
11 srcdir = @srcdir@
12 VPATH = @srcdir@
13 prefix = @prefix@
14 exec_prefix = @exec_prefix@
15 bindir = @bindir@
16 mandir = @mandir@
18 CC = @CC@
19 CFLAGS = @CFLAGS@ @GCCFLAGS@ -I$(top_srcdir)
21 INSTALL = @INSTALL@
22 INSTALL_PROGRAM = @INSTALL_PROGRAM@
23 INSTALL_DATA = @INSTALL_DATA@
24 LN_S = @LN_S@
26 LDRDFLIBS = rdoff.o nasmlib.o symtab.o collectn.o rdlib.o
27 RDXLIBS = rdoff.o rdfload.o symtab.o collectn.o
29 .c.o:
30 $(CC) -c $(CFLAGS) $<
32 all: rdfdump ldrdf rdx rdflib rdf2bin rdf2com
34 rdfdump: rdfdump.o
35 $(CC) -o rdfdump rdfdump.o
37 ldrdf: ldrdf.o $(LDRDFLIBS)
38 $(CC) -o ldrdf ldrdf.o $(LDRDFLIBS)
39 rdx: rdx.o $(RDXLIBS)
40 $(CC) -o rdx rdx.o $(RDXLIBS)
41 rdflib: rdflib.o
42 $(CC) -o rdflib rdflib.o
43 rdf2bin: rdf2bin.o $(RDXLIBS) nasmlib.o
44 $(CC) -o rdf2bin rdf2bin.o $(RDXLIBS) nasmlib.o
45 rdf2com:
46 $(LN_S) rdf2bin rdf2com
48 rdf2bin.o: rdf2bin.c
49 rdfdump.o: rdfdump.c
50 rdoff.o: rdoff.c rdoff.h
51 ldrdf.o: ldrdf.c rdoff.h $(top_srcdir)/nasmlib.h symtab.h collectn.h rdlib.h
52 symtab.o: symtab.c symtab.h
53 collectn.o: collectn.c collectn.h
54 rdx.o: rdx.c rdoff.h rdfload.h symtab.h
55 rdfload.o: rdfload.c rdfload.h rdoff.h collectn.h symtab.h
56 rdlib.o: rdlib.c rdlib.h
57 rdflib.o: rdflib.c
59 nasmlib.o: $(top_srcdir)/nasmlib.c
60 $(CC) -c $(CFLAGS) $(top_srcdir)/nasmlib.c
62 clean:
63 rm -f *.o rdfdump ldrdf rdx rdflib rdf2bin rdf2com
65 distclean: clean
66 rm -f Makefile *~ *.bak
68 cleaner: clean
70 spotless: distclean
72 install: rdfdump ldrdf rdx rdflib rdf2bin rdf2com
73 $(INSTALL_PROGRAM) rdfdump $(bindir)/rdfdump
74 $(INSTALL_PROGRAM) ldrdf $(bindir)/ldrdf
75 $(INSTALL_PROGRAM) rdx $(bindir)/rdx
76 $(INSTALL_PROGRAM) rdflib $(bindir)/rdflib
77 $(INSTALL_PROGRAM) rdf2bin $(bindir)/rdf2bin
78 cd $(bindir); $(LN_S) rdf2bin rdf2com