Changeset f26145b in rtems for cpukit/ftpd/Makefile.am


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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.