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

4.104.114.84.95
Last change on this file since da35120 was da35120, checked in by Ralf Corsepius <ralf.corsepius@…>, on Dec 11, 2002 at 5:58:37 PM

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

  • network/Makefile.am: Eliminate C_O_FILES.
  • rtc/Makefile.am: Ditto.
  • serial/Makefile.am: Ditto,
  • 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
12OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
13
14include_libchip_HEADERS = cs8900.h i82586var.h if_fxpvar.h sonic.h
15
16include $(top_srcdir)/../../../automake/compile.am
17include $(top_srcdir)/../../../automake/lib.am
18
19$(PROJECT_INCLUDE)/libchip:
20        @$(mkinstalldirs) $@
21$(PROJECT_INCLUDE)/libchip/%.h: %.h
22        $(INSTALL_DATA) $< $@
23
24#
25# Add local stuff here using +=
26#
27
28AM_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
29
30$(LIB): $(OBJS)
31        $(make-library)
32
33$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
34        $(INSTALL_DATA) $< $@
35
36if HAS_NETWORKING
37PREINSTALL_FILES = $(PROJECT_INCLUDE)/libchip \
38    $(include_libchip_HEADERS:%=$(PROJECT_INCLUDE)/libchip/%)
39endif
40
41TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
42
43if HAS_NETWORKING
44all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB) $(TMPINSTALL_FILES)
45endif
46
47.PRECIOUS: $(LIB)
48
49EXTRA_DIST = README README.cs8900 README.dec21140 README.i82586 README.sonic \
50    cs8900.c cs8900.c.bsp dec21140.c i82586.c if_fxp.c sonic.c
51
52include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.