source: rtems/Makefile.in @ e2d79559

4.104.114.84.9
Last change on this file since e2d79559 was e2d79559, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 9, 1997 at 2:05:50 PM

Added ka9q tcpip stack and network driver for the gen68360. This effort
was done based on the 3.6.0 release and had to be autoconf'ed locally.
It is turned on is the bsp enables it and it is not explicitly disabled
via the configure option --disable-tcpip. As many warnings as possible
were removed locally after the code was merged. Only the gen68360
and mvme136 bsps were compiled this way.

The ka9q port and network driver were submitted by Eric Norum
(eric@…).

The network demo programs are not included in the tree at this point.

  • Property mode set to 100644
File size: 2.6 KB
Line 
1#
2# top level directory for RTEMS build tree
3#
4# Modified by Jiri to implement autoconf and cygnus one-tree build
5#
6
7@SET_MAKE@
8srcdir = @srcdir@
9prefix = @prefix@
10exec_prefix = @exec_prefix@
11bindir = @bindir@
12libdir = @libdir@
13includedir = @includedir@
14target = @target@
15manext = 1
16mandir = @mandir@/man$(manext)
17program_prefix = @program_prefix@
18
19
20VPATH=@srcdir@
21
22CFLAGS = @CFLAGS@
23CPPFLAGS = @CPPFLAGS@
24DEFS = @DEFS@
25LDFLAGS =
26LIBS = @LIBS@
27CC_FOR_BUILD = gcc
28
29
30CC_FOR_TARGET = $(program_prefix)gcc
31AS_FOR_TARGET = $(program_prefix)as
32AR_FOR_TARGET = $(program_prefix)ar
33NM_FOR_TARGET = $(program_prefix)nm
34LD_FOR_TARGET = $(program_prefix)ld
35OBJCOPY_FOR_TARGET = $(program_prefix)objcopy
36SIZE_FOR_TARGET = $(program_prefix)size
37
38AWK = @AWK@
39
40RTEMS_ROOT = @RTEMS_ROOT@
41RTEMS_HOST = @RTEMS_HOST@
42PROJECT_ROOT = @PROJECT_ROOT@
43RTEMS_HAS_POSIX_API = @RTEMS_HAS_POSIX_API@
44RTEMS_HAS_KA9Q = @RTEMS_HAS_KA9Q@
45RTEMS_USE_MACROS = @RTEMS_USE_MACROS@
46
47ifeq ($(RTEMSBSP),)
48  RTEMS_BSP = @RTEMS_BSP@
49else
50  RTEMS_BSP = $(RTEMSBSP)
51endif
52
53include $(RTEMS_ROOT)/make/main.cfg
54
55MTARGETS = all $(TARGET_VARIANTS:%=%_install) $(TARGET_VARIANTS:%=%_all) \
56clean_wrapup distclean clean_dirs clean_tools install tests clean
57
58.PHONY: clean_modules mlink
59
60EXIT_CMD = exit 1
61
62# Don't pass flags from previous make - especially NOT CFLAGS
63override MAKEFLAGS=
64
65$(MTARGETS): mlink
66        BASEDIR=`pwd`; \
67        for bsp in $(RTEMS_BSP) xxx; \
68        do if [ $$bsp != xxx ] ; then  \
69            cd $$BASEDIR; \
70            cmd="cd c; $(MAKE) RTEMS_BSP=$$bsp $(FLAGS_TO_PASS) \
71            RTEMS_CUSTOM=$(RTEMS_ROOT)/make/custom/$$bsp.cfg \
72            INSTALL=$(PROJECT_ROOT)/$$bsp/build-tools/install-if-change \
73            \"CC=$(CC_FOR_TARGET)\" \
74            \"XCFLAGS=$(CFLAGS_FOR_TARGET)\" \
75            \"CC_FOR_BUILD=$(CC_FOR_BUILD)\" \
76            \"AS=$(AS_FOR_TARGET)\" \
77            \"LD=$(LD_FOR_TARGET)\" \
78            \"NM=$(NM_FOR_TARGET)\" \
79            \"AR=$(AR_FOR_TARGET)\" \
80            \"SIZE=$(SIZE_FOR_TARGET)\" \
81            \"OBJCOPY=$(OBJCOPY_FOR_TARGET)\" \
82            \"RTEMS_ROOT=$(RTEMS_ROOT)\" \
83            \"RTEMS_HOST=$(RTEMS_HOST)\" \
84            \"PROJECT_HOME=$(PROJECT_ROOT)/$$bsp\" \
85            \"PROJECT_ROOT=$(PROJECT_ROOT)\" \
86            \"RTEMS_HAS_POSIX_API=$(RTEMS_HAS_POSIX_API)\" \
87            \"RTEMS_HAS_KA9Q=$(RTEMS_HAS_KA9Q)\" \
88            \"RTEMS_USE_MACROS=$(RTEMS_USE_MACROS)\" \
89            \"AWK=$(AWK)\" $@" ; \
90            eval $$cmd || $(EXIT_CMD); \
91        fi; done;
92
93clean_modules:
94        rm -f src/Modules/rtems/.moduleavailcache
95        rm -f src/Modules/rtems/.moduleavailcachedir
96
97mlink:
98        test -d make || ln -s $(RTEMS_ROOT)/make make
99
100
101
Note: See TracBrowser for help on using the repository browser.