source:
rtems/c/src/libnetworking/rtems_servers/Makefile.am
@
19fb5d3
Last change on this file since 19fb5d3 was 19fb5d3, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/12/03 at 15:58:16 | |
---|---|
|
|
File size: 942 bytes |
Rev | Line | |
---|---|---|
[df49c60] | 1 | ## |
[4bf1801] | 2 | ## $Id$ |
[df49c60] | 3 | ## |
[4bf1801] | 4 | |
5 | LIBNAME = lib.a | |
6 | LIB = $(ARCH)/$(LIBNAME) | |
7 | ||
8 | C_FILES = ftpd.c | |
[4855824] | 9 | OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) |
[4bf1801] | 10 | |
[6a8e52d] | 11 | include $(top_srcdir)/automake/compile.am |
12 | include $(top_srcdir)/automake/lib.am | |
[4bf1801] | 13 | |
14 | # | |
15 | # Add local stuff here using += | |
16 | # | |
17 | ||
[4078e82] | 18 | EXTRA_DIST = ftpd.c ftpd.h |
19 | ||
20 | if HAS_NETWORKING | |
21 | include_rtemsdir = $(includedir)/rtems | |
22 | ||
23 | include_HEADERS = ftpd.h | |
24 | ||
25 | include_rtems_HEADERS = | |
26 | ||
[4bf1801] | 27 | $(LIB): $(OBJS) |
28 | $(make-library) | |
29 | ||
[45d7f4c] | 30 | all-local: $(PREINSTALL_FILES) $(OBJS) $(LIB) |
[4078e82] | 31 | endif |
[4bf1801] | 32 | |
33 | .PRECIOUS: $(LIB) | |
34 | ||
[74066232] | 35 | PREINSTALL_FILES = |
36 | ||
37 | $(PROJECT_INCLUDE)/$(dirstamp): | |
[19fb5d3] | 38 | @$(mkdir_p) $(PROJECT_INCLUDE) |
[74066232] | 39 | @: > $(PROJECT_INCLUDE)/$(dirstamp) |
40 | ||
41 | if HAS_NETWORKING | |
42 | $(PROJECT_INCLUDE)/rtems/$(dirstamp): | |
[19fb5d3] | 43 | @$(mkdir_p) $(PROJECT_INCLUDE)/rtems |
[74066232] | 44 | @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
45 | ||
46 | $(PROJECT_INCLUDE)/ftpd.h: ftpd.h $(PROJECT_INCLUDE)/$(dirstamp) | |
47 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/ftpd.h | |
48 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/ftpd.h | |
49 | endif | |
[df49c60] | 50 | |
[6a8e52d] | 51 | include $(top_srcdir)/automake/local.am |
Note: See TracBrowser
for help on using the repository browser.