source: rtems/c/src/exec/score/cpu/unix/Makefile.in @ 0a6fb22

4.104.114.84.95
Last change on this file since 0a6fb22 was 0a6fb22, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 22, 1997 at 8:19:25 PM

Patch from Chris John <cjohns@…> to add use of a select statement
in the unix port idle thread task. This should keep the entire application
from blocking when any component does a blocking application. Also added
TOD_MICROSECONDS_TO_TICKS.

  • Property mode set to 100644
File size: 2.5 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8VPATH=@srcdir@
9
10RELS=$(ARCH)/rtems-cpu.rel
11
12# C source names, if any, go here -- minus the .c
13C_PIECES=cpu
14C_FILES=$(C_PIECES:%=%.c)
15C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
16
17H_FILES=$(srcdir)/cpu.h $(srcdir)/unixtypes.h
18
19# Assembly source names, if any, go here -- minus the .S
20S_PIECES=
21S_FILES=$(S_PIECES:%=%.S)
22S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
23
24SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
25OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
26
27include $(RTEMS_CUSTOM)
28include $(PROJECT_ROOT)/make/leaf.cfg
29
30#
31# (OPTIONAL) Add local stuff here using +=
32#
33
34DEFINES  +=
35CPPFLAGS +=
36CFLAGS   += $(CFLAGS_OS_V) -DCPU_SYNC_IO
37
38LD_PATHS  +=
39LD_LIBS   +=
40LDFLAGS   +=
41
42#
43# Add your list of files to delete here.  The config files
44#  already know how to delete some stuff, so you may want
45#  to just run 'make clean' first to see what gets missed.
46#  'make clobber' already includes 'make clean'
47#
48
49CLEAN_ADDITIONS +=
50CLOBBER_ADDITIONS +=
51
52$(ARCH)/unixsize.h: $(ARCH) cpu.h $(PROJECT_RELEASE)/bin/gensize
53        $(RM) $@
54        $(PROJECT_RELEASE)/bin/gensize > $@
55        $(CHMOD) -w $@
56
57$(ARCH)/rtems-cpu.rel: $(OBJS)
58        $(make-rel)
59
60all:  ${ARCH} $(SRCS) $(ARCH)/unixsize.h preinstall $(RELS)
61
62# Install the program(s), appending _g or _p as appropriate.
63# for include files, just use $(INSTALL)
64install:  all
65
66# Real ports using the gnu tools will need to have bsp_specs!!!
67#            ${PROJECT_RELEASE}/lib/bsp_specs
68preinstall: ${PROJECT_RELEASE}/include/rtems/score/unix.h $(ARCH)/unixsize.h \
69            ${PROJECT_RELEASE}/include/rtems/score/targopts.h
70        $(INSTALL) -m 444 ${H_FILES} ${PROJECT_RELEASE}/include/rtems/score
71        $(INSTALL) -m 444 ${ARCH}/unixsize.h ${PROJECT_RELEASE}/include/rtems/score
72
73${PROJECT_RELEASE}/include/rtems/score/unix.h: unix.h
74         $(SED) -e 's?REPLACE_THIS_WITH_THE_CPU_MODEL?$(RTEMS_CPU_MODEL)?' \
75                -e 's?REPLACE_THIS_WITH_THE_BSP?$(RTEMS_BSP)?' \
76                -e 's?REPLACE_THIS_WITH_THE_CPU_FAMILY?$(RTEMS_CPU_FAMILY)?' \
77                -e 's?REPLACE_THIS_WITH_THE_UNIX_FLAVOR?$(RTEMS_UNIX_FLAVOR)?' \
78      <$(srcdir)/unix.h >$(ARCH)/unix.h.tmp
79        $(INSTALL) -m 444 $(ARCH)/unix.h.tmp $@
80
81${PROJECT_RELEASE}/include/rtems/score/targopts.h: $(ARCH)/targopts.h-tmp
82        $(INSTALL) -m 444 $(ARCH)/targopts.h-tmp $@
83
84# $(ARCH)/targopts.h-tmp rule is in leaf.cfg
85
86# Real ports using the gnu tools will need to have bsp_specs!!!
87#${PROJECT_RELEASE}/lib/bsp_specs: $(ARCH)/bsp_specs.tmp
88#       $(INSTALL) -m 444 $(ARCH)/bsp_specs.tmp $@
89#
90# $(ARCH)/bsp_specs.tmp rule is in leaf.cfg
Note: See TracBrowser for help on using the repository browser.