source: rtems/cpukit/ftpd/Makefile.am @ ea68ed5

4.104.114.84.95
Last change on this file since ea68ed5 was f26145b, checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/04/05 at 12:40:16

2005-02-03 Ralf Corsepius <ralf.corsepius@…>

PR 756/rtems

  • ftpd/ftpd.c, ftpd/ftpd.h, ftpd/Makefile.am: New (relocated from /c/src/libnetworking/ftpd)
  • ftpd/ftd.h: New header guards.
  • ftpd/Makefile.am: Install libftd.a, install ftp.h to rtems/ftp.h.
  • configure.ac: Add ftpd/Makefile.
  • Makefile.am: Add ftpd.
  • Property mode set to 100644
File size: 1.1 KB
Line 
1##
2## $Id$
3##
4
5include $(top_srcdir)/automake/compile.am
6
7if HAS_NETWORKING
8include_rtemsdir = $(includedir)/rtems
9include_rtems_HEADERS = ftpd.h
10
11project_lib_LIBRARIES = libftpd.a
12libftpd_a_SOURCES = ftpd.c ftpd.h
13libftpd_a_CPPFLAGS = $(AM_CPPFLAGS)
14endif
15
16all-local: $(PREINSTALL_FILES)
17
18PREINSTALL_DIRS =
19PREINSTALL_FILES =
20TMPINSTALL_FILES =
21
22$(PROJECT_LIB)/$(dirstamp):
23        @$(mkdir_p) $(PROJECT_LIB)
24        @: > $(PROJECT_LIB)/$(dirstamp)
25TMPINSTALL_FILES += $(PROJECT_LIB)/$(dirstamp)
26
27if HAS_NETWORKING
28$(PROJECT_INCLUDE)/rtems/$(dirstamp):
29        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems
30        @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
31PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
32
33$(PROJECT_INCLUDE)/rtems/ftpd.h: ftpd.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
34        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/ftpd.h
35PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/ftpd.h
36
37$(PROJECT_LIB)/libftpd.a: libftpd.a $(PROJECT_LIB)/$(dirstamp)
38        $(INSTALL_DATA) $< $(PROJECT_LIB)/libftpd.a
39TMPINSTALL_FILES += $(PROJECT_LIB)/libftpd.a
40endif
41
42CLEANFILES = $(PREINSTALL_FILES)
43DISTCLEANFILES = $(PREINSTALL_DIRS)
44CLEANFILES += $(TMPINSTALL_FILES)
45
46include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.