]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/plugins/pppoatm/Makefile.am
Use autoconf/automake to configure and make ppp
[ppp.git] / pppd / plugins / pppoatm / Makefile.am
diff --git a/pppd/plugins/pppoatm/Makefile.am b/pppd/plugins/pppoatm/Makefile.am
new file mode 100644 (file)
index 0000000..a13baea
--- /dev/null
@@ -0,0 +1,18 @@
+pppd_plugin_LTLIBRARIES = pppoatm.la
+pppd_plugindir = $(PPPD_PLUGIN_DIR)
+
+noinst_HEADERS = \
+    atm.h \
+    atmres.h \
+    atmsap.h
+
+pppoatm_la_CFLAGS = -I${top_srcdir}/include -I${top_srcdir}/pppd
+pppoatm_la_LDFLAGS = -module -avoid-version
+pppoatm_la_SOURCES = pppoatm.c
+
+if WITH_LIBATM
+pppoatm_la_LIBADD = -latm
+else
+pppoatm_la_SOURCES += text2qos.c text2atm.c misc.c ans.c
+pppoatm_la_LIBADD = -lresolv
+endif