4.104.114.84.95
Last change
on this file since 48bfd992 was
9f4868c,
checked in by Joel Sherrill <joel.sherrill@…>, on 11/23/99 at 13:57:02
|
Miscellaneous patches from Ralf Corsepius <corsepiu@…>
that are part of the Makefile.am conversion effort but were missed
in the previous commits.
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
Line | |
---|
1 | # |
---|
2 | # $Id$ |
---|
3 | # |
---|
4 | |
---|
5 | AUTOMAKE_OPTIONS = foreign 1.4 |
---|
6 | |
---|
7 | LIBNAME = libnetchip |
---|
8 | LIB = ${ARCH}/${LIBNAME}.a |
---|
9 | |
---|
10 | C_FILES = sonic.c |
---|
11 | C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o) |
---|
12 | |
---|
13 | H_FILES = sonic.h |
---|
14 | noinst_HEADERS = $(H_FILES) |
---|
15 | |
---|
16 | SRCS = $(C_FILES) $(H_FILES) |
---|
17 | OBJS = $(C_O_FILES) |
---|
18 | |
---|
19 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
20 | include $(RTEMS_ROOT)/make/lib.cfg |
---|
21 | |
---|
22 | $(PROJECT_INCLUDE)/libchip: |
---|
23 | @$(mkinstalldirs) $@ |
---|
24 | $(PROJECT_INCLUDE)/libchip/%.h: %.h |
---|
25 | $(INSTALL_DATA) $< $@ |
---|
26 | |
---|
27 | # |
---|
28 | # Add local stuff here using += |
---|
29 | # |
---|
30 | |
---|
31 | AM_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ |
---|
32 | AM_CFLAGS += $(LIBC_DEFINES) |
---|
33 | |
---|
34 | if HAS_NETWORKING |
---|
35 | |
---|
36 | PREINSTALL_FILES = \ |
---|
37 | $(PROJECT_INCLUDE)/libchip \ |
---|
38 | $(noinst_HEADERS:%=$(PROJECT_INCLUDE)/libchip/%) |
---|
39 | |
---|
40 | TMPINSTALL_FILES += \ |
---|
41 | $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a |
---|
42 | |
---|
43 | $(LIB): ${OBJS} |
---|
44 | $(make-library) |
---|
45 | |
---|
46 | $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB) |
---|
47 | $(INSTALL_DATA) $< $@ |
---|
48 | |
---|
49 | all: ${ARCH} $(PREINSTALL_FILES) $(TMPINSTALL_FILES) |
---|
50 | |
---|
51 | endif |
---|
52 | |
---|
53 | EXTRA_DIST = README README.sonic |
---|
54 | EXTRA_DIST += $(C_FILES) |
---|
55 | |
---|
56 | include $(top_srcdir)/../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.