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

4.104.114.84.95
Last change on this file since a1ff7dd was 45d7f4c, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/02/03 at 04:41:19

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

  • pppd/Makefile.am: Remove all-local: $(ARCH).
  • rtems_servers/Makefile.am: Remove all-local: $(ARCH).
  • rtems_telnetd/Makefile.am: Remove all-local: $(ARCH).
  • rtems_webserver/Makefile.am: Remove all-local: $(ARCH).
  • wrapup/Makefile.am: Remove all-local: $(ARCH).
  • Property mode set to 100644
File size: 1.2 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        @$(mkinstalldirs) $(PROJECT_INCLUDE)/rtems
37        @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
38PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
39
40$(PROJECT_INCLUDE)/rtems/pty.h: pty.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
41        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/pty.h
42PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/pty.h
43
44$(PROJECT_INCLUDE)/rtems/telnetd.h: telnetd.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
45        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/telnetd.h
46PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/telnetd.h
47endif
48
49include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.