source: rtems/Makefile.in @ 1253f39

4.104.114.84.9
Last change on this file since 1253f39 was 67a2288, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 23, 1998 at 10:02:34 PM

Patch from Eric VALETTE <valette@…>:

Here is a enhanced version of my previous patch. This patch enables
to potentially share the new interrupt management code for all Intel targets
(pc386, go32 and force386) bsp.

Note : this patch is complete only for pc386. It still needs to

be completed for go32 and force386. I carrefully checked
that anything needed is in for force386 (only some function
name changes for IDT manipulation and GDT segment
manipulation). But anyway I will not be able to test any
of theses targets...

  • Property mode set to 100644
File size: 1.7 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#  $Id$
7#
8
9@SET_MAKE@
10srcdir = @srcdir@
11prefix = @prefix@
12exec_prefix = @exec_prefix@
13bindir = @bindir@
14libdir = @libdir@
15includedir = @includedir@
16target = @target@
17manext = 1
18mandir = @mandir@/man$(manext)
19program_prefix = @program_prefix@
20
21export bindir
22
23RTEMS_ROOT = @top_srcdir@
24PROJECT_ROOT = @PROJECT_ROOT@
25
26VPATH=@srcdir@
27
28ifeq ($(RTEMS_BSP),)
29  RTEMS_BSP = @RTEMS_BSP_LIST@
30endif
31
32include $(RTEMS_ROOT)/make/main.cfg
33
34MTARGETS = pre_install_src all install $(TARGET_VARIANTS) $(TARGET_VARIANTS:%=%_all) \
35  $(TARGET_VARIANTS:%=%_install) $(TARGET_VARIANTS:%=%_tests) \
36  clean_wrapup distclean clean_dirs clean_tools tests clean depend
37
38EXIT_CMD = exit 1
39
40# Don't pass flags from previous make - especially NOT CFLAGS 
41# NOTE: Previous versions overrode MAKEFLAGS, but this also disables
42# a lot of useful features
43# override MAKEFLAGS=
44
45$(MTARGETS):
46        BASEDIR=`pwd`; \
47        for bsp in $(RTEMS_BSP) xxx; \
48        do if [ $$bsp != xxx ] ; then  \
49            cd $$BASEDIR; \
50            cmd="cd c; $(MAKE) RTEMS_BSP=$$bsp $(FLAGS_TO_PASS) \
51            $@" ; \
52            eval $$cmd || $(EXIT_CMD); \
53        fi; done;
54
55## Configuration stuff
56
57ACLOCAL = aclocal -I aclocal
58AUTOCONF = autoconf
59
60ACLOCAL_FILES := $(wildcard $(srcdir)/aclocal/*.m4)
61ACLOCAL_M4 = aclocal.m4
62
63$(ACLOCAL_M4): configure.in $(ACLOCAL_FILES)
64        -cd $(RTEMS_ROOT) && $(ACLOCAL)
65
66Makefile: Makefile.in config.status
67        CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
68
69config.status: $(RTEMS_ROOT)/configure
70        $(SHELL) ./config.status --recheck
71
72$(RTEMS_ROOT)/configure: $(RTEMS_ROOT)/configure.in $(ACLOCAL_M4)
73        -cd $(RTEMS_ROOT) && $(AUTOCONF)
74
75.PRECIOUS: $(ACLOCAL_M4) configure Makefile config.status
76
Note: See TracBrowser for help on using the repository browser.