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

4.104.114.84.95
Last change on this file since 67a2288 was 67a2288, checked in by Joel Sherrill <joel.sherrill@…>, on 07/23/98 at 22:02:34

Patch from Eric VALETTE <valette@…>:

Here is a enhanced version of my previous patch. This patch enables
to potentially share the new interrupt management code for all Intel targets
(pc386, go32 and force386) bsp.

Note : this patch is complete only for pc386. It still needs to

be completed for go32 and force386. I carrefully checked
that anything needed is in for force386 (only some function
name changes for IDT manipulation and GDT segment
manipulation). But anyway I will not be able to test any
of theses targets...

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