From 18e80d661a68fe45fe808ec79ea039d14291f892 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Sun, 27 Jan 2008 13:54:38 +0100 Subject: Use EXTRA_PROGRAMS for xine-fontconv and cdda_server rahter than using manual rules. --- misc/Makefile.am | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/misc/Makefile.am b/misc/Makefile.am index 70cbe59ee..7e82bec87 100644 --- a/misc/Makefile.am +++ b/misc/Makefile.am @@ -3,12 +3,10 @@ include $(top_srcdir)/misc/Makefile.common SUBDIRS = fonts EXTRA_DIST = build_rpms.sh \ - cdda_server.c \ SlackBuild.in \ SlackBuild \ vga.xinefont.gz \ xine-config \ - xine-fontconv.c \ xine-lib.spec.in \ xine-lib.spec \ libxine.pc.in \ @@ -20,8 +18,13 @@ bin_SCRIPTS = xine-config pkgconfigdir=$(libdir)/pkgconfig pkgconfig_DATA=libxine.pc -xine-fontconv: xine-fontconv.c - $(CC) -W -Wall -g -o xine-fontconv xine-fontconv.c -lz `freetype-config --cflags` `freetype-config --libs` +EXTRA_PROGRAMS = xine-fontconv cdda_server -cdda_server: cdda_server.c - $(CC) -W -Wall -g -o cdda_server cdda_server.c -ldl +xine_fontconv_SOURCES = xine-fontconv.c +xine_fontconv_CFLAGS = $(FT2_CFLAGS) +xine_fontconv_LDFLAGS = $(GCSECTIONS) +xine_fontconv_LDADD = -lz $(FT2_LIBS) + +cdda_server_SOURCES = cdda_server.c +cdda_server_LDFLAGS = $(GCSECTIONS) +cdda_server_LDADD = $(DYNAMIC_LD_LIBS) -- cgit v1.2.3