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

4.104.114.84.95
Last change on this file since 4a238002 was e1d8abb, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 7, 1999 at 1:45:03 PM

Applied patch rtems-rc-19990820-6.diff.gz from
Ralf Corsepius <corsepiu@…> which converted many
Makefile.in's to Makefile.am's. This added a lot of files.

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