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
Line | |
---|
1 | # |
---|
2 | # $Id$ |
---|
3 | # |
---|
4 | |
---|
5 | # we use host compiler in this directory |
---|
6 | USE_HOST_COMPILER=yes |
---|
7 | |
---|
8 | # C source names, if any, go here -- minus the .c |
---|
9 | C_PIECES=buffer serverTcp clientTcp serverUdp clientUdp |
---|
10 | C_FILES=$(C_PIECES:%=%.c) |
---|
11 | C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) |
---|
12 | |
---|
13 | H_FILES= |
---|
14 | |
---|
15 | SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) |
---|
16 | OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) |
---|
17 | |
---|
18 | include $(RTEMS_MAKEFILE_PATH)/Makefile.inc |
---|
19 | include $(RTEMS_CUSTOM) |
---|
20 | include $(PROJECT_ROOT)/make/leaf.cfg |
---|
21 | |
---|
22 | PGMS=$(ARCH)/serverTcp$(EXEEXT) $(ARCH)/clientTcp$(EXEEXT) \ |
---|
23 | $(ARCH)/serverUdp$(EXEEXT) $(ARCH)/clientUdp$(EXEEXT) |
---|
24 | |
---|
25 | # |
---|
26 | # (OPTIONAL) Add local stuff here using += |
---|
27 | # |
---|
28 | |
---|
29 | DEFINES += |
---|
30 | CPPFLAGS += -I.. |
---|
31 | CFLAGS += |
---|
32 | |
---|
33 | LD_PATHS += |
---|
34 | LD_LIBS += $(ARCH)/buffer.o |
---|
35 | LDFLAGS += |
---|
36 | |
---|
37 | # |
---|
38 | # Add your list of files to delete here. The config files |
---|
39 | # already know how to delete some stuff, so you may want |
---|
40 | # to just run 'make clean' first to see what gets missed. |
---|
41 | # 'make clobber' already includes 'make clean' |
---|
42 | # |
---|
43 | |
---|
44 | CLEAN_ADDITIONS += $(HOST_ARCH) |
---|
45 | CLOBBER_ADDITIONS += buffer.c |
---|
46 | |
---|
47 | all: $(ARCH) buffer.c $(OBJS) $(SRCS) $(PGMS) |
---|
48 | $(INSTALL_VARIANT) -m 555 ${PGMS} ${PROJECT_RELEASE}/tests |
---|
49 | $(INSTALL_VARIANT) -m 555 ${PGMS} ${PROJECT_RELEASE}/samples |
---|
50 | |
---|
51 | buffer.c: |
---|
52 | $(LN) ../buffer.c . |
---|
Note: See
TracBrowser
for help on using the repository browser.