ppp/pppd/Makefile.aix4
1998-03-25 01:27:09 +00:00

48 lines
1.1 KiB
Makefile

#
# pppd makefile for AIX 4.1
# $Id: Makefile.aix4,v 1.3 1998/03/25 01:26:59 paulus Exp $
#
#ifndef BINDIR
BINDIR = /usr/sbin
#endif
#ifndef MANDIR
MANDIR = /usr/man
#ENDIF
PPPDSRCS = main.c magic.c fsm.c lcp.c ipcp.c upap.c chap.c md5.c ccp.c \
auth.c options.c demand.c sys-aix4.c \
gencode.c grammar.c scanner.c nametoaddr.c optimize.c
PPPDOBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap.o md5.o ccp.o \
auth.o options.o demand.o sys-aix4.o \
gencode.o grammar.o scanner.o nametoaddr.o optimize.o
CC = xlc
DEBUG_FLAGS = -DDEBUGALL
# SECURE_FLAGS = -DREQ_SYSOPTIONS=1
COMPILE_FLAGS = -DSTREAMS
COPTS = -O
LIBS= -bI:/lib/pse.exp
LOCK_PREFIX=\"/var/locks/LCK..\"
CFLAGS = -I ../include $(COPTS) $(DEBUG_FLAGS) $(COMPILE_FLAGS) $(SECURE_FLAGS)
all: pppd
pppd: $(PPPDOBJS)
$(CC) $(CFLAGS) -o pppd $(PPPDOBJS) $(LIBS)
install: all
install -M 4555 -O root -G system -f $(BINDIR) pppd
install -M 555 -O root -f $(MANDIR)/man8 pppd.8
pppd: $(PPPDOBJS)
$(CC) $(CFLAGS) -o pppd $(PPPDOBJS) $(LIBS)
clean:
rm -f $(PPPDOBJS) pppd *~ #* core
depend:
cpp -M $(CFLAGS) $(PPPDSRCS) >.depend
# makedepend $(CFLAGS) $(PPPDSRCS)