source: rtems/c/src/lib/libbsp/arm/edb7312/network/Makefile.am @ 36ea4c2a

4.104.114.84.95
Last change on this file since 36ea4c2a was 36ea4c2a, checked in by Joel Sherrill <joel.sherrill@…>, on Dec 2, 2002 at 7:13:38 PM

2002-12-02 Joel Sherrill <joel@…>

  • configure.ac, network/Makefile.am: Don't build if networking disabled.
  • startup/linkcmds: Add sections to remove warnings.
  • Property mode set to 100644
File size: 857 bytes
Line 
1##
2## $Id$
3##
4
5PGM = $(ARCH)/network.rel
6
7C_FILES = network.c
8C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
9
10include_HEADERS =
11
12OBJS = $(C_O_FILES)
13
14include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
15include $(top_srcdir)/../../../../../../automake/compile.am
16include $(top_srcdir)/../../../../../../automake/lib.am
17
18#
19# (OPTIONAL) Add local stuff here using +=
20#
21AM_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
22
23$(PROJECT_INCLUDE):
24        $(mkinstalldirs) $@
25
26$(PROJECT_INCLUDE)/%.h: %.h
27        $(INSTALL_DATA) $< $@
28
29PREINSTALL_FILES = $(PROJECT_INCLUDE) \
30    $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
31
32$(PGM): $(OBJS)
33        $(make-rel)
34
35# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
36
37if HAS_NETWORKING
38all-local: $(ARCH) $(OBJS) $(PGM)
39endif
40
41.PRECIOUS: $(PGM)
42
43EXTRA_DIST = network.c
44
45include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.