~ubuntu-branches/debian/sid/ppp/sid

« back to all changes in this revision

Viewing changes to pppd/Makefile.sol2

  • Committer: Bazaar Package Importer
  • Author(s): Eddy Petrișor
  • Date: 2007-03-17 22:31:45 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070317223145-felzh5yrmh8fwi8t
Tags: 2.4.4rel-8
* urgency high since fixes an RC bug
* make sure the /etc/resolv.conf file is world readable (Closes: #415077)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#
2
 
# Makefile for pppd under Solaris 2.
3
 
# $Id: Makefile.sol2,v 1.20 2001/03/08 05:01:03 paulus Exp $
4
 
#
5
 
 
6
 
include ../solaris/Makedefs
7
 
 
8
 
COPTS   += -xO2 -xspace -W0,-Lt
9
 
CFLAGS  =  -I../include -DSVR4 -DSOL2 $(COPTS)
10
 
LIBS    = -lsocket -lnsl
11
 
 
12
 
OBJS    =  main.o magic.o fsm.o lcp.o ipcp.o upap.o chap.o md5.o tty.o \
13
 
        ccp.o auth.o options.o demand.o utils.o sys-solaris.o tdb.o
14
 
 
15
 
#
16
 
# uncomment the following to enable plugins
17
 
#
18
 
CFLAGS  += -DPLUGIN
19
 
LIBS    += -ldl
20
 
 
21
 
#
22
 
# Solaris 8 and above accomodates /var/run, so uncomment the
23
 
# following to place pppd process IDs on that location
24
 
#
25
 
#CFLAGS += -D_PATH_VARRUN='"/var/run/"'
26
 
 
27
 
#
28
 
# uncomment the following to enable IPv6
29
 
#
30
 
# Solaris 8 and on includes support for IPv6
31
 
#
32
 
#CFLAGS += -DINET6
33
 
#OBJS   += ipv6cp.o eui64.o
34
 
 
35
 
#
36
 
# Make targets
37
 
#
38
 
all: pppd
39
 
 
40
 
pppd:   $(OBJS)
41
 
        $(CC) -o pppd $(OBJS) $(LIBS)
42
 
 
43
 
install:
44
 
        $(INSTALL) -f $(BINDIR) -m 4755 -u root pppd
45
 
        $(INSTALL) -f $(MANDIR)/man8 -m 444 pppd.8
46
 
 
47
 
clean:
48
 
        rm -f $(OBJS) pppd *~ core y.tab.c y.tab.h