* configure.in: add we32k
[deliverable/binutils-gdb.git] / binutils / makefile.dos
1 # Makefile for GNU binary-file utilities
2 # Copyright (C) 1989-1991 Free Software Foundation, Inc.
3
4 # This file is part of GNU binutils.
5
6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2 of the License, or
9 # (at your option) any later version.
10 #
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19
20 #$Id$
21
22 srcdir = .
23
24 ddestdir = /usr/local
25 idestdir = $(ddestdir)
26
27 SHELL = /bin/sh
28 MAKEINFO=makeinfo
29 TEXI2ROFF=texi2roff
30
31 # Distribution version
32 VERSION=1.92
33 # Distribution name
34 DIST_NAME=binutils-beta-${VERSION}
35
36 #version=`$(unsubdir)/../gcc$(subdir)/gcc -dumpversion`
37 prefix = $(ddestdir)
38 bindir = $(prefix)/bin
39 mandir = $(idestdir)/man
40
41 # Where to find texinfo.tex to format docn with TeX
42 TEXIDIR = $(srcdir)/../texinfo/fsf
43
44 MANPAGES= ar.1 nm.1 objdump.1 ranlib.1 size.1 strip.1
45
46 #INSTALL = install -c
47 #INSTALL_PROGRAM = $(INSTALL)
48 #INSTALL_FILE = $(INSTALL)
49
50 #CC=gcc -Wall
51 # these two are almost the same program
52 AR_PROG=ar
53 RANLIB_PROG=ranlib
54
55 # copy and strip should be the same program
56 COPY_PROG=copy
57 STRIP_PROG=strip
58
59 # These should all be the same program too.
60 SIZE_PROG=size
61 NM_PROG=nm
62 OBJDUMP_PROG=objdump
63
64 PROGS = $(SIZE_PROG) $(COPY_PROG) $(OBJDUMP_PROG) $(NM_PROG) $(AR_PROG) $(STRIP_PROG) $(RANLIB_PROG)
65 STAGESTUFF = $(PROGS) *.o
66
67 BASEDIR = $(srcdir)/..
68 LIBDIR = ../bfd
69
70 MINUS_G =
71 #### host and target dependant Makefile fragments come in here.
72 HDEFINES=-O -D__MSDOS__ -D__GO32__
73 TDEFINES=
74 MALLOC=
75 ###
76
77 INCDIR = $(BASEDIR)/include
78
79 CFLAGS = $(MINUS_G) -I. -I$(srcdir) -I$(INCDIR) $(HDEFINES) $(TDEFINES)
80
81 # When adding .o files, to make VPATH work in Sun Make, you have to
82 # also add a foo.o: foo.c line at the bottom of the file.
83 DISASMS = m68k-pinsn.o i960-pinsn.o sparc-pinsn.o am29k-pinsn.o
84
85 #\f
86 ## Random definitions
87 # Hopefully all these may be flushed once we get configuration down pat.
88
89 # alloca only needed for systems which don't have it and when cc != gcc.
90 # ALLOCA = alloca.o
91
92 # nm tries to malloc enough space for the string table. The old GNU malloc
93 # rounds this up to a power of two (e.g. 5M becomes 8M), and so it might
94 # fail unnecessarily. I've also seen some Unix malloc's fail, even when
95 # there is enough memory. So use the new GNU malloc.
96 # MALLOC = gmalloc.o
97
98 # Use the GNU getopt unless you have problems with it.
99 # The IRIS version could probably benefit from being assembled with
100 # libmalloc rather than the ordinary malloc.
101 LIBIBERTY = ../libiberty/libiberty.a
102
103 # Code shared by all the binutils.
104 BULIBS = bucomm.o version.o filemode.o
105
106 ADDL_LIBS = $(MALLOC) $(BULIBS) $(BFD) $(LIBIBERTY)
107
108 BFD = $(LIBDIR)/libbfd.a
109 #\f
110 ## The rules
111
This page took 0.035242 seconds and 4 git commands to generate.