source: rtems/c/src/exec/posix/include/rtems/posix/Makefile.in @ 1896a650

4.104.114.84.95
Last change on this file since 1896a650 was 1896a650, checked in by Joel Sherrill <joel.sherrill@…>, on 07/30/99 at 17:52:50

Patch from Ralf Corsepius <corsepiu@…>:

The main topic is replacing the hard-coded values for HAS_MP and
HAS_RDBG in custom/*.cfg with per-bsp configuration-time autoconf checks
(This is the patch I had mentioned before earlier this week).

CHANGES

  • HAS_MP removed from custom/*.cfg, replaced with configuration time autoconf check
  • HAS_RDBG removed from custom/*.cfg, replaced with configuration-time autoconf check
  • NEW: c/src/make/bsp.cfg.in, takes configuration-time checked per-bsp values (i.e. HAS_MP, HAS_RDBG), gets installed as $(prefix)/<bsp>/make/bsp.cfg
  • NEW: default.cfg includes bsp.cfg - this change is backward compatible.
  • IMPORT_SRC: apply VPATH instead for ts_386ex/i386ex subdirectory Makefile.ins
  • HACK: a bug in acpolish mis-handles addtions to makefile variables which are enclosed in gmake conditionals: c/src/lib/libbsp/m68k/ods68302/start302/Makefile.in
  • Apply inline_dir, HAS_MP and HAS_RDBG for avoiding configuration of unneeded subdirectories in various configure.in files.
  • Several minor changes in Makefile.ins and configure.ins, wrt. to the order of including *.cfg and defining Makefile variables

APPLYING THE PATCH:

patch -p1 < rtems-rc-19990709-4.diff
./autogen

  • Property mode set to 100644
File size: 1.5 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ../../../..
9subdir = posix/include/rtems/posix
10
11RTEMS_ROOT = @RTEMS_ROOT@
12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@
15
16include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
17include $(RTEMS_ROOT)/make/leaf.cfg
18
19INSTALL_CHANGE = @INSTALL_CHANGE@
20mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
21
22INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/posix
23
24$(INSTALLDIRS):
25        @$(mkinstalldirs) $(INSTALLDIRS)
26
27# We only build multiprocessing related files if HAS_MP was defined
28MP_H_PIECES_yes_V = condmp mqueuemp mutexmp pthreadmp semaphoremp
29MP_H_PIECES = $(MP_H_PIECES_$(HAS_MP)_V)
30
31H_PIECES = cancel cond config key mqueue mutex posixapi priority psignal \
32    pthread ptimer semaphore seterr threadsup time $(MP_H_PIECES)
33#H_PIECES= cancel cond intr key mqueue mqueuemp mutex \
34#    mutexmp pthread pthreadmp priority semaphore semaphoremp threadsup \
35#    time
36H_FILES = $(H_PIECES:%=$(srcdir)/%.h)
37
38SRCS = $(H_FILES)
39
40#
41# Add your list of files to delete here.  The config files
42#  already know how to delete some stuff, so you may want
43#  to just run 'make clean' first to see what gets missed.
44#  'make clobber' already includes 'make clean'
45#
46
47CLEAN_ADDITIONS +=
48CLOBBER_ADDITIONS +=
49
50preinstall: $(INSTALLDIRS) $(H_FILES)
51        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/rtems/posix
52
53all: preinstall
54
55Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
56        cd $(top_builddir) \
57         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.