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