source: rtems/c/src/lib/libbsp/sparc/erc32/erc32sonic/Makefile.am @ cde0ec8

4.104.114.84.95
Last change on this file since cde0ec8 was cde0ec8, checked in by Joel Sherrill <joel.sherrill@…>, on Nov 30, 2000 at 2:42:49 PM

2000-11-30 Joel Sherrill <joel@…>

  • erc32sonic/Makefile.am: Only compile this if networking is enabled.
  • Property mode set to 100644
File size: 696 bytes
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7PGM = $(ARCH)/erc32sonic.rel
8
9C_FILES = erc32sonic.c
10C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
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#
21
22AM_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
23
24$(PGM): $(OBJS)
25        $(make-rel)
26
27# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
28
29if HAS_NETWORKING
30all-local: $(ARCH) $(OBJS) $(PGM)
31endif
32
33.PRECIOUS: $(PGM)
34
35EXTRA_DIST = erc32sonic.c
36
37include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.