4.104.114.84.95
Line | |
---|
1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | AUTOMAKE_OPTIONS = foreign 1.4 |
---|
6 | |
---|
7 | LIBNAME = lib.a |
---|
8 | LIB = $(ARCH)/$(LIBNAME) |
---|
9 | |
---|
10 | C_FILES = sghostname.c issetugid.c rtems_glue.c rtems_syscall.c \ |
---|
11 | rtems_bootp.c rtems_showmbuf.c rtems_showroute.c rtems_showifstat.c \ |
---|
12 | rtems_showipstat.c rtems_showicmpstat.c rtems_showtcpstat.c \ |
---|
13 | rtems_showudpstat.c rtems_select.c |
---|
14 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) |
---|
15 | |
---|
16 | OBJS = $(C_O_FILES) |
---|
17 | |
---|
18 | H_FILES = rtems_bsdnet.h rtems_bsdnet_internal.h tftp.h |
---|
19 | |
---|
20 | noinst_HEADERS = $(H_FILES) |
---|
21 | |
---|
22 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems $(H_FILES:%=$(PROJECT_INCLUDE)/rtems/%) |
---|
23 | |
---|
24 | $(PROJECT_INCLUDE)/rtems: |
---|
25 | @$(mkinstalldirs) $@ |
---|
26 | |
---|
27 | $(PROJECT_INCLUDE)/rtems/%.h: %.h |
---|
28 | $(INSTALL_DATA) $< $@ |
---|
29 | |
---|
30 | |
---|
31 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
32 | include $(top_srcdir)/../../../automake/lib.am |
---|
33 | |
---|
34 | # |
---|
35 | # Add local stuff here using += |
---|
36 | # |
---|
37 | |
---|
38 | AM_CPPFLAGS += -D_COMPILING_BSD_KERNEL_ -DKERNEL -DINET -DNFS -DDIAGNOSTIC \ |
---|
39 | -DBOOTP_COMPAT |
---|
40 | |
---|
41 | $(LIB): $(OBJS) |
---|
42 | $(make-library) |
---|
43 | |
---|
44 | all-local: $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(LIB) |
---|
45 | |
---|
46 | .PRECIOUS: $(LIB) |
---|
47 | |
---|
48 | EXTRA_DIST = issetugid.c rtems_bootp.c rtems_glue.c rtems_select.c rtems_showicmpstat.c \ |
---|
49 | rtems_showifstat.c rtems_showipstat.c rtems_showmbuf.c rtems_showroute.c \ |
---|
50 | rtems_showtcpstat.c rtems_showudpstat.c rtems_syscall.c sghostname.c |
---|
51 | |
---|
52 | include $(top_srcdir)/../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.