source: rtems/cpukit/telnetd/Makefile.am @ 11a37032

4.104.114.84.95
Last change on this file since 11a37032 was 19fb5d3, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/12/03 at 15:58:16

2003-12-12 Ralf Corsepius <corsepiu@…>

  • pppd/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
  • rtems_servers/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
  • rtems_telnetd/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
  • rtems_webserver/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[bd520203]1##
2## $Id$
3##
4
5LIBNAME = libtelnetd-tmp
6LIB = $(ARCH)/$(LIBNAME).a
7
8C_FILES = pty.c telnetd.c icmds.c
[4855824]9OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
[bd520203]10
[6a8e52d]11include $(top_srcdir)/automake/compile.am
12include $(top_srcdir)/automake/lib.am
[bd520203]13
14#
15# (OPTIONAL) Add local stuff here using +=
16#
17
[4078e82]18if HAS_NETWORKING
19include_rtemsdir = $(includedir)/rtems
20include_rtems_HEADERS = pty.h telnetd.h
21
[bd520203]22$(LIB): $(OBJS)
23        $(make-library)
24
[45d7f4c]25all-local: $(PREINSTALL_FILES) $(OBJS) $(LIB)
[4078e82]26endif
[bd520203]27
28.PRECIOUS: $(LIB)
29
30EXTRA_DIST = README pty.c telnetd.c pty.h icmds.c telnetd.h
31
[74066232]32PREINSTALL_FILES =
33
34if HAS_NETWORKING
35$(PROJECT_INCLUDE)/rtems/$(dirstamp):
[19fb5d3]36        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems
[74066232]37        @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
38
39$(PROJECT_INCLUDE)/rtems/pty.h: pty.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
40        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/pty.h
41PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/pty.h
42
43$(PROJECT_INCLUDE)/rtems/telnetd.h: telnetd.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
44        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/telnetd.h
45PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/telnetd.h
46endif
47
[6a8e52d]48include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.