4.104.114.84.95
Line | |
---|
1 | # |
---|
2 | # $Id$ |
---|
3 | # |
---|
4 | |
---|
5 | @SET_MAKE@ |
---|
6 | srcdir = @srcdir@ |
---|
7 | top_srcdir = @top_srcdir@ |
---|
8 | VPATH=@srcdir@ |
---|
9 | |
---|
10 | # we use host compiler here for gensize. Hopefully it has same alignment!! |
---|
11 | USE_HOST_COMPILER=yes |
---|
12 | |
---|
13 | # C source names, if any, go here -- minus the .c |
---|
14 | C_PIECES=gensize |
---|
15 | C_FILES=$(C_PIECES:%=%.c) |
---|
16 | C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) |
---|
17 | |
---|
18 | H_FILES= |
---|
19 | |
---|
20 | SRCS=$(C_FILES) $(H_FILES) |
---|
21 | OBJS=$(C_O_FILES) |
---|
22 | |
---|
23 | PGMS=${ARCH}/gensize |
---|
24 | |
---|
25 | include $(RTEMS_CUSTOM) |
---|
26 | include $(PROJECT_ROOT)/make/leaf.cfg |
---|
27 | |
---|
28 | # We use files that have not been installed yet. |
---|
29 | CPU_DIR=../../cpu/$(RTEMS_CPU) |
---|
30 | |
---|
31 | # |
---|
32 | # (OPTIONAL) Add local stuff here using += |
---|
33 | # |
---|
34 | |
---|
35 | DEFINES += |
---|
36 | CPPFLAGS += -I$(PROJECT_INCLUDE) \ |
---|
37 | -I$(CPU_DIR) |
---|
38 | CFLAGS += |
---|
39 | |
---|
40 | LD_PATHS += |
---|
41 | LD_LIBS += |
---|
42 | LDFLAGS += |
---|
43 | |
---|
44 | # |
---|
45 | # Add your list of files to delete here. |
---|
46 | # |
---|
47 | |
---|
48 | CLEAN_ADDITIONS += |
---|
49 | CLOBBER_ADDITIONS += |
---|
50 | |
---|
51 | all: ${ARCH} $(SRCS) $(PGMS) |
---|
52 | $(INSTALL) -m 555 ${PGMS} ${PROJECT_RELEASE}/bin |
---|
53 | |
---|
54 | preinstall: |
---|
55 | |
---|
56 | # Install the program(s), appending _g or _p as appropriate. |
---|
57 | # for include files, just use $(INSTALL) |
---|
Note: See
TracBrowser
for help on using the repository browser.