Applied patches from Tony.Thompson@arm.com to implement the Angel remote
[deliverable/binutils-gdb.git] / gdb / rdi-share / Makefile.in
1 prefix = /usr/local
2
3 program_transform_name =
4 exec_prefix = $(prefix)
5 bindir = $(exec_prefix)/bin
6 libdir = $(exec_prefix)/lib
7 tooldir = $(libdir)/$(target_alias)
8
9 datadir = $(prefix)/share
10 mandir = $(prefix)/man
11 man1dir = $(mandir)/man1
12 man2dir = $(mandir)/man2
13 man3dir = $(mandir)/man3
14 man4dir = $(mandir)/man4
15 man5dir = $(mandir)/man5
16 man6dir = $(mandir)/man6
17 man7dir = $(mandir)/man7
18 man8dir = $(mandir)/man8
19 man9dir = $(mandir)/man9
20 infodir = $(prefix)/info
21 includedir = $(prefix)/include
22
23 ARM_RELEASE='"Berkeley Licence for Cygnus"'
24
25 SHELL = /bin/sh
26
27 INSTALL = `cd $(srcdir)/../..;pwd`/install.sh -c
28 INSTALL_PROGRAM = $(INSTALL)
29 INSTALL_DATA = $(INSTALL)
30 INSTALL_XFORM = $(INSTALL) -t='$(program_transform_name)'
31 INSTALL_XFORM1 = $(INSTALL_XFORM) -b=.1
32
33 AR = ar
34 AR_FLAGS = qv
35 RANLIB = ranlib
36
37 LD = 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
46 GCC=gcc
47
48 # Directory containing source files. Don't clean up the spacing,
49 # this exact string is matched for by the "configure" script.
50 srcdir = .
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
59 CC-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.
65 INCLUDE_CFLAGS = -I. -I${srcdir}
66
67 # M{H,T}_CFLAGS, if defined, has host- and target-dependent CFLAGS
68 # from the config/ directory.
69 GLOBAL_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".
74 CFLAGS = -g
75
76 # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
77 INTERNAL_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
89 SFILES = $(srcdir)/
90
91 DEPFILES =
92
93 SOURCES = $(SFILES) $(ALLDEPFILES)
94 TAGFILES = $(SOURCES) ${HFILES} ${ALLPARAM} ${POSSLIBS}
95
96 OBS = hostchan.o drivers.o devsw.o rx.o tx.o params.o hsys.o crc.o \
97 logging.o msgbuild.o ardi.o serdrv.o serpardr.o etherdrv.o bytesex.o \
98 unixcomm.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
105 all: libangsd.a
106
107 libangsd.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.
117 install: all install-only
118 install-only:
119
120 uninstall:
121
122 installcheck:
123 check:
124 info dvi:
125 install-info:
126 clean-info:
127
128 config.status:
129 @echo "You must configure rdi-share. Look at the README file for details."
130 @false
131
132 clean:
133 rm -f *.o ${ADD_FILES} *~
134 rm -f gdbserver core make.log
135
136 distclean: clean
137 rm -f config.status
138 rm -f Makefile
139
140 maintainer-clean realclean: clean
141 rm -f config.status
142 rm -f Makefile
143
144 Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
145 $(SHELL) ./config.status
146
147 force:
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.
158 MAKEOVERRIDES=
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.
163 unexport CHILLFLAGS CHILL_LIB CHILL_FOR_TARGET :
164
165 # This is the end of "Makefile.in".
This page took 0.033433 seconds and 5 git commands to generate.