4.104.114.84.95
Last change
on this file since 2b2bda4 was
2b2bda4,
checked in by Joel Sherrill <joel.sherrill@…>, on 12/01/00 at 18:57:36
|
2000-12-01 Joel Sherrill <joel@…>
- Added macro support to POSIX API. This is known to compile.
- macros/rtems/posix/cond.inl, macros/rtems/posix/intr.inl,
macros/rtems/posix/key.inl, macros/rtems/posix/mqueue.inl,
macros/rtems/posix/mutex.inl, macros/rtems/posix/priority.inl,
macros/rtems/posix/pthread.inl, macros/rtems/posix/semaphore.inl,
macros/rtems/posix/timer.inl: New files.
- configure.in: Removed error check for enabling macros.
- rtems/posix/mutex.h: #if 0'ed out prototypes for inlined routines
since you cannot have prototypes for macros.
- macros/rtems/posix/Makefile.am: Added files.
|
-
Property mode set to
100644
|
File size:
1.3 KB
|
Line | |
---|
1 | dnl Process this file with autoconf to produce a configure script. |
---|
2 | dnl |
---|
3 | dnl $Id$ |
---|
4 | |
---|
5 | AC_PREREQ(2.13) |
---|
6 | AC_INIT(optman) |
---|
7 | RTEMS_TOP(../../../..) |
---|
8 | AC_CONFIG_AUX_DIR(../../../..) |
---|
9 | |
---|
10 | RTEMS_CANONICAL_TARGET_CPU |
---|
11 | |
---|
12 | AM_INIT_AUTOMAKE(rtems-c-src-exec-posix,$RTEMS_VERSION,no) |
---|
13 | AM_MAINTAINER_MODE |
---|
14 | |
---|
15 | RTEMS_ENABLE_POSIX |
---|
16 | RTEMS_ENABLE_INLINES |
---|
17 | |
---|
18 | RTEMS_ENV_RTEMSCPU |
---|
19 | |
---|
20 | RTEMS_CHECK_CPU |
---|
21 | RTEMS_CANONICAL_HOST |
---|
22 | |
---|
23 | RTEMS_PROJECT_ROOT |
---|
24 | |
---|
25 | RTEMS_PROG_CC_FOR_TARGET |
---|
26 | RTEMS_CANONICALIZE_TOOLS |
---|
27 | |
---|
28 | RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP) |
---|
29 | RTEMS_CHECK_POSIX_API(RTEMS_BSP) |
---|
30 | |
---|
31 | # If RTEMS macros are enabled, then use them. Otherwise, use inlines. |
---|
32 | if test "$RTEMS_USE_MACROS" = "yes"; then |
---|
33 | INLINEdir="macros" |
---|
34 | else |
---|
35 | INLINEdir="inline" |
---|
36 | fi |
---|
37 | AM_CONDITIONAL(INLINE,test "$INLINEdir" = "inline" ) |
---|
38 | AM_CONDITIONAL(MACROS,test "$INLINEdir" = "macros" ) |
---|
39 | AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes" ) |
---|
40 | |
---|
41 | ## Needed when using automake for libs/rels |
---|
42 | RTEMS_CHECK_NEWLIB |
---|
43 | |
---|
44 | ## Refuse to build if bsp does not support libposix |
---|
45 | if test "$HAS_POSIX_API" != "yes"; then |
---|
46 | AC_MSG_ERROR([BSP $RTEMS_BSP does not support libposix]) |
---|
47 | fi |
---|
48 | |
---|
49 | # Explicitly list all Makefiles here |
---|
50 | AC_OUTPUT( |
---|
51 | Makefile |
---|
52 | src/Makefile |
---|
53 | include/Makefile |
---|
54 | include/sys/Makefile |
---|
55 | include/rtems/Makefile |
---|
56 | include/rtems/posix/Makefile |
---|
57 | optman/Makefile |
---|
58 | inline/Makefile |
---|
59 | inline/rtems/Makefile |
---|
60 | inline/rtems/posix/Makefile |
---|
61 | macros/Makefile |
---|
62 | macros/rtems/Makefile |
---|
63 | macros/rtems/posix/Makefile |
---|
64 | ) |
---|
Note: See
TracBrowser
for help on using the repository browser.