source: rtems/cpukit/ftpd/Makefile.am @ 0725ce32

4.104.114.84.95
Last change on this file since 0725ce32 was 0725ce32, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/14/04 at 07:26:51

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.1 KB
Line 
1##
2## $Id$
3##
4
5LIBNAME = lib.a
6LIB = $(ARCH)/$(LIBNAME)
7
8C_FILES = ftpd.c
9OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
10
11include $(top_srcdir)/automake/compile.am
12include $(top_srcdir)/automake/lib.am
13
14#
15# Add local stuff here using +=
16#
17
18EXTRA_DIST = ftpd.c ftpd.h
19
20if HAS_NETWORKING
21include_rtemsdir = $(includedir)/rtems
22
23include_HEADERS = ftpd.h
24
25include_rtems_HEADERS =
26
27$(LIB): $(OBJS)
28        $(make-library)
29
30all-local: $(PREINSTALL_FILES) $(OBJS) $(LIB)
31endif
32
33.PRECIOUS: $(LIB)
34
35PREINSTALL_FILES =
36
37$(PROJECT_INCLUDE)/$(dirstamp):
38        @$(mkdir_p) $(PROJECT_INCLUDE)
39        @: > $(PROJECT_INCLUDE)/$(dirstamp)
40PREINSTALL_FILES += $(PROJECT_INCLUDE)/$(dirstamp)
41
42if HAS_NETWORKING
43$(PROJECT_INCLUDE)/rtems/$(dirstamp):
44        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems
45        @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
46PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
47
48$(PROJECT_INCLUDE)/ftpd.h: ftpd.h $(PROJECT_INCLUDE)/$(dirstamp)
49        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/ftpd.h
50PREINSTALL_FILES += $(PROJECT_INCLUDE)/ftpd.h
51endif
52
53CLEANFILES = $(PREINSTALL_FILES)
54
55include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.