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

4.104.114.84.9
Last change on this file since b5d91ad was b5d91ad, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 3, 2004 at 6:21:42 AM

2004-02-03 Ralf Corsepius <corsepiu@…>

  • libnetworking/rtems_webserver/Makefile.am: Add PREINSTALL_DIRS.
  • libnetworking/rtems_telnetd/Makefile.am: Add PREINSTALL_DIRS.
  • libnetworking/rtems_servers/Makefile.am: Add PREINSTALL_DIRS.
  • libnetworking/pppd/Makefile.am: Add PREINSTALL_DIRS.
  • Property mode set to 100644
File size: 1.6 KB
Line 
1##
2## $Id$
3##
4
5include $(top_srcdir)/automake/compile.am
6include $(top_srcdir)/automake/lib.am
7
8CLEANFILES =
9EXTRA_LIBRARIES =
10
11if HAS_NETWORKING
12include_HEADERS = rtemspppd.h rtemsdialer.h
13
14EXTRA_LIBRARIES += libpppd.a
15CLEANFILES += libpppd.a
16libpppd_a_SOURCES = auth.c ccp.c chap.c chap_ms.c chat.c demand.c fsm.c \
17    ipcp.c lcp.c magic.c options.c upap.c md4.c md5.c utils.c sys-rtems.c \
18    rtemsmain.c rtemspppd.c
19libpppd_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
20
21EXTRA_LIBRARIES += libpppd_g.a
22CLEANFILES += libpppd_g.a
23libpppd_g_a_SOURCES = $(libpppd_a_SOURCES)
24libpppd_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
25
26noinst_DATA = libpppd$(LIB_VARIANT).a
27endif
28
29# FIXME: Move sources to libpppd_a_SOURCES, remove other files.
30EXTRA_DIST = ccp.h chap.h chap_ms.h fsm.h ipcp.h ipxcp.c ipxcp.h lcp.c lcp.h \
31    magic.h md4.h md5.h patchlevel.h pathnames.h pppd.h upap.h
32
33all-local: $(PREINSTALL_FILES)
34
35PREINSTALL_DIRS =
36PREINSTALL_FILES =
37
38$(PROJECT_INCLUDE)/$(dirstamp):
39        @$(mkdir_p) $(PROJECT_INCLUDE)
40        @: > $(PROJECT_INCLUDE)/$(dirstamp)
41PREINSTALL_DIRS += $(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
53CLEANFILES += $(PREINSTALL_FILES)
54DISTCLEANFILES = $(PREINSTALL_DIRS)
55
56include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.