source: rtems/c/src/libnetworking/pppd/Makefile.am @ 58ce601

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

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

  • Makefile.am: Cosmetics.
  • pppd/Makefile.am: Cosmetics.
  • wrapup/Makefile.am: Cosmetics.
  • 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        @$(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.