diff src/audacious/widgets/Makefile @ 2313:3149d4b1a9a9 trunk

[svn] - objective-make autodepend fixes - move all sourcecode into src/ and adjust Makefiles accordingly
author nenolod
date Fri, 12 Jan 2007 11:43:40 -0800
parents
children 1ab061263ee8
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/audacious/widgets/Makefile	Fri Jan 12 11:43:40 2007 -0800
@@ -0,0 +1,44 @@
+include ../../../mk/rules.mk
+include ../../../mk/init.mk
+
+OBJECTIVE_LIBS_NOINST = libwidgets.a
+
+LDFLAGS += -Wl,-export-dynamic
+
+CFLAGS += \
+	$(GTK_CFLAGS)      \
+	$(LIBGLADE_CFLAGS) \
+	$(BEEP_DEFINES)    \
+	$(ARCH_DEFINES)    \
+	-D_AUDACIOUS_CORE  \
+	-I../../.. \
+	-I../..    \
+	-I..	   \
+	-I../../intl \
+	-Wno-strict-aliasing
+
+SOURCES = \
+	widget.c \
+	sbutton.c \
+	pbutton.c \
+	tbutton.c \
+	textbox.c \
+	hslider.c \
+	menurow.c \
+	monostereo.c \
+	vis.c \
+	svis.c \
+	number.c \
+	playstatus.c \
+	playlist_list.c \
+	playlist_slider.c \
+	eq_graph.c \
+	eq_slider.c \
+	skin.c
+
+OBJECTS = ${SOURCES:.c=.o}
+
+include ../../../mk/objective.mk
+
+libwidgets.a: $(OBJECTS)
+	$(AR) cr $@ $(OBJECTS)