source: rtems/cpukit/telnetd/Makefile.am @ 0724887f

4.104.114.84.95
Last change on this file since 0724887f was 0725ce32, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 14, 2004 at 7:26:51 AM

2004-01-14 Ralf Corsepius <corsepiu@…>

  • pppd/Makefile.am: Re-add dirstamps to PRE/TMPINSTALL_FILES. Add PRE/TMPINSTALL_FILES to CLEANFILES.
  • rtems_servers/Makefile.am: Ditto.
  • rtems_telnetd/Makefile.am: Ditto.
  • rtems_webserver/Makefile.am: Ditto.
  • 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        @$(mkdir_p) $(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
49CLEANFILES = $(PREINSTALL_FILES)
50
51include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.