source: rtems/c/src/libchip/network/Makefile.am @ 1c36c3e4

4.104.114.84.95
Last change on this file since 1c36c3e4 was 1c36c3e4, checked in by Ralf Corsepius <ralf.corsepius@…>, on Dec 10, 2002 at 8:40:39 AM

2002-12-10 Ralf Corsepius <corsepiu@…>

  • serial/Makefile.am: Don't include @RTEMS_BSP@.cfg. Don't use LIBC_DEFINES.
  • rtc/Makefile.am: Don't include @RTEMS_BSP@.cfg. Don't use LIBC_DEFINES.
  • network/Makefile.am: Don't include @RTEMS_BSP@.cfg. Don't use LIBC_DEFINES.
  • Property mode set to 100644
File size: 1.2 KB
Line 
1##
2## $Id$
3##
4
5
6include_libchipdir = $(includedir)/libchip
7
8LIBNAME = libnetchip
9LIB = $(ARCH)/$(LIBNAME).a
10
11C_FILES = cs8900.c dec21140.c i82586.c sonic.c if_fxp.c
12C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
13
14include_libchip_HEADERS = cs8900.h i82586var.h if_fxpvar.h sonic.h
15
16OBJS = $(C_O_FILES)
17
18include $(top_srcdir)/../../../automake/compile.am
19include $(top_srcdir)/../../../automake/lib.am
20
21$(PROJECT_INCLUDE)/libchip:
22        @$(mkinstalldirs) $@
23$(PROJECT_INCLUDE)/libchip/%.h: %.h
24        $(INSTALL_DATA) $< $@
25
26#
27# Add local stuff here using +=
28#
29
30AM_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
31
32$(LIB): $(OBJS)
33        $(make-library)
34
35$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
36        $(INSTALL_DATA) $< $@
37
38if HAS_NETWORKING
39PREINSTALL_FILES = $(PROJECT_INCLUDE)/libchip \
40    $(include_libchip_HEADERS:%=$(PROJECT_INCLUDE)/libchip/%)
41endif
42
43TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
44
45if HAS_NETWORKING
46all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB) $(TMPINSTALL_FILES)
47endif
48
49.PRECIOUS: $(LIB)
50
51EXTRA_DIST = README README.cs8900 README.dec21140 README.i82586 README.sonic \
52    cs8900.c cs8900.c.bsp dec21140.c i82586.c if_fxp.c sonic.c
53
54include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.