Mercurial > audlegacy-plugins
diff src/cdaudio-ng/Makefile @ 1049:9fb341e1a87f trunk
[svn] This Makefile upsets it less. Needs LIBCDIO detection in configure.ac though.
| author | chainsaw |
|---|---|
| date | Mon, 21 May 2007 16:08:45 -0700 |
| parents | a42f95563c98 |
| children | 10fc7b5378f0 |
line wrap: on
line diff
--- a/src/cdaudio-ng/Makefile Mon May 21 15:28:07 2007 -0700 +++ b/src/cdaudio-ng/Makefile Mon May 21 16:08:45 2007 -0700 @@ -1,13 +1,15 @@ +include ../../mk/rules.mk +include ../../mk/init.mk -all : libcdaudio-ng.so +OBJECTIVE_LIBS = libcdaudio-ng$(SHARED_SUFFIX) + +LIBADD = $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) $(CDIO_LIBS) +LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR) -libcdaudio-ng.so : - gcc -shared -fPIC -o libcdaudio-ng.so cdaudio-ng.c \ - $(shell pkg-config --libs --cflags libcdio) \ - $(shell pkg-config --libs --cflags libcdio_paranoia) \ - $(shell pkg-config --libs --cflags libcdio_cdda) \ - $(shell pkg-config --libs --cflags glib-2.0) \ - $(shell pkg-config --libs --cflags gtk+-2.0) +SOURCES = cdaudio-ng.so + +OBJECTS = ${SOURCES:.c=.o} -clean : - rm *.so +CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(CDIO_LIBS) -I../../intl -I../.. -I../.. + +include ../../mk/objective.mk
