source: rtems/c/src/libchip/network/Makefile.am @ 657af74

4.104.114.84.95
Last change on this file since 657af74 was 657af74, checked in by Joel Sherrill <joel.sherrill@…>, on Mar 28, 2002 at 12:49:32 AM

2002-03-27 Ralf Corsepius <corsepiu@…>

  • configure.ac: AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS). AM_INIT_AUTOMAKE([no-define foreign 1.6]).
  • network/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • Makefile.am: Remove AUTOMAKE_OPTIONS.
  • rtc/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • serial/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • Property mode set to 100644
File size: 1.3 KB
Line 
1##
2## $Id$
3##
4
5
6include_libchipdir = $(includedir)/libchip
7
8LIBNAME = libnetchip
9LIB = $(ARCH)/$(LIBNAME).a
10
11# add cs8900.c to work with it and make it compile
12C_FILES = dec21140.c i82586.c sonic.c
13C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
14
15include_libchip_HEADERS = cs8900.h i82586var.h sonic.h
16
17OBJS = $(C_O_FILES)
18
19include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
20include $(top_srcdir)/../../../automake/compile.am
21include $(top_srcdir)/../../../automake/lib.am
22
23$(PROJECT_INCLUDE)/libchip:
24        @$(mkinstalldirs) $@
25$(PROJECT_INCLUDE)/libchip/%.h: %.h
26        $(INSTALL_DATA) $< $@
27
28#
29# Add local stuff here using +=
30#
31
32AM_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
33AM_CFLAGS += $(LIBC_DEFINES)
34
35$(LIB): $(OBJS)
36        $(make-library)
37
38$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
39        $(INSTALL_DATA) $< $@
40
41if HAS_NETWORKING
42PREINSTALL_FILES = $(PROJECT_INCLUDE)/libchip \
43    $(include_libchip_HEADERS:%=$(PROJECT_INCLUDE)/libchip/%)
44endif
45
46TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
47
48if HAS_NETWORKING
49all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB) $(TMPINSTALL_FILES)
50endif
51
52.PRECIOUS: $(LIB)
53
54EXTRA_DIST = README README.cs8900 README.dec21140 README.i82586 README.sonic \
55    cs8900.c dec21140.c i82586.c sonic.c
56
57include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.