Last change
on this file since e89694e was
e89694e,
checked in by Joel Sherrill <joel.sherrill@…>, on 05/31/00 at 22:31:26
|
Distributed the preinstall of the header files to the directories
owning the header files.
|
-
Property mode set to
100644
|
File size:
873 bytes
|
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 = bootp_subr.c |
---|
11 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) |
---|
12 | |
---|
13 | OBJS = $(C_O_FILES) |
---|
14 | |
---|
15 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
16 | include $(top_srcdir)/../../../automake/lib.am |
---|
17 | |
---|
18 | # |
---|
19 | # Add local stuff here using += |
---|
20 | # |
---|
21 | |
---|
22 | AM_CPPFLAGS += -D_COMPILING_BSD_KERNEL_ -DKERNEL -DINET -DNFS -DDIAGNOSTIC \ |
---|
23 | -DBOOTP_COMPAT |
---|
24 | |
---|
25 | $(LIB): $(OBJS) |
---|
26 | $(make-library) |
---|
27 | |
---|
28 | all-local: $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(LIB) |
---|
29 | |
---|
30 | .PRECIOUS: $(LIB) |
---|
31 | |
---|
32 | EXTRA_DIST = bootp_subr.c |
---|
33 | |
---|
34 | H_FILES = krpc.h nfs.h nfsdiskless.h nfsproto.h rpcv2.h xdr_subs.h |
---|
35 | |
---|
36 | noinst_HEADERS = $(H_FILES) |
---|
37 | |
---|
38 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/nfs $(H_FILES:%=$(PROJECT_INCLUDE)/nfs/%) |
---|
39 | |
---|
40 | $(PROJECT_INCLUDE)/nfs: |
---|
41 | @$(mkinstalldirs) $@ |
---|
42 | |
---|
43 | $(PROJECT_INCLUDE)/nfs/%.h: %.h |
---|
44 | $(INSTALL_DATA) $< $@ |
---|
45 | |
---|
46 | |
---|
47 | include $(top_srcdir)/../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.