aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
new file mode 100644
index 0000000..1b3ae1b
--- /dev/null
+++ b/src/Makefile
@@ -0,0 +1,27 @@
+#
+# ivy-xchat-plugin, an xchat plugin that relays events to an Ivy bus
+#
+# Copyright (C) 2002
+# IntuiLab
+#
+# Makefile
+#
+# Author(s): Stephane Chatty <chatty@intuilab.com>
+#
+# $Id$
+#
+# Distributed under the LGPL license
+#
+LIB = $(PREFIX)/usr/lib/xchat/plugins
+
+LDFLAGS = -L/usr/X11R6/lib -ggdb
+CFLAGS = -Wall
+CC = gcc
+
+ivy-xchat-plugin.so: ivy-xchat-plugin.c
+ $(CC) $(LDFLAGS) $(CFLAGS) -I../include -DSKIPCONFIG -shared -Wl,-soname,ivy-xchat-plugin.so -o $@ $< -lc -lgtkivy `gtk-config --cflags`
+
+
+install:
+ test -d $(LIB) || mkdir -p $(LIB)
+ install -m 755 ivy-xchat-plugin.so $(LIB);