[Pkg-wmaker-commits] [wmcdplay] 47/79: wmcdplay: Switch build system from deprecated imake to autotools.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Thu Aug 20 11:04:33 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmcdplay.

commit 28187bbfc71812cbd66fa4407534b7c602ab39ab
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Thu Dec 18 12:30:46 2014 -0600

    wmcdplay: Switch build system from deprecated imake to autotools.
---
 Imakefile    | 8 --------
 Makefile.am  | 4 ++++
 configure.ac | 9 +++++++++
 3 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/Imakefile b/Imakefile
deleted file mode 100644
index 3dfc773..0000000
--- a/Imakefile
+++ /dev/null
@@ -1,8 +0,0 @@
-DEPLIBS = $(DEPXLIB) 
-
-LOCAL_LIBRARIES = $(XPMLIB) $(XLIB)
-
-SRCS = wmcdplay.cc
-OBJS = wmcdplay.o
-
-ComplexProgramTarget(wmcdplay)
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..8cbcfb4
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,4 @@
+bin_PROGRAMS = wmcdplay
+wmcdplay_SOURCES = cdctl.h cdctl_freebsd.h wmcdplay.cc
+AM_CFLAGS = $(x11_CFLAGS) $(xpm_CFLAGS) $(xext_CFLAGS)
+LIBS += $(x11_LIBS) $(xpm_LIBS) $(xext_LIBS)
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..5c69ebe
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,9 @@
+AC_INIT([wmcdplay], [1.0beta1])
+AM_INIT_AUTOMAKE([foreign])
+AC_CONFIG_SRCDIR([configure.ac])
+AC_PROG_CXX
+PKG_CHECK_MODULES([x11], [x11])
+PKG_CHECK_MODULES([xpm], [xpm])
+PKG_CHECK_MODULES([xext], [xext])
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmcdplay.git



More information about the Pkg-wmaker-commits mailing list