source: rtems/c/src/exec/score/src/Makefile.in @ dfbfa2b0

4.104.114.84.95
Last change on this file since dfbfa2b0 was dfbfa2b0, checked in by Joel Sherrill <joel.sherrill@…>, on Nov 2, 1999 at 8:36:11 PM

Split threadq.c into multiple files.

  • Property mode set to 100644
File size: 2.4 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ../..
9subdir = score/src
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/lib.cfg
18
19INSTALL_CHANGE = @INSTALL_CHANGE@
20
21# We only build multiprocessing related files if HAS_MP was defined
22MP_C_PIECES_yes_V = mpci objectmp threadmp
23MP_C_PIECES = $(MP_C_PIECES_$(HAS_MP)_V)
24
25OBJECT_C_PIECES = object objectallocate objectallocatebyindex \
26    objectclearname objectcomparenameraw objectcomparenamestring \
27    objectcopynameraw objectcopynamestring objectextendinformation \
28    objectfree objectget objectgetbyindex objectgetnext \
29    objectinitializeinformation objectnametoid objectshrinkinformation
30
31THREAD_C_PIECES = thread threadchangepriority threadclearstate threadclose \
32    threadcreateidle threaddelayended threaddispatch threadevaluatemode \
33    threadget threadhandler threadidlebody threadinitialize threadloadenv \
34    threadready threadresettimeslice threadrestart threadsetpriority \
35    threadsetstate threadsettransient threadstackallocate threadstackfree \
36    threadstart threadstartmultitasking threadtickletimeslice \
37    threadyieldprocessor
38
39THREADQ_C_PIECES= threadq threadqdequeue threadqdequeuefifo \
40    threadqdequeuepriority threadqenqueue threadqenqueuefifo \
41    threadqenqueuepriority threadqextract threadqextractfifo \
42    threadqextractpriority threadqextractwithproxy threadqfirst \
43    threadqfirstfifo threadqfirstpriority threadqflush threadqtimeout
44
45# C and C++ source names, if any, go here -- minus the .c or .cc
46C_PIECES = apiext chain coremsg coremutex coresem coretod heap interr isr \
47    $(OBJECT_C_PIECES) $(THREAD_C_PIECES) $(THREADQ_C_PIECES) userext \
48    watchdog wkspace $(MP_C_PIECES)
49C_FILES = $(C_PIECES:%=%.c)
50C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
51
52SRCS = $(C_FILES)
53OBJS = $(C_O_FILES)
54
55#
56# Add local stuff here using +=
57#
58
59DEFINES += -D__RTEMS_INSIDE__
60CPPFLAGS +=
61CFLAGS += $(CFLAGS_OS_V)
62
63#
64# Add your list of files to delete here.  The config files
65#  already know how to delete some stuff, so you may want
66#  to just run 'make clean' first to see what gets missed.
67#  'make clobber' already includes 'make clean'
68#
69
70CLEAN_ADDITIONS +=
71CLOBBER_ADDITIONS +=
72
73all: ${ARCH} $(SRCS) ${OBJS}
74
75Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
76        cd $(top_builddir) \
77         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.