Fix double free in %depend
[nasm/avx512.git] / rdoff / Mkfiles / Makefile.emx
blobaa535886e839354fd05d97f7381cafa9290130b6
1 # Generated automatically from Makefile.in by configure.
2 # $Id$
4 # Auto-configuring Makefile for RDOFF object file utils; part of the
5 # Netwide Assembler
7 # The Netwide Assembler is copyright (C) 1996 Simon Tatham and
8 # Julian Hall. All rights reserved. The software is
9 # redistributable under the license given in the file "LICENSE"
10 # distributed in the NASM archive.
12 top_srcdir      = ..
13 srcdir          = .
14 prefix          = /usr/local
15 exec_prefix     = ${prefix}
16 bindir          = ${exec_prefix}/bin
17 mandir          = ${prefix}/man
19 CC              = gcc
20 CFLAGS          = -s -Zomf -O2 -fomit-frame-pointer -Wall -ansi -pedantic -I$(srcdir) -I$(top_srcdir)
21 LDFLAGS         = -s -Zomf -Zexe -Zcrtdll
22 LIBS            = -lgcc
24 INSTALL         = .././install-sh -c
25 INSTALL_PROGRAM = ${INSTALL}
26 INSTALL_DATA    = ${INSTALL} -m 644
28 LDRDFLIBS       = rdoff.o nasmlib.o symtab.o collectn.o rdlib.o segtab.o hash.o
29 RDXLIBS         = rdoff.o rdfload.o symtab.o collectn.o hash.o
31 .c.o:
32         $(CC) -c $(CFLAGS) -o $@ $<
34 all: rdfdump ldrdf rdx rdflib rdf2bin
36 rdfdump: rdfdump.o rdoff.o
37         $(CC) $(LDFLAGS) -o rdfdump rdfdump.o rdoff.o $(LIBS)
38 ldrdf: ldrdf.o $(LDRDFLIBS)
39         $(CC) $(LDFLAGS) -o ldrdf ldrdf.o $(LDRDFLIBS) $(LIBS)
40 rdx: rdx.o $(RDXLIBS)
41         $(CC) $(LDFLAGS) -o rdx rdx.o $(RDXLIBS) $(LIBS)
42 rdflib: rdflib.o
43         $(CC) $(LDFLAGS) -o rdflib rdflib.o $(LIBS)
44 rdf2bin: rdf2bin.o $(RDXLIBS) nasmlib.o
45         $(CC) $(LDFLAGS) -o rdf2bin rdf2bin.o $(RDXLIBS) nasmlib.o $(LIBS)
47 rdf2bin.o: rdf2bin.c
48 rdfdump.o: rdfdump.c
49 rdoff.o: rdoff.c rdoff.h
50 ldrdf.o: ldrdf.c rdoff.h $(top_srcdir)/nasmlib.h symtab.h collectn.h rdlib.h
51 symtab.o: symtab.c symtab.h
52 collectn.o: collectn.c collectn.h
53 rdx.o: rdx.c rdoff.h rdfload.h symtab.h
54 rdfload.o: rdfload.c rdfload.h rdoff.h collectn.h symtab.h
55 rdlib.o: rdlib.c rdlib.h
56 rdflib.o: rdflib.c
57 segtab.o: segtab.c
59 nasmlib.o: $(top_srcdir)/nasmlib.c
60         $(CC) -c $(CFLAGS) -o $@ $(top_srcdir)/nasmlib.c
62 clean:
63         rm -f *.o rdfdump ldrdf rdx rdflib rdf2bin rdf2com
65 spotless: clean
66         rm -f Makefile
68 distclean: spotless
70 install: rdfdump ldrdf rdx rdflib rdf2bin rdf2com
71         $(INSTALL_PROGRAM) rdfdump $(INSTALLROOT)$(bindir)/rdfdump
72         $(INSTALL_PROGRAM) ldrdf $(INSTALLROOT)$(bindir)/ldrdf
73         $(INSTALL_PROGRAM) rdx $(INSTALLROOT)$(bindir)/rdx
74         $(INSTALL_PROGRAM) rdflib $(INSTALLROOT)$(bindir)/rdflib
75         $(INSTALL_PROGRAM) rdf2bin $(INSTALLROOT)$(bindir)/rdf2bin
76         cd $(INSTALLROOT)$(bindir) && rm -f rdf2com && $(LN_S) rdf2bin rdf2com