source: rtems/cpukit/pppd/Makefile.am @ 19fb5d3

4.104.114.84.95
Last change on this file since 19fb5d3 was 19fb5d3, checked in by Ralf Corsepius <ralf.corsepius@…>, on Dec 12, 2003 at 3:58:16 PM

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

  • pppd/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
  • rtems_servers/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
  • rtems_telnetd/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
  • rtems_webserver/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
  • Property mode set to 100644
File size: 1.4 KB
Line 
1##
2## $Id$
3##
4
5LIBNAME = lib.a
6LIB = $(ARCH)/$(LIBNAME)
7
8C_FILES = auth.c ccp.c chap.c chap_ms.c chat.c demand.c fsm.c ipcp.c lcp.c \
9    magic.c options.c upap.c md4.c md5.c utils.c sys-rtems.c rtemsmain.c \
10    rtemspppd.c
11OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
12
13include $(top_srcdir)/automake/compile.am
14include $(top_srcdir)/automake/lib.am
15
16#
17# Add local stuff here using +=
18#
19
20if HAS_NETWORKING
21include_HEADERS = rtemspppd.h rtemsdialer.h
22
23$(LIB): $(OBJS)
24        $(make-library)
25
26all-local: $(PREINSTALL_FILES) $(LIB)
27endif
28
29.PRECIOUS: $(LIB)
30
31EXTRA_DIST = auth.c ccp.c ccp.h chap.c chap.h chap_ms.c chap_ms.h chat.c \
32    demand.c fsm.c fsm.h ipcp.c ipcp.h ipxcp.c ipxcp.h lcp.c lcp.h magic.c \
33    magic.h md4.c md4.h md5.c md5.h options.c patchlevel.h pathnames.h \
34    pppd.h rtemsdialer.h rtemsmain.c rtemspppd.c rtemspppd.h sys-rtems.c \
35    upap.c upap.h utils.c
36
37PREINSTALL_FILES =
38
39$(PROJECT_INCLUDE)/$(dirstamp):
40        @$(mkdir_p) $(PROJECT_INCLUDE)
41        @: > $(PROJECT_INCLUDE)/$(dirstamp)
42
43if HAS_NETWORKING
44$(PROJECT_INCLUDE)/rtemspppd.h: rtemspppd.h $(PROJECT_INCLUDE)/$(dirstamp)
45        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtemspppd.h
46PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtemspppd.h
47
48$(PROJECT_INCLUDE)/rtemsdialer.h: rtemsdialer.h $(PROJECT_INCLUDE)/$(dirstamp)
49        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtemsdialer.h
50PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtemsdialer.h
51endif
52
53include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.