* Continuing sky R5900 / COP2 work. Added extra sanitize tags to hide
[deliverable/binutils-gdb.git] / gdb / rdi-share / Makefile.in
CommitLineData
3a9c3d12
NC
1prefix = /usr/local
2
3program_transform_name =
4exec_prefix = $(prefix)
5bindir = $(exec_prefix)/bin
6libdir = $(exec_prefix)/lib
7tooldir = $(libdir)/$(target_alias)
8
9datadir = $(prefix)/share
10mandir = $(prefix)/man
11man1dir = $(mandir)/man1
12man2dir = $(mandir)/man2
13man3dir = $(mandir)/man3
14man4dir = $(mandir)/man4
15man5dir = $(mandir)/man5
16man6dir = $(mandir)/man6
17man7dir = $(mandir)/man7
18man8dir = $(mandir)/man8
19man9dir = $(mandir)/man9
20infodir = $(prefix)/info
21includedir = $(prefix)/include
22
23ARM_RELEASE='"Berkeley Licence for Cygnus"'
24
25SHELL = /bin/sh
26
27INSTALL = `cd $(srcdir)/../..;pwd`/install.sh -c
28INSTALL_PROGRAM = $(INSTALL)
29INSTALL_DATA = $(INSTALL)
30INSTALL_XFORM = $(INSTALL) -t='$(program_transform_name)'
31INSTALL_XFORM1 = $(INSTALL_XFORM) -b=.1
32
33AR = ar
34AR_FLAGS = qv
35RANLIB = ranlib
36
37LD = ld
38
39# If you are compiling with GCC, make sure that either 1) You use the
40# -traditional flag, or 2) You have the fixed include files where GCC
41# can reach them. Otherwise the ioctl calls in inflow.c
42# will be incorrectly compiled. The "fixincludes" script in the gcc
43# distribution will fix your include files up.
44#CC=cc
45#CC=gcc -traditional
46GCC=gcc
47
48# Directory containing source files. Don't clean up the spacing,
49# this exact string is matched for by the "configure" script.
50srcdir = .
51
52# It is also possible that you will need to add -I/usr/include/sys to the
53# CFLAGS section if your system doesn't have fcntl.h in /usr/include (which
54# is where it should be according to Posix).
55
56# Set this up with gcc if you have gnu ld and the loader will print out
57# line numbers for undefinded refs.
58#CC-LD=gcc -static
59CC-LD=${CC}
60
61# All the includes used for CFLAGS and for lint.
62# -I. for config files.
63# -I${srcdir} possibly for regex.h also.
64# -I${srcdir}/config for more generic config files.
65INCLUDE_CFLAGS = -I. -I${srcdir}
66
67# M{H,T}_CFLAGS, if defined, has host- and target-dependent CFLAGS
68# from the config/ directory.
69GLOBAL_CFLAGS = ${MT_CFLAGS} ${MH_CFLAGS} -DRETRANS -DARM_RELEASE=$(ARM_RELEASE)
70#PROFILE_CFLAGS = -pg
71
72# CFLAGS is specifically reserved for setting from the command line
73# when running make. I.E. "make CFLAGS=-Wmissing-prototypes".
74CFLAGS = -g
75
76# INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
77INTERNAL_CFLAGS = ${CFLAGS} ${GLOBAL_CFLAGS} ${PROFILE_CFLAGS} \
78 ${BFD_CFLAGS} ${MMALLOC_CFLAGS} ${INCLUDE_CFLAGS}
79
80# LDFLAGS is specifically reserved for setting from the command line
81# when running make.
82
83# Host and target-dependent makefile fragments come in here.
84####
85# End of host and target-dependent makefile fragments
86
87# All source files that go into linking GDB remote server.
88
89SFILES = $(srcdir)/
90
91DEPFILES =
92
93SOURCES = $(SFILES) $(ALLDEPFILES)
94TAGFILES = $(SOURCES) ${HFILES} ${ALLPARAM} ${POSSLIBS}
95
96OBS = hostchan.o drivers.o devsw.o rx.o tx.o params.o hsys.o crc.o \
97logging.o msgbuild.o ardi.o serdrv.o serpardr.o etherdrv.o bytesex.o \
98unixcomm.o
99
100# Prevent Sun make from putting in the machine type. Setting
101# TARGET_ARCH to nothing works for SunOS 3, 4.0, but not for 4.1.
102.c.o:
103 ${CC} -c ${INTERNAL_CFLAGS} $<
104
105all: libangsd.a
106
107libangsd.a: $(OBS)
108 rm -f libangsd.a
109 $(AR) $(AR_FLAGS) libangsd.a $(OBS)
110 $(RANLIB) libangsd.a
111
112# Traditionally "install" depends on "all". But it may be useful
113# not to; for example, if the user has made some trivial change to a
114# source file and doesn't care about rebuilding or just wants to save the
115# time it takes for make to check that all is up to date.
116# install-only is intended to address that need.
117install: all install-only
118install-only:
119
120uninstall:
121
122installcheck:
123check:
124info dvi:
125install-info:
126clean-info:
127
128config.status:
129 @echo "You must configure rdi-share. Look at the README file for details."
130 @false
131
132clean:
133 rm -f *.o ${ADD_FILES} *~
134 rm -f gdbserver core make.log
135
136distclean: clean
137 rm -f config.status
138 rm -f Makefile
139
140maintainer-clean realclean: clean
141 rm -f config.status
142 rm -f Makefile
143
144Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
145 $(SHELL) ./config.status
146
147force:
148
149# GNU Make has an annoying habit of putting *all* the Makefile variables
150# into the environment, unless you include this target as a circumvention.
151# Rumor is that this will be fixed (and this target can be removed)
152# in GNU Make 4.0.
153.NOEXPORT:
154
155# GNU Make 3.63 has a different problem: it keeps tacking command line
156# overrides onto the definition of $(MAKE). This variable setting
157# will remove them.
158MAKEOVERRIDES=
159
160## This is ugly, but I don't want GNU make to put these variables in
161## the environment. Older makes will see this as a set of targets
162## with no dependencies and no actions.
163unexport CHILLFLAGS CHILL_LIB CHILL_FOR_TARGET :
164
165# This is the end of "Makefile.in".
This page took 0.039933 seconds and 4 git commands to generate.