1 |
1026 |
ivang |
# Makefile.in generated by automake 1.6.2 from Makefile.am.
|
2 |
|
|
# @configure_input@
|
3 |
|
|
|
4 |
|
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
|
5 |
|
|
# Free Software Foundation, Inc.
|
6 |
|
|
# This Makefile.in is free software; the Free Software Foundation
|
7 |
|
|
# gives unlimited permission to copy and/or distribute it,
|
8 |
|
|
# with or without modifications, as long as this notice is preserved.
|
9 |
|
|
|
10 |
|
|
# This program is distributed in the hope that it will be useful,
|
11 |
|
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
12 |
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
13 |
|
|
# PARTICULAR PURPOSE.
|
14 |
|
|
|
15 |
|
|
@SET_MAKE@
|
16 |
|
|
SHELL = @SHELL@
|
17 |
|
|
|
18 |
|
|
srcdir = @srcdir@
|
19 |
|
|
top_srcdir = @top_srcdir@
|
20 |
|
|
VPATH = @srcdir@
|
21 |
|
|
prefix = @prefix@
|
22 |
|
|
exec_prefix = @exec_prefix@
|
23 |
|
|
|
24 |
|
|
bindir = @bindir@
|
25 |
|
|
sbindir = @sbindir@
|
26 |
|
|
libexecdir = @libexecdir@
|
27 |
|
|
datadir = @datadir@
|
28 |
|
|
sysconfdir = @sysconfdir@
|
29 |
|
|
sharedstatedir = @sharedstatedir@
|
30 |
|
|
localstatedir = @localstatedir@
|
31 |
|
|
libdir = @libdir@
|
32 |
|
|
infodir = @infodir@
|
33 |
|
|
mandir = @mandir@
|
34 |
|
|
includedir = @includedir@
|
35 |
|
|
oldincludedir = /usr/include
|
36 |
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
37 |
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
38 |
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
39 |
|
|
top_builddir = ..
|
40 |
|
|
|
41 |
|
|
ACLOCAL = @ACLOCAL@
|
42 |
|
|
AUTOCONF = @AUTOCONF@
|
43 |
|
|
AUTOMAKE = @AUTOMAKE@
|
44 |
|
|
AUTOHEADER = @AUTOHEADER@
|
45 |
|
|
|
46 |
|
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
47 |
|
|
INSTALL = @INSTALL@
|
48 |
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
49 |
|
|
INSTALL_DATA = @INSTALL_DATA@
|
50 |
|
|
install_sh_DATA = $(install_sh) -c -m 644
|
51 |
|
|
install_sh_PROGRAM = $(install_sh) -c
|
52 |
|
|
install_sh_SCRIPT = $(install_sh) -c
|
53 |
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
54 |
|
|
INSTALL_HEADER = $(INSTALL_DATA)
|
55 |
|
|
transform = @program_transform_name@
|
56 |
|
|
NORMAL_INSTALL = :
|
57 |
|
|
PRE_INSTALL = :
|
58 |
|
|
POST_INSTALL = :
|
59 |
|
|
NORMAL_UNINSTALL = :
|
60 |
|
|
PRE_UNINSTALL = :
|
61 |
|
|
POST_UNINSTALL = :
|
62 |
|
|
host_alias = @host_alias@
|
63 |
|
|
host_triplet = @host@
|
64 |
|
|
|
65 |
|
|
EXEEXT = @EXEEXT@
|
66 |
|
|
OBJEXT = @OBJEXT@
|
67 |
|
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
68 |
|
|
AMTAR = @AMTAR@
|
69 |
|
|
AWK = @AWK@
|
70 |
|
|
BARE_CPU_CFLAGS = @BARE_CPU_CFLAGS@
|
71 |
|
|
BARE_CPU_MODEL = @BARE_CPU_MODEL@
|
72 |
|
|
|
73 |
|
|
CC = @CC@ $(GCCSPECS)
|
74 |
|
|
CPP = @CPP@ $(GCCSPECS)
|
75 |
|
|
DEPDIR = @DEPDIR@
|
76 |
|
|
ENDIF = @ENDIF@
|
77 |
|
|
GCCSED = @GCCSED@
|
78 |
|
|
GCC_SPECS = @GCC_SPECS@
|
79 |
|
|
HAS_NETWORKING = @HAS_NETWORKING@
|
80 |
|
|
HAS_POSIX_API = @HAS_POSIX_API@
|
81 |
|
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
82 |
|
|
MAINT = @MAINT@
|
83 |
|
|
MAKE = @MAKE@
|
84 |
|
|
PACKAGE = @PACKAGE@
|
85 |
|
|
PACKHEX = @PACKHEX@
|
86 |
|
|
PROJECT_INCLUDE = @PROJECT_INCLUDE@
|
87 |
|
|
PROJECT_RELEASE = @PROJECT_RELEASE@
|
88 |
|
|
PROJECT_ROOT = @PROJECT_ROOT@
|
89 |
|
|
PROJECT_TOPdir = @PROJECT_TOPdir@
|
90 |
|
|
RTEMS_BSP = @RTEMS_BSP@
|
91 |
|
|
RTEMS_BSP_SPECS = @RTEMS_BSP_SPECS@
|
92 |
|
|
RTEMS_CPU = @RTEMS_CPU@
|
93 |
|
|
RTEMS_HAS_NETWORKING = @RTEMS_HAS_NETWORKING@
|
94 |
|
|
RTEMS_HAS_POSIX_API = @RTEMS_HAS_POSIX_API@
|
95 |
|
|
RTEMS_HOST = @RTEMS_HOST@
|
96 |
|
|
RTEMS_ROOT = @RTEMS_ROOT@
|
97 |
|
|
RTEMS_TOPdir = @RTEMS_TOPdir@
|
98 |
|
|
STRIP = @STRIP@
|
99 |
|
|
VERSION = @VERSION@
|
100 |
|
|
am__include = @am__include@
|
101 |
|
|
am__quote = @am__quote@
|
102 |
|
|
bsplibdir = @bsplibdir@
|
103 |
|
|
install_sh = @install_sh@
|
104 |
|
|
|
105 |
|
|
include_rtemsdir = $(includedir)/rtems
|
106 |
|
|
|
107 |
|
|
LIBNAME = lib.a
|
108 |
|
|
LIB = $(ARCH)/$(LIBNAME)
|
109 |
|
|
|
110 |
|
|
C_FILES = ftpd.c
|
111 |
|
|
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
|
112 |
|
|
|
113 |
|
|
OBJS = $(C_O_FILES)
|
114 |
|
|
|
115 |
|
|
@RTEMS_USE_GCC_TRUE@CFLAGS_DEFAULT = -g -Wall
|
116 |
|
|
@RTEMS_USE_GCC_TRUE@GCCSPECS = $(GCC_SPECS) $(RTEMS_BSP_SPECS)
|
117 |
|
|
|
118 |
|
|
DEFS = @DEFS@
|
119 |
|
|
|
120 |
|
|
CPPFLAGS = @CPPFLAGS@ $(CPU_DEFINES) \
|
121 |
|
|
$(DEFINES) $(XCPPFLAGS) $(CPPFLAGS_GCC)
|
122 |
|
|
|
123 |
|
|
CFLAGS = $(CFLAGS_DEFAULT) $(CPU_CFLAGS) $(XCFLAGS)
|
124 |
|
|
CXXFLAGS = $(CFLAGS_DEFAULT) $(CPU_CFLAGS) $(XCXXFLAGS)
|
125 |
|
|
ASFLAGS = $(CPU_ASFLAGS) $(CPU_CFLAGS) $(XASFLAGS)
|
126 |
|
|
|
127 |
|
|
LINK_LIBS = $(LD_LIBS)
|
128 |
|
|
|
129 |
|
|
# when debugging, optimize flag: typically empty
|
130 |
|
|
# some compilers do allow optimization with their "-g"
|
131 |
|
|
CFLAGS_DEBUG_OPTIMIZE_V = -g
|
132 |
|
|
CXXFLAGS_DEBUG_OPTIMIZE_V = -g
|
133 |
|
|
LDFLAGS_DEBUG_V =
|
134 |
|
|
|
135 |
|
|
# profile flag; use gprof(1)
|
136 |
|
|
CFLAGS_PROFILE_V = -pg
|
137 |
|
|
CXXFLAGS_PROFILE_V = -pg
|
138 |
|
|
LDFLAGS_PROFILE_V =
|
139 |
|
|
|
140 |
|
|
# List of library paths without -L
|
141 |
|
|
LD_PATHS = $(PROJECT_RELEASE)/lib
|
142 |
|
|
|
143 |
|
|
# ld flag for incomplete link
|
144 |
|
|
LDFLAGS_INCOMPLETE = -r
|
145 |
|
|
|
146 |
|
|
# ld flags for profiling, debugging
|
147 |
|
|
LDFLAGS = $(LDFLAGS_PROFILE) $(LDFLAGS_DEBUG) $(LD_PATHS:%=-L %)
|
148 |
|
|
|
149 |
|
|
|
150 |
|
|
#
|
151 |
|
|
# Client compiler and support tools
|
152 |
|
|
#
|
153 |
|
|
|
154 |
|
|
#
|
155 |
|
|
# How to compile stuff into ${ARCH} subdirectory
|
156 |
|
|
#
|
157 |
|
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
158 |
|
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
159 |
|
|
|
160 |
|
|
CCLD = $(CC)
|
161 |
|
|
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
162 |
|
|
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
163 |
|
|
|
164 |
|
|
|
165 |
|
|
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
166 |
|
|
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
|
167 |
|
|
|
168 |
|
|
CXXLD = $(CXX)
|
169 |
|
|
CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
|
170 |
|
|
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
171 |
|
|
|
172 |
|
|
|
173 |
|
|
AS = $(CC)
|
174 |
|
|
ASCOMPILE = $(AS) $(AM_ASFLAGS) $(ASFLAGS)
|
175 |
|
|
|
176 |
|
|
|
177 |
|
|
# Dependency files for use by gmake
|
178 |
|
|
# NOTE: we don't put them into $(ARCH)
|
179 |
|
|
# so that 'make clean' doesn't blow it away
|
180 |
|
|
DEPEND = Depends-${ARCH}
|
181 |
|
|
|
182 |
|
|
CLEAN_DEPEND = $(DEPEND).tmp
|
183 |
|
|
CLOBBER_DEPEND = $(DEPEND)
|
184 |
|
|
|
185 |
|
|
|
186 |
|
|
# spell out all the LINK_FILE's, rather than using -lbsp, so
|
187 |
|
|
# that $(LINK_FILES) can be a dependency
|
188 |
|
|
LINK_OBJS = \
|
189 |
|
|
$(OBJS) \
|
190 |
|
|
$(MANAGERS_NOT_WANTED:%=$(PROJECT_RELEASE)/lib/no-%$(LIB_VARIANT).rel)
|
191 |
|
|
|
192 |
|
|
|
193 |
|
|
LINK_FILES = \
|
194 |
|
|
$(START_FILE) \
|
195 |
|
|
$(OBJS) \
|
196 |
|
|
$(MANAGERS_NOT_WANTED:%=$(PROJECT_RELEASE)/lib/no-%$(LIB_VARIANT).rel)
|
197 |
|
|
|
198 |
|
|
|
199 |
|
|
VARIANT = OPTIMIZE
|
200 |
|
|
|
201 |
|
|
VARIANT_OPTIMIZE_V = OPTIMIZE
|
202 |
|
|
VARIANT_DEBUG_V = DEBUG
|
203 |
|
|
VARIANT_PROFILE_V = PROFILE
|
204 |
|
|
VARIANT_optimize_V = OPTIMIZE
|
205 |
|
|
VARIANT_debug_V = DEBUG
|
206 |
|
|
VARIANT_profile_V = PROFILE
|
207 |
|
|
|
208 |
|
|
VARIANT_V = $(VARIANT_$(VARIANT)_V)
|
209 |
|
|
|
210 |
|
|
ARCH_OPTIMIZE_V = o-optimize
|
211 |
|
|
ARCH_DEBUG_V = o-debug
|
212 |
|
|
ARCH_PROFILE_V = o-profile
|
213 |
|
|
|
214 |
|
|
ARCH__V = $(ARCH_OPTIMIZE_V)
|
215 |
|
|
ARCH = $(ARCH_$(VARIANT_V)_V)
|
216 |
|
|
|
217 |
|
|
LIBSUFFIX_OPTIMIZE_V =
|
218 |
|
|
LIBSUFFIX_DEBUG_V = _g
|
219 |
|
|
LIBSUFFIX_PROFILE_V = _p
|
220 |
|
|
LIBSUFFIX__V = $(LIBSUFFIX_OPTIMIZE_V)
|
221 |
|
|
|
222 |
|
|
LIB_VARIANT = $(LIBSUFFIX_$(VARIANT_V)_V)
|
223 |
|
|
LIBSUFFIX_VA = $(LIB_VARIANT).a
|
224 |
|
|
|
225 |
|
|
CFLAGS__V = $(CFLAGS_OPTIMIZE_V)
|
226 |
|
|
|
227 |
|
|
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_OPTIMIZE_V =
|
228 |
|
|
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_DEBUG_V = -qrtems_debug -Wno-unused
|
229 |
|
|
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_PROFILE_V =
|
230 |
|
|
|
231 |
|
|
RTEMS_CFLAGS__V = $(RTEMS_CFLAGS_OPTIMIZE_V)
|
232 |
|
|
CXX = @CXX@ $(GCCSPECS)
|
233 |
|
|
|
234 |
|
|
LD = @LD@
|
235 |
|
|
OBJCOPY = @OBJCOPY@
|
236 |
|
|
NM = @NM@
|
237 |
|
|
SIZE = @SIZE@
|
238 |
|
|
|
239 |
|
|
AM_CPPFLAGS = $(RTEMS_CPPFLAGS)
|
240 |
|
|
|
241 |
|
|
AM_CFLAGS = $(RTEMS_CFLAGS_$(VARIANT_V)_V) $(CFLAGS_$(VARIANT_V)_V)
|
242 |
|
|
AM_CXXFLAGS = $(RTEMS_CFLAGS_$(VARIANT_V)_V) $(CFLAGS_$(VARIANT_V)_V)
|
243 |
|
|
|
244 |
|
|
AR = @AR@
|
245 |
|
|
RANLIB = @RANLIB@
|
246 |
|
|
|
247 |
|
|
ARFLAGS = ruv
|
248 |
|
|
|
249 |
|
|
TMPINSTALL_FILES = $(PROJECT_RELEASE)/lib
|
250 |
|
|
|
251 |
|
|
EXTRA_DIST = ftpd.c ftpd.h
|
252 |
|
|
|
253 |
|
|
include_HEADERS = ftpd.h
|
254 |
|
|
|
255 |
|
|
include_rtems_HEADERS =
|
256 |
|
|
|
257 |
|
|
PREINSTALL_FILES = $(PROJECT_INCLUDE) \
|
258 |
|
|
$(include_HEADERS:%=$(PROJECT_INCLUDE)/%) \
|
259 |
|
|
$(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%)
|
260 |
|
|
|
261 |
|
|
|
262 |
|
|
PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools
|
263 |
|
|
subdir = rtems_servers
|
264 |
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/../../../mkinstalldirs
|
265 |
|
|
CONFIG_CLEAN_FILES =
|
266 |
|
|
DIST_SOURCES =
|
267 |
|
|
HEADERS = $(include_HEADERS) $(include_rtems_HEADERS)
|
268 |
|
|
|
269 |
|
|
DIST_COMMON = $(include_HEADERS) $(include_rtems_HEADERS) Makefile.am \
|
270 |
|
|
Makefile.in
|
271 |
|
|
all: all-am
|
272 |
|
|
|
273 |
|
|
.SUFFIXES:
|
274 |
|
|
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/../../../automake/compile.am $(top_srcdir)/../../../automake/lib.am $(top_srcdir)/../../../automake/local.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
|
275 |
|
|
cd $(top_srcdir) && \
|
276 |
|
|
$(AUTOMAKE) --foreign rtems_servers/Makefile
|
277 |
|
|
Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
|
278 |
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
|
279 |
|
|
uninstall-info-am:
|
280 |
|
|
includeHEADERS_INSTALL = $(INSTALL_HEADER)
|
281 |
|
|
install-includeHEADERS: $(include_HEADERS)
|
282 |
|
|
@$(NORMAL_INSTALL)
|
283 |
|
|
$(mkinstalldirs) $(DESTDIR)$(includedir)
|
284 |
|
|
@list='$(include_HEADERS)'; for p in $$list; do \
|
285 |
|
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
286 |
|
|
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
287 |
|
|
echo " $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
|
288 |
|
|
$(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f; \
|
289 |
|
|
done
|
290 |
|
|
|
291 |
|
|
uninstall-includeHEADERS:
|
292 |
|
|
@$(NORMAL_UNINSTALL)
|
293 |
|
|
@list='$(include_HEADERS)'; for p in $$list; do \
|
294 |
|
|
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
295 |
|
|
echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
|
296 |
|
|
rm -f $(DESTDIR)$(includedir)/$$f; \
|
297 |
|
|
done
|
298 |
|
|
include_rtemsHEADERS_INSTALL = $(INSTALL_HEADER)
|
299 |
|
|
install-include_rtemsHEADERS: $(include_rtems_HEADERS)
|
300 |
|
|
@$(NORMAL_INSTALL)
|
301 |
|
|
$(mkinstalldirs) $(DESTDIR)$(include_rtemsdir)
|
302 |
|
|
@list='$(include_rtems_HEADERS)'; for p in $$list; do \
|
303 |
|
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
304 |
|
|
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
305 |
|
|
echo " $(include_rtemsHEADERS_INSTALL) $$d$$p $(DESTDIR)$(include_rtemsdir)/$$f"; \
|
306 |
|
|
$(include_rtemsHEADERS_INSTALL) $$d$$p $(DESTDIR)$(include_rtemsdir)/$$f; \
|
307 |
|
|
done
|
308 |
|
|
|
309 |
|
|
uninstall-include_rtemsHEADERS:
|
310 |
|
|
@$(NORMAL_UNINSTALL)
|
311 |
|
|
@list='$(include_rtems_HEADERS)'; for p in $$list; do \
|
312 |
|
|
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
313 |
|
|
echo " rm -f $(DESTDIR)$(include_rtemsdir)/$$f"; \
|
314 |
|
|
rm -f $(DESTDIR)$(include_rtemsdir)/$$f; \
|
315 |
|
|
done
|
316 |
|
|
|
317 |
|
|
ETAGS = etags
|
318 |
|
|
ETAGSFLAGS =
|
319 |
|
|
|
320 |
|
|
tags: TAGS
|
321 |
|
|
|
322 |
|
|
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
323 |
|
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
324 |
|
|
unique=`for i in $$list; do \
|
325 |
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
326 |
|
|
done | \
|
327 |
|
|
$(AWK) ' { files[$$0] = 1; } \
|
328 |
|
|
END { for (i in files) print i; }'`; \
|
329 |
|
|
mkid -fID $$unique
|
330 |
|
|
|
331 |
|
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
332 |
|
|
$(TAGS_FILES) $(LISP)
|
333 |
|
|
tags=; \
|
334 |
|
|
here=`pwd`; \
|
335 |
|
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
336 |
|
|
unique=`for i in $$list; do \
|
337 |
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
338 |
|
|
done | \
|
339 |
|
|
$(AWK) ' { files[$$0] = 1; } \
|
340 |
|
|
END { for (i in files) print i; }'`; \
|
341 |
|
|
test -z "$(ETAGS_ARGS)$$tags$$unique" \
|
342 |
|
|
|| $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
343 |
|
|
$$tags $$unique
|
344 |
|
|
|
345 |
|
|
GTAGS:
|
346 |
|
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
347 |
|
|
&& cd $(top_srcdir) \
|
348 |
|
|
&& gtags -i $(GTAGS_ARGS) $$here
|
349 |
|
|
|
350 |
|
|
distclean-tags:
|
351 |
|
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
352 |
|
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
353 |
|
|
|
354 |
|
|
top_distdir = ..
|
355 |
|
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
356 |
|
|
|
357 |
|
|
distdir: $(DISTFILES)
|
358 |
|
|
@list='$(DISTFILES)'; for file in $$list; do \
|
359 |
|
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
360 |
|
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
361 |
|
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
362 |
|
|
dir="/$$dir"; \
|
363 |
|
|
$(mkinstalldirs) "$(distdir)$$dir"; \
|
364 |
|
|
else \
|
365 |
|
|
dir=''; \
|
366 |
|
|
fi; \
|
367 |
|
|
if test -d $$d/$$file; then \
|
368 |
|
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
369 |
|
|
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
370 |
|
|
fi; \
|
371 |
|
|
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
372 |
|
|
else \
|
373 |
|
|
test -f $(distdir)/$$file \
|
374 |
|
|
|| cp -p $$d/$$file $(distdir)/$$file \
|
375 |
|
|
|| exit 1; \
|
376 |
|
|
fi; \
|
377 |
|
|
done
|
378 |
|
|
check-am: all-am
|
379 |
|
|
check: check-am
|
380 |
|
|
all-am: Makefile $(HEADERS) all-local
|
381 |
|
|
|
382 |
|
|
installdirs:
|
383 |
|
|
$(mkinstalldirs) $(DESTDIR)$(includedir) $(DESTDIR)$(include_rtemsdir)
|
384 |
|
|
|
385 |
|
|
install: install-am
|
386 |
|
|
install-exec: install-exec-am
|
387 |
|
|
install-data: install-data-am
|
388 |
|
|
uninstall: uninstall-am
|
389 |
|
|
|
390 |
|
|
install-am: all-am
|
391 |
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
392 |
|
|
|
393 |
|
|
installcheck: installcheck-am
|
394 |
|
|
install-strip:
|
395 |
|
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
396 |
|
|
INSTALL_STRIP_FLAG=-s \
|
397 |
|
|
`test -z '$(STRIP)' || \
|
398 |
|
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
399 |
|
|
mostlyclean-generic:
|
400 |
|
|
|
401 |
|
|
clean-generic:
|
402 |
|
|
|
403 |
|
|
distclean-generic:
|
404 |
|
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
405 |
|
|
|
406 |
|
|
maintainer-clean-generic:
|
407 |
|
|
@echo "This command is intended for maintainers to use"
|
408 |
|
|
@echo "it deletes files that may require special tools to rebuild."
|
409 |
|
|
clean: clean-am
|
410 |
|
|
|
411 |
|
|
clean-am: clean-generic clean-local mostlyclean-am
|
412 |
|
|
|
413 |
|
|
distclean: distclean-am
|
414 |
|
|
|
415 |
|
|
distclean-am: clean-am distclean-generic distclean-local distclean-tags
|
416 |
|
|
|
417 |
|
|
dvi: dvi-am
|
418 |
|
|
|
419 |
|
|
dvi-am:
|
420 |
|
|
|
421 |
|
|
info: info-am
|
422 |
|
|
|
423 |
|
|
info-am:
|
424 |
|
|
|
425 |
|
|
install-data-am: install-includeHEADERS install-include_rtemsHEADERS
|
426 |
|
|
|
427 |
|
|
install-exec-am:
|
428 |
|
|
|
429 |
|
|
install-info: install-info-am
|
430 |
|
|
|
431 |
|
|
install-man:
|
432 |
|
|
|
433 |
|
|
installcheck-am:
|
434 |
|
|
|
435 |
|
|
maintainer-clean: maintainer-clean-am
|
436 |
|
|
|
437 |
|
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
438 |
|
|
|
439 |
|
|
mostlyclean: mostlyclean-am
|
440 |
|
|
|
441 |
|
|
mostlyclean-am: mostlyclean-generic
|
442 |
|
|
|
443 |
|
|
uninstall-am: uninstall-includeHEADERS uninstall-include_rtemsHEADERS \
|
444 |
|
|
uninstall-info-am
|
445 |
|
|
|
446 |
|
|
.PHONY: GTAGS all all-am all-local check check-am clean clean-generic \
|
447 |
|
|
clean-local distclean distclean-generic distclean-local \
|
448 |
|
|
distclean-tags distdir dvi dvi-am info info-am install \
|
449 |
|
|
install-am install-data install-data-am install-exec \
|
450 |
|
|
install-exec-am install-includeHEADERS \
|
451 |
|
|
install-include_rtemsHEADERS install-info install-info-am \
|
452 |
|
|
install-man install-strip installcheck installcheck-am \
|
453 |
|
|
installdirs maintainer-clean maintainer-clean-generic \
|
454 |
|
|
mostlyclean mostlyclean-generic tags uninstall uninstall-am \
|
455 |
|
|
uninstall-includeHEADERS uninstall-include_rtemsHEADERS \
|
456 |
|
|
uninstall-info-am
|
457 |
|
|
|
458 |
|
|
|
459 |
|
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
460 |
|
|
@RTEMS_USE_GCC_FALSE@include $(CONFIG.CC)
|
461 |
|
|
|
462 |
|
|
${ARCH}/%.o: %.c
|
463 |
|
|
test -d $(ARCH) || mkdir $(ARCH)
|
464 |
|
|
${COMPILE} -o $@ -c $<
|
465 |
|
|
|
466 |
|
|
${ARCH}/%.o: %.cc
|
467 |
|
|
test -d $(ARCH) || mkdir $(ARCH)
|
468 |
|
|
${CXXCOMPILE} -o $@ -c $<
|
469 |
|
|
|
470 |
|
|
${ARCH}/%.o: %.cpp
|
471 |
|
|
test -d $(ARCH) || mkdir $(ARCH)
|
472 |
|
|
${CXXCOMPILE} -o $@ -c $<
|
473 |
|
|
|
474 |
|
|
${ARCH}/%.o: %.cxx
|
475 |
|
|
test -d $(ARCH) || mkdir $(ARCH)
|
476 |
|
|
${CXXCOMPILE} -o $@ -c $<
|
477 |
|
|
|
478 |
|
|
${ARCH}/%.o: %.C
|
479 |
|
|
test -d $(ARCH) || mkdir $(ARCH)
|
480 |
|
|
${CXXCOMPILE} -o $@ -c $<
|
481 |
|
|
|
482 |
|
|
${ARCH}/%.o: %.S
|
483 |
|
|
test -d $(ARCH) || mkdir $(ARCH)
|
484 |
|
|
${ASCOMPILE} -DASM -o $@ -c $<
|
485 |
|
|
|
486 |
|
|
# Make foo.rel from foo.o
|
487 |
|
|
${ARCH}/%.rel: ${ARCH}/%.o
|
488 |
|
|
test -d $(ARCH) || mkdir $(ARCH)
|
489 |
|
|
${make-rel}
|
490 |
|
|
|
491 |
|
|
# We deliberately don't have anything depend on the
|
492 |
|
|
# $(DEPEND) file; otherwise it will get rebuilt even
|
493 |
|
|
# on 'make clean'
|
494 |
|
|
#
|
495 |
|
|
|
496 |
|
|
depend-am: $(C_FILES) $(CC_FILES) $(S_FILES)
|
497 |
|
|
$(COMPILE) -M $^ | \
|
498 |
|
|
sed -e 's?^\(.*\)\.o[ ]*:?$$(ARCH)/\1.o:?' \
|
499 |
|
|
-e 's?$(ARCH)/?$$(ARCH)/?' >$(DEPEND).tmp
|
500 |
|
|
mv $(DEPEND).tmp $(DEPEND)
|
501 |
|
|
depend: depend-am
|
502 |
|
|
|
503 |
|
|
# pull in dependencies if they exist
|
504 |
|
|
ifeq (${DEPEND},$(wildcard ${DEPEND}))
|
505 |
|
|
include ${DEPEND}
|
506 |
|
|
@ENDIF@
|
507 |
|
|
|
508 |
|
|
@RTEMS_USE_GCC_TRUE@define make-rel
|
509 |
|
|
@RTEMS_USE_GCC_TRUE@ $(LINK) -qnolinkcmds -nostdlib -Wl,-r $(XLDFLAGS) $^
|
510 |
|
|
@RTEMS_USE_GCC_TRUE@endef
|
511 |
|
|
@RTEMS_USE_GCC_FALSE@define make-rel
|
512 |
|
|
@RTEMS_USE_GCC_FALSE@ $(LINK) $(XLDFLAGS) $^
|
513 |
|
|
@RTEMS_USE_GCC_FALSE@endef
|
514 |
|
|
|
515 |
|
|
define make-library
|
516 |
|
|
test -d $(ARCH) || mkdir $(ARCH)
|
517 |
|
|
$(RM) $@
|
518 |
|
|
$(AR) $(ARFLAGS) $@ $^
|
519 |
|
|
$(RANLIB) $@
|
520 |
|
|
endef
|
521 |
|
|
|
522 |
|
|
$(PROJECT_RELEASE)/lib:
|
523 |
|
|
@$(mkinstalldirs) $@
|
524 |
|
|
|
525 |
|
|
.PRECIOUS: $(LIB)
|
526 |
|
|
|
527 |
|
|
#
|
528 |
|
|
# Add local stuff here using +=
|
529 |
|
|
#
|
530 |
|
|
|
531 |
|
|
$(LIB): $(OBJS)
|
532 |
|
|
$(make-library)
|
533 |
|
|
|
534 |
|
|
all-local: $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(LIB)
|
535 |
|
|
|
536 |
|
|
.PRECIOUS: $(LIB)
|
537 |
|
|
|
538 |
|
|
$(PROJECT_INCLUDE)/%.h: %.h
|
539 |
|
|
$(INSTALL_DATA) $< $@
|
540 |
|
|
$(PROJECT_INCLUDE)/rtems:
|
541 |
|
|
@$(mkinstalldirs) $@
|
542 |
|
|
$(PROJECT_INCLUDE)/rtems/%.h: %.h
|
543 |
|
|
$(INSTALL_DATA) $< $@
|
544 |
|
|
|
545 |
|
|
debug:
|
546 |
|
|
@echo
|
547 |
|
|
@echo "\"make debug\" is obsolete, instead use:"
|
548 |
|
|
@echo " make VARIANT=DEBUG"
|
549 |
|
|
@echo
|
550 |
|
|
|
551 |
|
|
.PHONY: debug
|
552 |
|
|
|
553 |
|
|
profile:
|
554 |
|
|
@echo
|
555 |
|
|
@echo "\"make profile\" is obsolete, instead use:"
|
556 |
|
|
@echo " make VARIANT=PROFILE"
|
557 |
|
|
@echo
|
558 |
|
|
|
559 |
|
|
.PHONY: profile
|
560 |
|
|
|
561 |
|
|
preinstall-am: $(PREINSTALL_FILES)
|
562 |
|
|
preinstall: preinstall-am
|
563 |
|
|
.PHONY: preinstall preinstall-am
|
564 |
|
|
|
565 |
|
|
depend-am:
|
566 |
|
|
depend: depend-am
|
567 |
|
|
.PHONY: depend depend-am
|
568 |
|
|
|
569 |
|
|
${ARCH}:
|
570 |
|
|
mkdir ${ARCH}
|
571 |
|
|
|
572 |
|
|
clean-local:
|
573 |
|
|
$(RM) -r o-optimize o-debug o-profile $(CLEANDIRS)
|
574 |
|
|
$(RM) Depends-o-optimize.tmp Depends-o-debug.tmp Depends-o-profile.tmp
|
575 |
|
|
|
576 |
|
|
distclean-local:
|
577 |
|
|
$(RM) Depends-o-optimize Depends-o-debug Depends-o-profile
|
578 |
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
579 |
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
580 |
|
|
.NOEXPORT:
|