source: rtems/cpukit/pppd/Makefile.am @ 0725ce32

4.104.114.84.95
Last change on this file since 0725ce32 was 0725ce32, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/14/04 at 07:26:51

2004-01-14 Ralf Corsepius <corsepiu@…>

  • pppd/Makefile.am: Re-add dirstamps to PRE/TMPINSTALL_FILES. Add PRE/TMPINSTALL_FILES to CLEANFILES.
  • rtems_servers/Makefile.am: Ditto.
  • rtems_telnetd/Makefile.am: Ditto.
  • rtems_webserver/Makefile.am: Ditto.
  • 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) $(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)
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
54CLEANFILES = $(PREINSTALL_FILES)
55
56include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.