automake: full ppp/ support
[dahdi/tools.git] / ppp / Makefile.am
index 6f8fc04..5430953 100644 (file)
@@ -1,14 +1,7 @@
-LEGACY_MAKE    = \
-        $(MAKE) -f $(srcdir)/Makefile.legacy \
-               top_srcdir=$(top_srcdir) \
-               srcdir=$(srcdir)
+plugindir              = $(libdir)/pppd/$(PPPD_VERSION)
+plugin_LTLIBRARIES     = dahdi.la
 
-all-local:
-       $(LEGACY_MAKE)  all
+dahdi_la_CFLAGS                = $(DAHDI_INCLUDE)
+dahdi_la_LDFLAGS       = -module -avoid-version
 
-clean-local:
-       $(LEGACY_MAKE)  clean
-
-# Cannot allow this yet
-distclean:
-maintainer-clean:
+CLEANFILES             = dahdi.so