wmcdplay: Switch build system from deprecated imake to autotools.

This commit is contained in:
Doug Torrance 2014-12-18 12:30:46 -06:00 committed by Carlos R. Mafra
parent 4e9f4c66ab
commit e3c1ce78d6
3 changed files with 13 additions and 8 deletions

View file

@ -1,8 +0,0 @@
DEPLIBS = $(DEPXLIB)
LOCAL_LIBRARIES = $(XPMLIB) $(XLIB)
SRCS = wmcdplay.cc
OBJS = wmcdplay.o
ComplexProgramTarget(wmcdplay)

4
wmcdplay/Makefile.am Normal file
View file

@ -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)

9
wmcdplay/configure.ac Normal file
View file

@ -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