source: rtems/cpukit/telnetd/Makefile.am @ b5d91ad

4.104.114.84.95
Last change on this file since b5d91ad was b5d91ad, checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/03/04 at 06:21:42

2004-02-03 Ralf Corsepius <corsepiu@…>

  • libnetworking/rtems_webserver/Makefile.am: Add PREINSTALL_DIRS.
  • libnetworking/rtems_telnetd/Makefile.am: Add PREINSTALL_DIRS.
  • libnetworking/rtems_servers/Makefile.am: Add PREINSTALL_DIRS.
  • libnetworking/pppd/Makefile.am: Add PREINSTALL_DIRS.
  • Property mode set to 100644
File size: 1.4 KB
RevLine 
[bd520203]1##
2## $Id$
3##
4
[6a8e52d]5include $(top_srcdir)/automake/compile.am
6include $(top_srcdir)/automake/lib.am
[bd520203]7
[633456e]8EXTRA_LIBRARIES =
9CLEANFILES =
[bd520203]10
[4078e82]11if HAS_NETWORKING
12include_rtemsdir = $(includedir)/rtems
13include_rtems_HEADERS = pty.h telnetd.h
14
[633456e]15EXTRA_LIBRARIES += libtelnetd.a
16CLEANFILES += libtelnetd.a
17libtelnetd_a_SOURCES = pty.c pty.h telnetd.c telnetd.h icmds.c
18libtelnetd_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
19
20EXTRA_LIBRARIES += libtelnetd_g.a
21CLEANFILES += libtelnetd_g.a
22libtelnetd_g_a_SOURCES = $(libtelnetd_a_SOURCES)
23libtelnetd_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
[bd520203]24
[633456e]25noinst_DATA = libtelnetd$(LIB_VARIANT).a
[4078e82]26endif
[bd520203]27
[633456e]28EXTRA_DIST = README
[bd520203]29
[633456e]30all-local: $(PREINSTALL_FILES)
[bd520203]31
[b5d91ad]32PREINSTALL_DIRS =
[74066232]33PREINSTALL_FILES =
34
35if HAS_NETWORKING
36$(PROJECT_INCLUDE)/rtems/$(dirstamp):
[19fb5d3]37        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems
[74066232]38        @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
[b5d91ad]39PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
[74066232]40
41$(PROJECT_INCLUDE)/rtems/pty.h: pty.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
42        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/pty.h
43PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/pty.h
44
45$(PROJECT_INCLUDE)/rtems/telnetd.h: telnetd.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
46        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/telnetd.h
47PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/telnetd.h
48endif
49
[633456e]50CLEANFILES += $(PREINSTALL_FILES)
[b5d91ad]51DISTCLEANFILES = $(PREINSTALL_DIRS)
[0725ce32]52
[6a8e52d]53include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.