source: rtems/c/Makefile.in @ e2d79559

4.104.114.84.95
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#  $Id$
3#
4# top level directory for RTEMS build tree
5# This Makefile is *not* a good example of a directory Makefile.
6#
7
8@SET_MAKE@
9srcdir = @srcdir@
10top_srcdir = @top_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@
20VPATH=@srcdir@
21
22include $(RTEMS_CUSTOM)
23include $(RTEMS_ROOT)/make/directory.cfg
24
25# dubious, but needed by rtems-glom ...
26export PROJECT_HOME
27
28SUB_DIRS=build-tools src
29
30# We only make the ka9q install point if it is enabled.
31LIBKA9Q_yes_V = include/ka9q
32LIBKA9Q = $(LIBKA9Q_$(HAS_KA9Q)_V)
33
34# directories to be created in install point
35CREATE_DIRS =   include include/sys \
36    include/rtems include/rtems/score include/rtems/rtems include/rtems/posix \
37                include/netinet include/libc include/libc/sys \
38                $(LIBKA9Q) \
39                lib \
40                bin \
41                samples tests \
42                build-tools update-tools
43
44# Make all/install must include 'env'
45all $(TARGET_VARIANTS:%=%_install) $(TARGET_VARIANTS:%=%_all): env
46
47# top level clean/clobber will delete the install points
48clean_WRAPUP = $(MAKE) clean_wrapup
49clobber_WRAPUP = $(MAKE) clean_wrapup
50
51clean_wrapup: clean_tools clean_dirs clean_modules
52
53.PHONY: dirs clean_wrapup clean_dirs clean_tools clean_modules env install
54
55#  XXX The link is temporary while switching to -specs options.
56dirs:
57        -$(MKDIR) ${CREATE_DIRS:%=$(PROJECT_ROOT)/$(RTEMS_BSP)/%}
58        -ln -s $(PROJECT_ROOT)/$(RTEMS_BSP)/include \
59                $(PROJECT_ROOT)/$(RTEMS_BSP)/lib/include
60
61distclean: clobber
62
63clean_dirs:
64        $(RM) -r $(PROJECT_RELEASE)
65
66clean_tools:
67        cd build-tools; $(MAKE) clean
68
69# NOTE: The wildcard on the install should pick up everything except
70#       the tests directory.  This significantly minimizes the install size.
71install: all
72         -$(MKDIR) $(prefix)/$(target)
73         -$(MKDIR) $(prefix)/$(target)/rtems
74         -$(MKDIR) $(prefix)/$(target)/rtems/make
75         -$(MKDIR) $(prefix)/$(target)/rtems/make/compilers
76         -$(MKDIR) $(prefix)/$(target)/rtems/make/custom
77         -$(MKDIR) $(prefix)/$(target)/rtems/make/os
78        -rm -rf $(prefix)/$(target)/rtems/$(RTEMS_BSP)
79        cd ../; tar cf - $(RTEMS_BSP)/[bilsu]* | \
80                (cd $(prefix)/$(target)/rtems; tar xpBf - )
81        cd $(srcdir); tar cf - make/compilers make/custom make/os \
82                make/leaf.cfg make/directory.cfg make/main.cfg | \
83                (cd $(prefix)/$(target)/rtems; tar xpBf - )
84        echo RTEMS_BSP = $(RTEMS_BSP) > \
85                $(prefix)/$(target)/rtems/$(RTEMS_BSP)/Makefile.inc
86        cat make/Templates/Makefile.inc >> \
87                $(prefix)/$(target)/rtems/$(RTEMS_BSP)/Makefile.inc
88
89tests:
90        cd src/tests; $(MAKE) all
91
92env:    $(SRCS) dirs
93
94
95
96
97
98
99
100
101
102
103
Note: See TracBrowser for help on using the repository browser.