gcc -fPIC -c gaim_awn.c -o gaim_awn.o -DVERSION=\"`date "+%Y%m-%d_%R"`\" -I /usr/include/gaim/ -I /usr/include/gtk-2.0 -I /usr/lib/gtk-2.0/include/ -I /usr/include/atk-1.0 -I /usr/include/cairo/ -I /usr/include/pango-1.0/ -I /usr/include/glib-2.0/ -I /usr/lib/glib-2.0/include/ -I /usr/include/dbus-1.0/This evening I will fix my Makefile and put it on svn too, so everyone can compile without much hassle...
gcc -shared -Wl,-soname,gaim_awn.so -o gaim_awn.so gaim_awn.o
Saturday, March 3, 2007
Compiling the gaim_awn plugin
I started working on the gaim_awn plugin from within gaim 2 beta 6 sources, but it's complete and utter BS to need gaim sources and Makefiles to compile the plugin, so my goal for today was to compile it myself and create a Makefile. At first I was getting nowhere. I tried to do the same as was done in the gaim Makefile, but that didn't get me any further. I searched the net a bit but didn't find much I could use. Then at some point I sort of compiled something, so I was looking at how to put it in a Makefile (been a year since I last used one) when I found how I could compile my module with ease. There's nothing to it... So in case anyone else has the same problem, here's how I did it:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment