source: rtems/cpukit/ftpd/Makefile.am @ 45d7f4c

4.104.114.84.95
Last change on this file since 45d7f4c was 45d7f4c, checked in by Ralf Corsepius <ralf.corsepius@…>, on Dec 2, 2003 at 4:41:19 AM

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.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) $(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.