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:
660 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 = ftpd.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 | $(LIB): $(OBJS) |
---|
23 | $(make-library) |
---|
24 | |
---|
25 | all-local: $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(LIB) |
---|
26 | |
---|
27 | .PRECIOUS: $(LIB) |
---|
28 | |
---|
29 | EXTRA_DIST = ftpd.c ftpd.h |
---|
30 | |
---|
31 | H_FILES = ftpd.h |
---|
32 | |
---|
33 | noinst_HEADERS = $(H_FILES) |
---|
34 | |
---|
35 | PREINSTALL_FILES += $(PROJECT_INCLUDE) $(H_FILES:%=$(PROJECT_INCLUDE)/%) |
---|
36 | |
---|
37 | $(PROJECT_INCLUDE)/%.h: %.h |
---|
38 | $(INSTALL_DATA) $< $@ |
---|
39 | |
---|
40 | include $(top_srcdir)/../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.