source: rtems/cpukit/pppd/Makefile.am @ ca0de4d7

4.104.114.84.95
Last change on this file since ca0de4d7 was 45d7f4c, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/02/03 at 04:41:19

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.5 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) $(OBJS) $(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        @$(mkinstalldirs) $(PROJECT_INCLUDE)
41        @: > $(PROJECT_INCLUDE)/$(dirstamp)
42PREINSTALL_FILES += $(PROJECT_INCLUDE)/$(dirstamp)
43
44if HAS_NETWORKING
45$(PROJECT_INCLUDE)/rtemspppd.h: rtemspppd.h $(PROJECT_INCLUDE)/$(dirstamp)
46        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtemspppd.h
47PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtemspppd.h
48
49$(PROJECT_INCLUDE)/rtemsdialer.h: rtemsdialer.h $(PROJECT_INCLUDE)/$(dirstamp)
50        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtemsdialer.h
51PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtemsdialer.h
52endif
53
54include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.