changeset 572:694f4b3bfea4 trunk

[svn] update to objective make
author nenolod
date Thu, 02 Feb 2006 15:37:08 -0800
parents 0d40bfeca9f5
children bf6561ddaf01
files Plugins/Input/tonegen/Makefile.am Plugins/Input/tonegen/Makefile.in
diffstat 2 files changed, 15 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/tonegen/Makefile.am	Thu Feb 02 15:33:01 2006 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-lib_LTLIBRARIES = libtonegen.la
-
-libdir = $(plugindir)/$(INPUT_PLUGIN_DIR)
-
-libtonegen_la_LDFLAGS = @PLUGIN_LDFLAGS@
-
-libtonegen_la_SOURCES = tonegen.c
-INCLUDES = @GTK_CFLAGS@ -I$(top_builddir)/intl -I$(top_srcdir)
-
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Plugins/Input/tonegen/Makefile.in	Thu Feb 02 15:37:08 2006 -0800
@@ -0,0 +1,15 @@
+include ../../../mk/rules.mk
+include ../../../mk/objective.mk
+
+OBJECTIVE_LIBS = libtonegen.so
+
+LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)
+
+SOURCES = tonegen.c
+
+OBJECTS = ${SOURCES:.c=.o}
+
+CFLAGS += -fPIC -DPIC @GTK_CFLAGS@ -I../../../intl -I../../..
+
+libtonegen.so: $(OBJECTS)
+	$(CC) $(CFLAGS) -shared -o $@ $(OBJECTS)