source: rtems/c/src/lib/libchip/network/Makefile.in @ c9c67390

4.104.114.84.95
Last change on this file since c9c67390 was c9c67390, checked in by Joel Sherrill <joel.sherrill@…>, on 02/05/99 at 00:34:17

Split SONIC chip into appropriate files for libchip'ing. The portable
portion is now in the libchip tree and the dmv177 configuration is in
the dmv177 bsp. The performance impact of libchip'ing this driver
was minimal.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7VPATH = @srcdir@
8RTEMS_ROOT = @top_srcdir@
9PROJECT_ROOT = @PROJECT_ROOT@
10
11LIBNAME=libnetchip.a
12LIB=${ARCH}/${LIBNAME}
13
14C_PIECES=\
15    sonic
16
17C_FILES=$(C_PIECES:%=%.c)
18C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
19
20INSTALLED_H_FILES=$(srcdir)/sonic.h
21SRCS=$(C_FILES) $(H_FILES) $(SYS_H_FILES) $(RTEMS_H_FILES) $(PRIVATE_H_FILES)
22OBJS=$(C_O_FILES)
23
24include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
25include $(RTEMS_ROOT)/make/lib.cfg
26
27#
28# Add local stuff here using +=
29#
30
31DEFINES  += -D_COMPILING_BSD_KERNEL_ -DKERNEL -DINET -DNFS \
32     -DDIAGNOSTIC -DBOOTP_COMPAT
33CPPFLAGS +=
34CFLAGS   += $(LIBC_DEFINES)
35
36#
37# Add your list of files to delete here.  The config files
38#  already know how to delete some stuff, so you may want
39#  to just run 'make clean' first to see what gets missed.
40#  'make clobber' already includes 'make clean'
41#
42
43CLEAN_ADDITIONS += $(LIB)
44CLOBBER_ADDITIONS +=
45
46all:    ${ARCH} preinstall $(LIB)
47        $(INSTALL_VARIANT) -m 644 ${LIB} ${PROJECT_RELEASE}/lib
48
49$(LIB): $(SRCS) ${OBJS}
50        $(make-library)
51
52# Install the library, appending _g or _p as appropriate.
53# for include files, just use $(INSTALL)
54preinstall:
55        $(INSTALL) -m 444 $(INSTALLED_H_FILES) $(PROJECT_INCLUDE)/libchip
56
57
Note: See TracBrowser for help on using the repository browser.