OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [c/] [src/] [libnetworking/] [rtems_webserver/] [Makefile.in] - Blame information for rev 1779

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
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_goaheaddir = $(includedir)/goahead
106
 
107
LIBNAME = lib.a
108
LIB = $(ARCH)/$(LIBNAME)
109
 
110
C_FILES = asp.c balloc.c default.c ejlex.c ejparse.c emfdb.c form.c \
111
    h.c handler.c md5c.c mime.c misc.c webpage.c ringq.c rom.c security.c \
112
    sock.c socket.c sym.c uemf.c um.c url.c value.c wbase64.c webrom.c webs.c \
113
    websuemf.c webmain.c
114
 
115
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
116
 
117
OBJS = $(C_O_FILES)
118
 
119
H_FILES = ej.h ejIntrn.h emfdb.h md5.h uemf.h um.h webs.h wsIntrn.h
120
 
121
@RTEMS_USE_GCC_TRUE@CFLAGS_DEFAULT = -g -Wall
122
@RTEMS_USE_GCC_TRUE@GCCSPECS = $(GCC_SPECS) $(RTEMS_BSP_SPECS)
123
 
124
DEFS = @DEFS@
125
 
126
CPPFLAGS = @CPPFLAGS@ $(CPU_DEFINES) \
127
   $(DEFINES) $(XCPPFLAGS) $(CPPFLAGS_GCC)
128
 
129
CFLAGS = $(CFLAGS_DEFAULT) $(CPU_CFLAGS) $(XCFLAGS)
130
CXXFLAGS = $(CFLAGS_DEFAULT) $(CPU_CFLAGS) $(XCXXFLAGS)
131
ASFLAGS = $(CPU_ASFLAGS) $(CPU_CFLAGS) $(XASFLAGS)
132
 
133
LINK_LIBS = $(LD_LIBS)
134
 
135
# when debugging, optimize flag: typically empty
136
# some compilers do allow optimization with their "-g"
137
CFLAGS_DEBUG_OPTIMIZE_V = -g
138
CXXFLAGS_DEBUG_OPTIMIZE_V = -g
139
LDFLAGS_DEBUG_V =
140
 
141
# profile flag; use gprof(1)
142
CFLAGS_PROFILE_V = -pg
143
CXXFLAGS_PROFILE_V = -pg
144
LDFLAGS_PROFILE_V =
145
 
146
# List of library paths without -L
147
LD_PATHS = $(PROJECT_RELEASE)/lib
148
 
149
# ld flag for incomplete link
150
LDFLAGS_INCOMPLETE = -r
151
 
152
# ld flags for profiling, debugging
153
LDFLAGS = $(LDFLAGS_PROFILE) $(LDFLAGS_DEBUG) $(LD_PATHS:%=-L %)
154
 
155
 
156
#
157
# Client compiler and support tools
158
#
159
 
160
#
161
# How to compile stuff into ${ARCH} subdirectory
162
#
163
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
164
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
165
 
166
CCLD = $(CC)
167
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
168
        $(AM_LDFLAGS) $(LDFLAGS) -o $@
169
 
170
 
171
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
172
        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
173
 
174
CXXLD = $(CXX)
175
CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
176
        $(AM_LDFLAGS) $(LDFLAGS) -o $@
177
 
178
 
179
AS = $(CC)
180
ASCOMPILE = $(AS) $(AM_ASFLAGS) $(ASFLAGS)
181
 
182
 
183
# Dependency files for use by gmake
184
# NOTE: we don't put them into $(ARCH)
185
#       so that 'make clean' doesn't blow it away
186
DEPEND = Depends-${ARCH}
187
 
188
CLEAN_DEPEND = $(DEPEND).tmp
189
CLOBBER_DEPEND = $(DEPEND)
190
 
191
 
192
# spell out all the LINK_FILE's, rather than using -lbsp, so
193
#  that $(LINK_FILES) can be a dependency
194
LINK_OBJS = \
195
    $(OBJS) \
196
    $(MANAGERS_NOT_WANTED:%=$(PROJECT_RELEASE)/lib/no-%$(LIB_VARIANT).rel)
197
 
198
 
199
LINK_FILES = \
200
    $(START_FILE) \
201
    $(OBJS) \
202
    $(MANAGERS_NOT_WANTED:%=$(PROJECT_RELEASE)/lib/no-%$(LIB_VARIANT).rel)
203
 
204
 
205
VARIANT = OPTIMIZE
206
 
207
VARIANT_OPTIMIZE_V = OPTIMIZE
208
VARIANT_DEBUG_V = DEBUG
209
VARIANT_PROFILE_V = PROFILE
210
VARIANT_optimize_V = OPTIMIZE
211
VARIANT_debug_V = DEBUG
212
VARIANT_profile_V = PROFILE
213
 
214
VARIANT_V = $(VARIANT_$(VARIANT)_V)
215
 
216
ARCH_OPTIMIZE_V = o-optimize
217
ARCH_DEBUG_V = o-debug
218
ARCH_PROFILE_V = o-profile
219
 
220
ARCH__V = $(ARCH_OPTIMIZE_V)
221
ARCH = $(ARCH_$(VARIANT_V)_V)
222
 
223
LIBSUFFIX_OPTIMIZE_V =
224
LIBSUFFIX_DEBUG_V = _g
225
LIBSUFFIX_PROFILE_V = _p
226
LIBSUFFIX__V = $(LIBSUFFIX_OPTIMIZE_V)
227
 
228
LIB_VARIANT = $(LIBSUFFIX_$(VARIANT_V)_V)
229
LIBSUFFIX_VA = $(LIB_VARIANT).a
230
 
231
CFLAGS__V = $(CFLAGS_OPTIMIZE_V)
232
 
233
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_OPTIMIZE_V =
234
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_DEBUG_V = -qrtems_debug -Wno-unused
235
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_PROFILE_V =
236
 
237
RTEMS_CFLAGS__V = $(RTEMS_CFLAGS_OPTIMIZE_V)
238
CXX = @CXX@ $(GCCSPECS)
239
 
240
LD = @LD@
241
OBJCOPY = @OBJCOPY@
242
NM = @NM@
243
SIZE = @SIZE@
244
 
245
 
246
#
247
# Add local stuff here using +=
248
#
249
AM_CPPFLAGS = $(RTEMS_CPPFLAGS) -DWEBS -DUEMF -DOS="RTEMS"
250
 
251
AM_CFLAGS = $(RTEMS_CFLAGS_$(VARIANT_V)_V) $(CFLAGS_$(VARIANT_V)_V)
252
AM_CXXFLAGS = $(RTEMS_CFLAGS_$(VARIANT_V)_V) $(CFLAGS_$(VARIANT_V)_V)
253
 
254
AR = @AR@
255
RANLIB = @RANLIB@
256
 
257
ARFLAGS = ruv
258
 
259
TMPINSTALL_FILES = $(PROJECT_RELEASE)/lib
260
 
261
PREINSTALL_FILES = $(PROJECT_INCLUDE) $(PROJECT_INCLUDE)/rtems_webserver.h \
262
    $(PROJECT_INCLUDE)/goahead $(H_FILES:%.h=$(PROJECT_INCLUDE)/goahead/%.h)
263
 
264
 
265
@HAS_POSIX_TRUE@include_HEADERS = rtems_webserver.h
266
@HAS_POSIX_TRUE@include_goahead_HEADERS = $(H_FILES)
267
 
268
EXTRA_DIST = asp.c balloc.c default.c ej.h ejlex.c ejparse.c form.c h.c \
269
    handler.c mime.c misc.c ringq.c rom.c rtems_webserver.h security.c \
270
    sock.c socket.c sym.c uemf.c uemf.h um.h url.c value.c wbase64.c webcomp.c \
271
    webmain.c webpage.c webrom.c webs.c webs.h websuemf.c wsIntrn.h
272
 
273
 
274
PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools
275
subdir = rtems_webserver
276
mkinstalldirs = $(SHELL) $(top_srcdir)/../../../mkinstalldirs
277
CONFIG_CLEAN_FILES =
278
DIST_SOURCES =
279
HEADERS = $(include_HEADERS) $(include_goahead_HEADERS)
280
 
281
DIST_COMMON = $(include_HEADERS) $(include_goahead_HEADERS) Makefile.am \
282
        Makefile.in
283
all: all-am
284
 
285
.SUFFIXES:
286
$(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)
287
        cd $(top_srcdir) && \
288
          $(AUTOMAKE) --foreign  rtems_webserver/Makefile
289
Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
290
        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
291
uninstall-info-am:
292
includeHEADERS_INSTALL = $(INSTALL_HEADER)
293
install-includeHEADERS: $(include_HEADERS)
294
        @$(NORMAL_INSTALL)
295
        $(mkinstalldirs) $(DESTDIR)$(includedir)
296
        @list='$(include_HEADERS)'; for p in $$list; do \
297
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
298
          f="`echo $$p | sed -e 's|^.*/||'`"; \
299
          echo " $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
300
          $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f; \
301
        done
302
 
303
uninstall-includeHEADERS:
304
        @$(NORMAL_UNINSTALL)
305
        @list='$(include_HEADERS)'; for p in $$list; do \
306
          f="`echo $$p | sed -e 's|^.*/||'`"; \
307
          echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
308
          rm -f $(DESTDIR)$(includedir)/$$f; \
309
        done
310
include_goaheadHEADERS_INSTALL = $(INSTALL_HEADER)
311
install-include_goaheadHEADERS: $(include_goahead_HEADERS)
312
        @$(NORMAL_INSTALL)
313
        $(mkinstalldirs) $(DESTDIR)$(include_goaheaddir)
314
        @list='$(include_goahead_HEADERS)'; for p in $$list; do \
315
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
316
          f="`echo $$p | sed -e 's|^.*/||'`"; \
317
          echo " $(include_goaheadHEADERS_INSTALL) $$d$$p $(DESTDIR)$(include_goaheaddir)/$$f"; \
318
          $(include_goaheadHEADERS_INSTALL) $$d$$p $(DESTDIR)$(include_goaheaddir)/$$f; \
319
        done
320
 
321
uninstall-include_goaheadHEADERS:
322
        @$(NORMAL_UNINSTALL)
323
        @list='$(include_goahead_HEADERS)'; for p in $$list; do \
324
          f="`echo $$p | sed -e 's|^.*/||'`"; \
325
          echo " rm -f $(DESTDIR)$(include_goaheaddir)/$$f"; \
326
          rm -f $(DESTDIR)$(include_goaheaddir)/$$f; \
327
        done
328
 
329
ETAGS = etags
330
ETAGSFLAGS =
331
 
332
tags: TAGS
333
 
334
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
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
        mkid -fID $$unique
342
 
343
TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
344
                $(TAGS_FILES) $(LISP)
345
        tags=; \
346
        here=`pwd`; \
347
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
348
        unique=`for i in $$list; do \
349
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
350
          done | \
351
          $(AWK) '    { files[$$0] = 1; } \
352
               END { for (i in files) print i; }'`; \
353
        test -z "$(ETAGS_ARGS)$$tags$$unique" \
354
          || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
355
             $$tags $$unique
356
 
357
GTAGS:
358
        here=`$(am__cd) $(top_builddir) && pwd` \
359
          && cd $(top_srcdir) \
360
          && gtags -i $(GTAGS_ARGS) $$here
361
 
362
distclean-tags:
363
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
364
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
365
 
366
top_distdir = ..
367
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
368
 
369
distdir: $(DISTFILES)
370
        @list='$(DISTFILES)'; for file in $$list; do \
371
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
372
          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
373
          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
374
            dir="/$$dir"; \
375
            $(mkinstalldirs) "$(distdir)$$dir"; \
376
          else \
377
            dir=''; \
378
          fi; \
379
          if test -d $$d/$$file; then \
380
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
381
              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
382
            fi; \
383
            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
384
          else \
385
            test -f $(distdir)/$$file \
386
            || cp -p $$d/$$file $(distdir)/$$file \
387
            || exit 1; \
388
          fi; \
389
        done
390
check-am: all-am
391
check: check-am
392
all-am: Makefile $(HEADERS) all-local
393
 
394
installdirs:
395
        $(mkinstalldirs) $(DESTDIR)$(includedir) $(DESTDIR)$(include_goaheaddir)
396
 
397
install: install-am
398
install-exec: install-exec-am
399
install-data: install-data-am
400
uninstall: uninstall-am
401
 
402
install-am: all-am
403
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
404
 
405
installcheck: installcheck-am
406
install-strip:
407
        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
408
          INSTALL_STRIP_FLAG=-s \
409
          `test -z '$(STRIP)' || \
410
            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
411
mostlyclean-generic:
412
 
413
clean-generic:
414
 
415
distclean-generic:
416
        -rm -f Makefile $(CONFIG_CLEAN_FILES)
417
 
418
maintainer-clean-generic:
419
        @echo "This command is intended for maintainers to use"
420
        @echo "it deletes files that may require special tools to rebuild."
421
clean: clean-am
422
 
423
clean-am: clean-generic clean-local mostlyclean-am
424
 
425
distclean: distclean-am
426
 
427
distclean-am: clean-am distclean-generic distclean-local distclean-tags
428
 
429
dvi: dvi-am
430
 
431
dvi-am:
432
 
433
info: info-am
434
 
435
info-am:
436
 
437
install-data-am: install-includeHEADERS install-include_goaheadHEADERS
438
 
439
install-exec-am:
440
 
441
install-info: install-info-am
442
 
443
install-man:
444
 
445
installcheck-am:
446
 
447
maintainer-clean: maintainer-clean-am
448
 
449
maintainer-clean-am: distclean-am maintainer-clean-generic
450
 
451
mostlyclean: mostlyclean-am
452
 
453
mostlyclean-am: mostlyclean-generic
454
 
455
uninstall-am: uninstall-includeHEADERS uninstall-include_goaheadHEADERS \
456
        uninstall-info-am
457
 
458
.PHONY: GTAGS all all-am all-local check check-am clean clean-generic \
459
        clean-local distclean distclean-generic distclean-local \
460
        distclean-tags distdir dvi dvi-am info info-am install \
461
        install-am install-data install-data-am install-exec \
462
        install-exec-am install-includeHEADERS \
463
        install-include_goaheadHEADERS install-info install-info-am \
464
        install-man install-strip installcheck installcheck-am \
465
        installdirs maintainer-clean maintainer-clean-generic \
466
        mostlyclean mostlyclean-generic tags uninstall uninstall-am \
467
        uninstall-includeHEADERS uninstall-include_goaheadHEADERS \
468
        uninstall-info-am
469
 
470
 
471
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
472
@RTEMS_USE_GCC_FALSE@include $(CONFIG.CC)
473
 
474
${ARCH}/%.o: %.c
475
        test -d $(ARCH) || mkdir $(ARCH)
476
        ${COMPILE} -o $@ -c $<
477
 
478
${ARCH}/%.o: %.cc
479
        test -d $(ARCH) || mkdir $(ARCH)
480
        ${CXXCOMPILE} -o $@ -c $<
481
 
482
${ARCH}/%.o: %.cpp
483
        test -d $(ARCH) || mkdir $(ARCH)
484
        ${CXXCOMPILE} -o $@ -c $<
485
 
486
${ARCH}/%.o: %.cxx
487
        test -d $(ARCH) || mkdir $(ARCH)
488
        ${CXXCOMPILE} -o $@ -c $<
489
 
490
${ARCH}/%.o: %.C
491
        test -d $(ARCH) || mkdir $(ARCH)
492
        ${CXXCOMPILE} -o $@ -c $<
493
 
494
${ARCH}/%.o: %.S
495
        test -d $(ARCH) || mkdir $(ARCH)
496
        ${ASCOMPILE} -DASM -o $@ -c $<
497
 
498
# Make foo.rel from foo.o
499
${ARCH}/%.rel: ${ARCH}/%.o
500
        test -d $(ARCH) || mkdir $(ARCH)
501
        ${make-rel}
502
 
503
# We deliberately don't have anything depend on the
504
# $(DEPEND) file; otherwise it will get rebuilt even
505
# on 'make clean'
506
#
507
 
508
depend-am: $(C_FILES) $(CC_FILES) $(S_FILES)
509
        $(COMPILE) -M   $^    |  \
510
        sed -e 's?^\(.*\)\.o[ ]*:?$$(ARCH)/\1.o:?' \
511
            -e 's?$(ARCH)/?$$(ARCH)/?'   >$(DEPEND).tmp
512
        mv $(DEPEND).tmp $(DEPEND)
513
depend: depend-am
514
 
515
# pull in dependencies if they exist
516
ifeq (${DEPEND},$(wildcard ${DEPEND}))
517
include ${DEPEND}
518
@ENDIF@
519
 
520
@RTEMS_USE_GCC_TRUE@define make-rel
521
@RTEMS_USE_GCC_TRUE@    $(LINK) -qnolinkcmds -nostdlib -Wl,-r $(XLDFLAGS) $^
522
@RTEMS_USE_GCC_TRUE@endef
523
@RTEMS_USE_GCC_FALSE@define make-rel
524
@RTEMS_USE_GCC_FALSE@   $(LINK) $(XLDFLAGS) $^
525
@RTEMS_USE_GCC_FALSE@endef
526
 
527
define make-library
528
test -d $(ARCH) || mkdir $(ARCH)
529
$(RM) $@
530
$(AR) $(ARFLAGS) $@ $^
531
$(RANLIB) $@
532
endef
533
 
534
$(PROJECT_RELEASE)/lib:
535
        @$(mkinstalldirs) $@
536
 
537
.PRECIOUS: $(LIB)
538
 
539
$(LIB): $(OBJS)
540
        $(make-library)
541
 
542
$(PROJECT_INCLUDE):
543
        $(mkinstalldirs) $@
544
 
545
$(PROJECT_INCLUDE)/goahead:
546
        $(mkinstalldirs) $@
547
 
548
$(PROJECT_INCLUDE)/goahead/%.h: %.h
549
        $(INSTALL_DATA) $< $@
550
 
551
$(PROJECT_INCLUDE)/rtems_webserver.h: rtems_webserver.h
552
        $(INSTALL_DATA) $< $@
553
 
554
@HAS_POSIX_TRUE@all-local: $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(LIB)
555
 
556
.PRECIOUS: $(LIB)
557
 
558
debug:
559
        @echo
560
        @echo "\"make debug\" is obsolete, instead use:"
561
        @echo " make VARIANT=DEBUG"
562
        @echo
563
 
564
.PHONY: debug
565
 
566
profile:
567
        @echo
568
        @echo "\"make profile\" is obsolete, instead use:"
569
        @echo " make VARIANT=PROFILE"
570
        @echo
571
 
572
.PHONY: profile
573
 
574
preinstall-am: $(PREINSTALL_FILES)
575
preinstall: preinstall-am
576
.PHONY: preinstall preinstall-am
577
 
578
depend-am:
579
depend: depend-am
580
.PHONY: depend depend-am
581
 
582
${ARCH}:
583
        mkdir ${ARCH}
584
 
585
clean-local:
586
        $(RM) -r o-optimize o-debug o-profile $(CLEANDIRS)
587
        $(RM) Depends-o-optimize.tmp Depends-o-debug.tmp Depends-o-profile.tmp
588
 
589
distclean-local:
590
        $(RM) Depends-o-optimize Depends-o-debug Depends-o-profile
591
# Tell versions [3.59,3.63) of GNU make to not export all variables.
592
# Otherwise a system limit (for SysV at least) may be exceeded.
593
.NOEXPORT:

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.