source: rtems/c/src/lib/libcpu/i386/Makefile.in @ bd8c8b2a

4.104.114.84.95
Last change on this file since bd8c8b2a was bd8c8b2a, checked in by Joel Sherrill <joel.sherrill@…>, on 08/05/98 at 16:51:39

Patch from Eric Valette <valette@…> which brings the i386ex BSP
inline with the new IRQ structure.

  • Property mode set to 100644
File size: 1.3 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7VPATH = @srcdir@
8RTEMS_ROOT = @top_srcdir@
9PROJECT_ROOT = @PROJECT_ROOT@
10
11
12# C source names, if any, go here -- minus the .c
13C_PIECES=cpu displayCpu
14C_FILES=$(C_PIECES:%=%.c)
15C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
16
17H_FILES=$(srcdir)/cpu.h $(srcdir)/registers.h $(srcdir)/cpuModel.h
18
19# Assembly source names, if any, go here -- minus the .s
20S_PIECES=cpu_asm cpuModel
21S_FILES=$(S_PIECES:%=%.S)
22S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
23
24SRCS=$(C_FILES) $(H_FILES)
25OBJS=$(C_O_FILES) $(S_O_FILES)
26
27include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
28include $(RTEMS_ROOT)/make/lib.cfg
29
30LIB=${ARCH}/libcpuspec.a
31
32#
33# (OPTIONAL) Add local stuff here using +=
34#
35
36DEFINES  +=
37CPPFLAGS +=
38CFLAGS   +=
39
40LD_PATHS  +=
41LD_LIBS   +=
42LDFLAGS   +=
43
44#
45# Add your list of files to delete here.  The config files
46#  already know how to delete some stuff, so you may want
47#  to just run 'make clean' first to see what gets missed.
48#  'make clobber' already includes 'make clean'
49#
50
51CLEAN_ADDITIONS +=
52CLOBBER_ADDITIONS +=
53
54${LIB}: ${SRCS} ${OBJS}
55        $(make-library)
56
57preinstall :
58        $(MKDIR) $(PROJECT_INCLUDE)/libcpu
59        $(INSTALL) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/libcpu
60
61all:    ${ARCH} $(SRCS) preinstall $(OBJ) $(LIB)
62        cd wrapup; $(MAKE)
63
64# the .rel file built here will be put into libcpu.a by ../wrapup/Makefile
65install:  all
Note: See TracBrowser for help on using the repository browser.