Changeset f26145b in rtems for cpukit


Ignore:
Timestamp:
Feb 4, 2005, 12:40:16 PM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
4bf6a9f2
Parents:
f26a9760
Message:

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.
Location:
cpukit
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rf26a9760 rf26145b  
     12005-02-03      Ralf Corsepius <ralf.corsepius@rtems.org>
     2
     3        PR 756/rtems
     4        * ftpd/ftpd.c, ftpd/ftpd.h, ftpd/Makefile.am: New (relocated from
     5        /c/src/libnetworking/ftpd)
     6        * ftpd/ftd.h: New header guards.
     7        * ftpd/Makefile.am: Install libftd.a, install ftp.h to rtems/ftp.h.
     8        * configure.ac: Add ftpd/Makefile.
     9        * Makefile.am: Add ftpd.
     10
    1112005-02-03      Ralf Corsepius <ralf.corsepius@rtems.org>
    212
  • cpukit/Makefile.am

    rf26a9760 rf26145b  
    1313SUBDIRS += libmisc
    1414SUBDIRS += httpd
     15SUBDIRS += ftpd
    1516SUBDIRS += wrapup
    1617
  • cpukit/configure.ac

    rf26a9760 rf26145b  
    298298libmisc/Makefile
    299299httpd/Makefile
    300 
     300ftpd/Makefile
    301301wrapup/Makefile
    302302])
  • cpukit/ftpd/Makefile.am

    rf26a9760 rf26145b  
    55include $(top_srcdir)/automake/compile.am
    66
    7 noinst_LIBRARIES =
     7if HAS_NETWORKING
     8include_rtemsdir = $(includedir)/rtems
     9include_rtems_HEADERS = ftpd.h
    810
    9 if HAS_NETWORKING
    10 include_HEADERS = ftpd.h
    11 
    12 noinst_LIBRARIES += libftpd.a
     11project_lib_LIBRARIES = libftpd.a
    1312libftpd_a_SOURCES = ftpd.c ftpd.h
    1413libftpd_a_CPPFLAGS = $(AM_CPPFLAGS)
     
    1918PREINSTALL_DIRS =
    2019PREINSTALL_FILES =
     20TMPINSTALL_FILES =
    2121
    22 $(PROJECT_INCLUDE)/$(dirstamp):
    23         @$(mkdir_p) $(PROJECT_INCLUDE)
    24         @: > $(PROJECT_INCLUDE)/$(dirstamp)
    25 PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
     22$(PROJECT_LIB)/$(dirstamp):
     23        @$(mkdir_p) $(PROJECT_LIB)
     24        @: > $(PROJECT_LIB)/$(dirstamp)
     25TMPINSTALL_FILES += $(PROJECT_LIB)/$(dirstamp)
    2626
    2727if HAS_NETWORKING
    28 $(PROJECT_INCLUDE)/ftpd.h: ftpd.h $(PROJECT_INCLUDE)/$(dirstamp)
    29         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/ftpd.h
    30 PREINSTALL_FILES += $(PROJECT_INCLUDE)/ftpd.h
     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
    3140endif
    3241
    3342CLEANFILES = $(PREINSTALL_FILES)
    3443DISTCLEANFILES = $(PREINSTALL_DIRS)
     44CLEANFILES += $(TMPINSTALL_FILES)
    3545
    3646include $(top_srcdir)/automake/local.am
  • cpukit/ftpd/ftpd.h

    rf26a9760 rf26145b  
    55 */
    66
    7 #ifndef __FTPD_H__
    8 #define __FTPD_H__
     7#ifndef _RTEMS_FTPD_H
     8#define _RTEMS_FTPD_H
    99
    1010
     
    5454int rtems_initialize_ftpd();
    5555
    56 #endif  /* __FTPD_H__ */
     56#endif  /* _RTEMS_FTPD_H */
Note: See TracChangeset for help on using the changeset viewer.