source: rtems/c/src/libnetworking/rtems_telnetd/Makefile.am @ 97380b4

4.104.114.84.95
Last change on this file since 97380b4 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
Line 
1##
2## $Id$
3##
4
5include $(top_srcdir)/automake/compile.am
6include $(top_srcdir)/automake/lib.am
7
8EXTRA_LIBRARIES =
9CLEANFILES =
10
11if HAS_NETWORKING
12include_rtemsdir = $(includedir)/rtems
13include_rtems_HEADERS = pty.h telnetd.h
14
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)
24
25noinst_DATA = libtelnetd$(LIB_VARIANT).a
26endif
27
28EXTRA_DIST = README
29
30all-local: $(PREINSTALL_FILES)
31
32PREINSTALL_DIRS =
33PREINSTALL_FILES =
34
35if HAS_NETWORKING
36$(PROJECT_INCLUDE)/rtems/$(dirstamp):
37        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems
38        @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
39PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
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
50CLEANFILES += $(PREINSTALL_FILES)
51DISTCLEANFILES = $(PREINSTALL_DIRS)
52
53include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.