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
RevLine 
[df49c60]1##
[70810dc]2## $Id$
[df49c60]3##
[9608320]4
5
[d3795e3e]6include_libchipdir = $(includedir)/libchip
7
[9608320]8LIBNAME = libnetchip
[70810dc]9LIB = $(ARCH)/$(LIBNAME).a
[9608320]10
[1f14ff4]11# add cs8900.c to work with it and make it compile
[ed13346]12C_FILES = dec21140.c i82586.c sonic.c
[70810dc]13C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
[9608320]14
[6a9db57]15include_libchip_HEADERS = cs8900.h i82586var.h sonic.h
[9608320]16
17OBJS = $(C_O_FILES)
18
19include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
[1070c61]20include $(top_srcdir)/../../../automake/compile.am
[70810dc]21include $(top_srcdir)/../../../automake/lib.am
[9608320]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
[8af6d15]32AM_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
33AM_CFLAGS += $(LIBC_DEFINES)
[9608320]34
[70810dc]35$(LIB): $(OBJS)
[9608320]36        $(make-library)
37
[9f4868c]38$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
[9608320]39        $(INSTALL_DATA) $< $@
40
[70810dc]41if HAS_NETWORKING
[e414566]42PREINSTALL_FILES = $(PROJECT_INCLUDE)/libchip \
[d3795e3e]43    $(include_libchip_HEADERS:%=$(PROJECT_INCLUDE)/libchip/%)
[70810dc]44endif
45
46TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
[9608320]47
[70810dc]48if HAS_NETWORKING
49all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB) $(TMPINSTALL_FILES)
[9608320]50endif
51
[70810dc]52.PRECIOUS: $(LIB)
53
[6a9db57]54EXTRA_DIST = README README.cs8900 README.dec21140 README.i82586 README.sonic \
55    cs8900.c dec21140.c i82586.c sonic.c
[9608320]56
57include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.