source: rtems/cpukit/ftpd/Makefile.am @ 19fb5d3

4.104.114.84.95
Last change on this file since 19fb5d3 was 19fb5d3, checked in by Ralf Corsepius <ralf.corsepius@…>, on Dec 12, 2003 at 3:58:16 PM

2003-12-12 Ralf Corsepius <corsepiu@…>

  • pppd/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
  • rtems_servers/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
  • rtems_telnetd/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
  • rtems_webserver/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
  • Property mode set to 100644
File size: 942 bytes
Line 
1##
2## $Id$
3##
4
5LIBNAME = lib.a
6LIB = $(ARCH)/$(LIBNAME)
7
8C_FILES = ftpd.c
9OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
10
11include $(top_srcdir)/automake/compile.am
12include $(top_srcdir)/automake/lib.am
13
14#
15# Add local stuff here using +=
16#
17
18EXTRA_DIST = ftpd.c ftpd.h
19
20if HAS_NETWORKING
21include_rtemsdir = $(includedir)/rtems
22
23include_HEADERS = ftpd.h
24
25include_rtems_HEADERS =
26
27$(LIB): $(OBJS)
28        $(make-library)
29
30all-local: $(PREINSTALL_FILES) $(OBJS) $(LIB)
31endif
32
33.PRECIOUS: $(LIB)
34
35PREINSTALL_FILES =
36
37$(PROJECT_INCLUDE)/$(dirstamp):
38        @$(mkdir_p) $(PROJECT_INCLUDE)
39        @: > $(PROJECT_INCLUDE)/$(dirstamp)
40
41if HAS_NETWORKING
42$(PROJECT_INCLUDE)/rtems/$(dirstamp):
43        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems
44        @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
45
46$(PROJECT_INCLUDE)/ftpd.h: ftpd.h $(PROJECT_INCLUDE)/$(dirstamp)
47        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/ftpd.h
48PREINSTALL_FILES += $(PROJECT_INCLUDE)/ftpd.h
49endif
50
51include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.