3 program_transform_name
=
4 exec_prefix = $(prefix)
5 bindir = $(exec_prefix)/bin
6 libdir = $(exec_prefix)/lib
7 tooldir
= $(libdir)/$(target_alias
)
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
23 ARM_RELEASE
='"Berkeley Licence for Cygnus"'
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
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.
48 # Directory containing source files. Don't clean up the spacing,
49 # this exact string is matched for by the "configure" script.
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).
56 # Set this up with gcc if you have gnu ld and the loader will print out
57 # line numbers for undefinded refs.
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}
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
)
72 # CFLAGS is specifically reserved for setting from the command line
73 # when running make. I.E. "make CFLAGS=-Wmissing-prototypes".
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}
80 # LDFLAGS is specifically reserved for setting from the command line
83 # Host and target-dependent makefile fragments come in here.
85 # End of host and target-dependent makefile fragments
87 # All source files that go into linking GDB remote server.
93 SOURCES
= $(SFILES
) $(ALLDEPFILES
)
94 TAGFILES
= $(SOURCES
) ${HFILES} ${ALLPARAM} ${POSSLIBS}
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 \
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.
103 ${CC} -c
${INTERNAL_CFLAGS} $<
109 $(AR
) $(AR_FLAGS
) libangsd.a
$(OBS
)
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
129 @echo
"You must configure rdi-share. Look at the README file for details."
133 rm -f
*.o
${ADD_FILES} *~
134 rm -f gdbserver core make.log
140 maintainer-clean
realclean: clean
144 Makefile
: $(srcdir)/Makefile.in
$(host_makefile_frag
) $(target_makefile_frag
)
145 $(SHELL
) .
/config.status
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)
155 # GNU Make 3.63 has a different problem: it keeps tacking command line
156 # overrides onto the definition of $(MAKE). This variable setting
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
:
165 # This is the end of "Makefile.in".