4.11ERIC-NORUMnetdemos-4-5-branchnetwork-demos-4-10-branchnetwork-demos-4-6-branchnetwork-demos-4-7-branchnetwork-demos-4-8-branchnetwork-demos-4-9-branchrtems-4-5-branch
Demos-30May1998
Last change
on this file since c87143a was
c87143a,
checked in by Joel Sherrill <joel.sherrill@…>, on 07/30/98 at 14:42:29
|
base from Eric Norum -- Demos.30May1998.tar.gz
|
-
Property mode set to
100644
|
File size:
1.3 KB
|
Line | |
---|
1 | SAMPLE=tftp |
---|
2 | PGM=${ARCH}/$(SAMPLE).exe |
---|
3 | |
---|
4 | MANAGERS=io event semaphore timer rate_monotonic |
---|
5 | |
---|
6 | # C source names, if any, go here -- minus the .c |
---|
7 | C_PIECES= init test |
---|
8 | C_FILES=$(C_PIECES:%=%.c) |
---|
9 | C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) |
---|
10 | |
---|
11 | H_FILES= |
---|
12 | |
---|
13 | DOCTYPES= |
---|
14 | DOCS=$(DOCTYPES:%=$(SAMPLE).%) |
---|
15 | |
---|
16 | SRCS=$(DOCS) $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) |
---|
17 | OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) |
---|
18 | |
---|
19 | PRINT_SRCS=$(DOCS) |
---|
20 | |
---|
21 | PGM=${ARCH}/$(SAMPLE).exe |
---|
22 | |
---|
23 | include $(RTEMS_MAKEFILE_PATH)/Makefile.inc |
---|
24 | include $(RTEMS_CUSTOM) |
---|
25 | include $(PROJECT_ROOT)/make/leaf.cfg |
---|
26 | |
---|
27 | # |
---|
28 | # (OPTIONAL) Add local stuff here using += |
---|
29 | # |
---|
30 | |
---|
31 | DEFINES += |
---|
32 | CPPFLAGS += |
---|
33 | CFLAGS += |
---|
34 | CFLAGS_LD += -Wl,--defsym -Wl,HeapSize=0x40000 # KA9Q needs more space |
---|
35 | CFLAGS_OPTIMIZE_V += |
---|
36 | CFLAGS_DEBUG_V += -qrtems_debug # -v |
---|
37 | |
---|
38 | |
---|
39 | LD_PATHS += |
---|
40 | LD_LIBS += |
---|
41 | |
---|
42 | # |
---|
43 | # Add your list of files to delete here. The config files |
---|
44 | # already know how to delete some stuff, so you may want |
---|
45 | # to just run 'make clean' first to see what gets missed. |
---|
46 | # 'make clobber' already includes 'make clean' |
---|
47 | # |
---|
48 | |
---|
49 | CLEAN_ADDITIONS += |
---|
50 | CLOBBER_ADDITIONS += |
---|
51 | |
---|
52 | all: ${ARCH} $(SRCS) $(PGM) |
---|
53 | |
---|
54 | ${PGM}: $(OBJS) $(LINK_FILES) |
---|
55 | $(make-exe) |
---|
56 | |
---|
57 | # Install the program(s), appending _g or _p as appropriate. |
---|
58 | # for include files, just use $(INSTALL) |
---|
59 | install: all |
---|
60 | $(INSTALL_VARIANT) -m 555 ${PGM} ${PROJECT_RELEASE}/tests |
---|
Note: See
TracBrowser
for help on using the repository browser.