source:
rtems/cpukit/ftpd/Makefile.am
@
451198be
Last change on this file since 451198be was 451198be, checked in by Joel Sherrill <joel.sherrill@…>, on 06/14/01 at 13:35:47 | |
---|---|
|
|
File size: 905 bytes |
Rev | Line | |
---|---|---|
[df49c60] | 1 | ## |
[4bf1801] | 2 | ## $Id$ |
[df49c60] | 3 | ## |
[4bf1801] | 4 | |
5 | AUTOMAKE_OPTIONS = foreign 1.4 | |
6 | ||
[e6d8fe47] | 7 | |
8 | ||
9 | ||
[4bf1801] | 10 | LIBNAME = lib.a |
11 | LIB = $(ARCH)/$(LIBNAME) | |
12 | ||
13 | C_FILES = ftpd.c | |
14 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) | |
15 | ||
16 | OBJS = $(C_O_FILES) | |
17 | ||
18 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg | |
[9b28bea5] | 19 | include $(top_srcdir)/../../../automake/compile.am |
[4bf1801] | 20 | include $(top_srcdir)/../../../automake/lib.am |
21 | ||
22 | # | |
23 | # Add local stuff here using += | |
24 | # | |
25 | ||
26 | $(LIB): $(OBJS) | |
27 | $(make-library) | |
28 | ||
[df49c60] | 29 | all-local: $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(LIB) |
[4bf1801] | 30 | |
31 | .PRECIOUS: $(LIB) | |
32 | ||
33 | EXTRA_DIST = ftpd.c ftpd.h | |
34 | ||
[e6d8fe47] | 35 | include_HEADERS = ftpd.h |
[df49c60] | 36 | |
[451198be] | 37 | include_rtems_HEADERS = telnetd.h |
38 | ||
39 | PREINSTALL_FILES += $(PROJECT_INCLUDE) \ | |
40 | $(include_HEADERS:%=$(PROJECT_INCLUDE)/%) \ | |
41 | $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%) | |
[df49c60] | 42 | |
43 | $(PROJECT_INCLUDE)/%.h: %.h | |
44 | $(INSTALL_DATA) $< $@ | |
[451198be] | 45 | $(PROJECT_INCLUDE)/rtems: |
46 | @$(mkinstalldirs) $@ | |
47 | $(PROJECT_INCLUDE)/rtems/%.h: %.h | |
48 | $(INSTALL_DATA) $< $@ | |
[df49c60] | 49 | |
[4bf1801] | 50 | include $(top_srcdir)/../../../automake/local.am |
Note: See TracBrowser
for help on using the repository browser.