4.104.114.84.95
Line | |
---|
1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | TEST = pppd |
---|
6 | PGM = ${ARCH}/$(TEST).exe |
---|
7 | |
---|
8 | MANAGERS = io event semaphore |
---|
9 | |
---|
10 | noinst_LIBRARIES = lib.a |
---|
11 | lib_a_SOURCES = init.c pppdapp.c netconfig.h system.h |
---|
12 | |
---|
13 | OBJS = $(lib_a_OBJECTS) |
---|
14 | |
---|
15 | |
---|
16 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
17 | include $(top_srcdir)/../automake/compile.am |
---|
18 | include $(top_srcdir)/../automake/leaf.am |
---|
19 | |
---|
20 | project_bspdir=$(PROJECT_ROOT) |
---|
21 | |
---|
22 | $(project_bspdir)/samples/$(dirstamp): |
---|
23 | @$(mkdir_p) $(project_bspdir)/samples |
---|
24 | @: > $(project_bspdir)/samples/$(dirstamp) |
---|
25 | $(project_bspdir)/tests/$(dirstamp): |
---|
26 | @$(mkdir_p) $(project_bspdir)/tests |
---|
27 | @: > $(project_bspdir)/tests/$(dirstamp) |
---|
28 | |
---|
29 | $(project_bspdir)/samples/$(TEST).exe: $(PGM) $(project_bspdir)/samples/$(dirstamp) |
---|
30 | $(INSTALL_PROGRAM) $< $@ |
---|
31 | |
---|
32 | $(project_bspdir)/tests/$(TEST).exe: $(PGM) $(project_bspdir)/tests/$(dirstamp) |
---|
33 | $(INSTALL_PROGRAM) $< $@ |
---|
34 | |
---|
35 | TMPINSTALL_FILES = $(project_bspdir)/tests/$(TEST).exe |
---|
36 | TMPINSTALL_FILES += $(project_bspdir)/samples/$(TEST).exe |
---|
37 | |
---|
38 | $(PGM): ${ARCH}/$(dirstamp) |
---|
39 | |
---|
40 | # |
---|
41 | # (OPTIONAL) Add local stuff here using += |
---|
42 | # |
---|
43 | |
---|
44 | LD_LIBS = -lpppd |
---|
45 | |
---|
46 | all-local: $(TMPINSTALL_FILES) |
---|
47 | |
---|
48 | ${PGM}: $(OBJS) $(LINK_FILES) |
---|
49 | $(make-exe) |
---|
50 | |
---|
51 | CLEANFILES = $(TMPINSTALL_FILES) |
---|
52 | |
---|
53 | include $(top_srcdir)/../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.