alsa-tools/envy24control/Makefile.am
Diego 'Flameeyes' Pettenò 56970e8143 Fix building of alsa-tools when using the --as-needed linker option.
Please note that LDFLAGS is the _wrong_ variable to pass libraries
with, automake tells you to use _LDADD for binaries and _LIBADD for
libraries, while autoconf wants them in the LIBS variable.

Signed-off-by: Diego 'Flameeyes' Pettenò <flameeyes@gmail.com>
2008-11-13 13:13:53 +01:00

17 lines
680 B
Makefile

AM_CFLAGS = @ENVY24CONTROL_CFLAGS@
bin_PROGRAMS = envy24control
man_MANS = envy24control.1
envy24control_SOURCES = envy24control.c envy24control.h levelmeters.c midi.c \
mixer.c patchbay.c hardware.c driverevents.c volume.c \
profiles.c profiles.h midi.h config.c config.h
envy24control_LDADD = @ENVY24CONTROL_LIBS@
EXTRA_DIST = gitcompile envy24control.1 depcomp configure.in-gtk1 \
configure.in-gtk2 strstr_icase_blank.c new_process.c \
README.profiles
AUTOMAKE_OPTIONS = foreign
alsa-dist: distdir
@rm -rf ../distdir/envy24control
@mkdir -p ../distdir/envy24control
@cp -RLpv $(distdir)/* ../distdir/envy24control
@rm -rf $(distdir)