4.104.114.84.95
Last change
on this file since 674c900 was
674c900,
checked in by Joel Sherrill <joel.sherrill@…>, on 12/10/97 at 16:58:00
|
Modified a lot of files to take a first cut at supporting building from
any directory in the build tree. The only variable which must be set
before the command "gmake" is invoked is RTEMS_BSP (e.g. RTEMS_BSP=erc32).
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | # |
---|
2 | # $Id$ |
---|
3 | # |
---|
4 | |
---|
5 | @SET_MAKE@ |
---|
6 | srcdir = @srcdir@ |
---|
7 | top_srcdir = @top_srcdir@ |
---|
8 | VPATH = @srcdir@ |
---|
9 | RTEMS_ROOT = @RTEMS_ROOT@ |
---|
10 | PROJECT_ROOT = @PROJECT_ROOT@ |
---|
11 | RTEMS_CUSTOM = $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg |
---|
12 | |
---|
13 | # we use host compiler here for gensize. Hopefully it has same alignment!! |
---|
14 | USE_HOST_COMPILER=yes |
---|
15 | |
---|
16 | # C source names, if any, go here -- minus the .c |
---|
17 | C_PIECES=gensize |
---|
18 | C_FILES=$(C_PIECES:%=%.c) |
---|
19 | C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) |
---|
20 | |
---|
21 | H_FILES= |
---|
22 | |
---|
23 | SRCS=$(C_FILES) $(H_FILES) |
---|
24 | OBJS=$(C_O_FILES) |
---|
25 | |
---|
26 | PGMS=${ARCH}/gensize |
---|
27 | |
---|
28 | include $(RTEMS_CUSTOM) |
---|
29 | include $(PROJECT_ROOT)/make/leaf.cfg |
---|
30 | |
---|
31 | # We use files that have not been installed yet. |
---|
32 | CPU_DIR=../../cpu/$(RTEMS_CPU) |
---|
33 | |
---|
34 | # |
---|
35 | # (OPTIONAL) Add local stuff here using += |
---|
36 | # |
---|
37 | |
---|
38 | DEFINES += |
---|
39 | CPPFLAGS += -I$(PROJECT_INCLUDE) \ |
---|
40 | -I$(CPU_DIR) |
---|
41 | CFLAGS += |
---|
42 | |
---|
43 | LD_PATHS += |
---|
44 | LD_LIBS += |
---|
45 | LDFLAGS += |
---|
46 | |
---|
47 | # |
---|
48 | # Add your list of files to delete here. |
---|
49 | # |
---|
50 | |
---|
51 | CLEAN_ADDITIONS += |
---|
52 | CLOBBER_ADDITIONS += |
---|
53 | |
---|
54 | all: ${ARCH} $(SRCS) $(PGMS) |
---|
55 | $(INSTALL) -m 555 ${PGMS} ${PROJECT_RELEASE}/bin |
---|
56 | |
---|
57 | preinstall: |
---|
58 | |
---|
59 | # Install the program(s), appending _g or _p as appropriate. |
---|
60 | # for include files, just use $(INSTALL) |
---|
Note: See
TracBrowser
for help on using the repository browser.