3 CFLAGS = $(COPTS) -I../.. -I../../../include -fPIC
7 #***********************************************************************
10 LIBDIR = $(DESTDIR)/lib/pppd/$(VERSION)
13 PLUGIN_OBJS := pppoatm.o
16 # Do we have the ATM libraries installed? Set HAVE_LIBATM to use them,
17 # or leave it unset to build the few routines we actually _use_ into
18 # the plugin directly.
26 PLUGIN_OBJS += text2qos.o text2atm.o misc.o ans.o
33 $(PLUGIN): $(PLUGIN_OBJS)
34 $(CC) $(CFLAGS) -o $@ -shared $^ $(LIBS)
37 $(INSTALL) -d -m 755 $(LIBDIR)
38 $(INSTALL) -c -m 4550 $(PLUGIN) $(LIBDIR)
44 $(CC) $(CFLAGS) -c -o $@ $<