source: rtems/cpukit/ftpd/Makefile.am @ 74066232

4.104.114.84.95
Last change on this file since 74066232 was 74066232, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/01/03 at 08:43:12

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

  • Makefile.am: Reformat. Apply dirstamps to preinstallation.
  • pppd/Makefile.am: Ditto.
  • rtems_servers/Makefile.am: Ditto.
  • rtems_telnetd/Makefile.am: Ditto.
  • rtems_webserver/Makefile.am: Ditto.
  • wrapup/Makefile.am: Ditto.
  • Property mode set to 100644
File size: 1.0 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) $(ARCH) $(OBJS) $(LIB)
31endif
32
33.PRECIOUS: $(LIB)
34
35PREINSTALL_FILES =
36
37$(PROJECT_INCLUDE)/$(dirstamp):
38        @$(mkinstalldirs) $(PROJECT_INCLUDE)
39        @: > $(PROJECT_INCLUDE)/$(dirstamp)
40PREINSTALL_FILES += $(PROJECT_INCLUDE)/$(dirstamp)
41
42if HAS_NETWORKING
43$(PROJECT_INCLUDE)/rtems/$(dirstamp):
44        @$(mkinstalldirs) $(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
53include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.