source: rtems/cpukit/telnetd/Makefile.am @ 19fb5d3

4.104.114.84.95
Last change on this file since 19fb5d3 was 19fb5d3, checked in by Ralf Corsepius <ralf.corsepius@…>, on Dec 12, 2003 at 3:58:16 PM

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
Line 
1##
2## $Id$
3##
4
5LIBNAME = libtelnetd-tmp
6LIB = $(ARCH)/$(LIBNAME).a
7
8C_FILES = pty.c telnetd.c icmds.c
9OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
10
11include $(top_srcdir)/automake/compile.am
12include $(top_srcdir)/automake/lib.am
13
14#
15# (OPTIONAL) Add local stuff here using +=
16#
17
18if HAS_NETWORKING
19include_rtemsdir = $(includedir)/rtems
20include_rtems_HEADERS = pty.h telnetd.h
21
22$(LIB): $(OBJS)
23        $(make-library)
24
25all-local: $(PREINSTALL_FILES) $(OBJS) $(LIB)
26endif
27
28.PRECIOUS: $(LIB)
29
30EXTRA_DIST = README pty.c telnetd.c pty.h icmds.c telnetd.h
31
32PREINSTALL_FILES =
33
34if HAS_NETWORKING
35$(PROJECT_INCLUDE)/rtems/$(dirstamp):
36        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems
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
48include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.