SF.net SVN: geany-plugins:[148] trunk/geanysendmail
frlan at users.sourceforge.net
frlan at xxxxx
Sun Aug 31 23:06:24 UTC 2008
Revision: 148
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=148&view=rev
Author: frlan
Date: 2008-08-31 23:06:21 +0000 (Sun, 31 Aug 2008)
Log Message:
-----------
GeanySendMail: Added makefile for Windows
(Untested so far)
Modified Paths:
--------------
trunk/geanysendmail/ChangeLog
Added Paths:
-----------
trunk/geanysendmail/makefile.win32
Modified: trunk/geanysendmail/ChangeLog
===================================================================
--- trunk/geanysendmail/ChangeLog 2008-08-31 23:05:48 UTC (rev 147)
+++ trunk/geanysendmail/ChangeLog 2008-08-31 23:06:21 UTC (rev 148)
@@ -1,3 +1,10 @@
+2008-09-01 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
+
+ * Build environment: Update of Makefiles to include icon.h into source
+ package
+ * Build environment: Added makefile for Windows (needs to be tested)
+
+
2008-07-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* Make plugin compile with Geany svn r2767.
Added: trunk/geanysendmail/makefile.win32
===================================================================
--- trunk/geanysendmail/makefile.win32 (rev 0)
+++ trunk/geanysendmail/makefile.win32 2008-08-31 23:06:21 UTC (rev 148)
@@ -0,0 +1,60 @@
+#
+# localwin32.mk is an optional file to override make variables.
+# Use localwin32.mk instead of editing variables as it is included in sub
+# makefiles.
+# localwin32.mk to set PREFIX instead of the default C:\libs
+# For MSYS use localwin32.mk to set CP and RM.
+# By default this will work in a Windows command prompt.
+
+CC = gcc
+CP = copy
+RM = del
+PREFIX = C:\libs
+
+GEANY_SRC = c:\geany_svn
+TARGET = geanysendmail.dll
+.SUFFIXES: .c .o
+-include localwin32.mk
+
+
+OBJS = geanysendmail.o
+INCLUDEDIRS= -I. \
+ -I$(GEANY_SRC) \
+ -I$(GEANY_SRC)\src \
+ -I$(GEANY_SRC)\plugins \
+ -I$(GEANY_SRC)\tagmanager\include \
+ -I$(GEANY_SRC)\scintilla\include \
+ -I$(PREFIX)/include/gtk-2.0 \
+ -I$(PREFIX)/lib/gtk-2.0/include \
+ -I$(PREFIX)/include/atk-1.0 \
+ -I$(PREFIX)/include/pango-1.0 \
+ -I$(PREFIX)/include/cairo \
+ -I$(PREFIX)/include/glib-2.0 \
+ -I$(PREFIX)/lib/glib-2.0/include \
+ -I$(PREFIX)/include/gettext \
+ -I$(PREFIX)/include \
+ -I$(ASPELL_PREFIX)/interfaces/cc
+
+ALL_GTK_LIBS= \
+ -L"$(PREFIX)/lib" \
+ -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 \
+ -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv
+CCFLAGS=-Wall -O2 -mms-bitfields -DHAVE_CONFIG_H
+
+
+all: $(TARGET)
+
+deps.mak:
+ $(CC) -MM $(CCFLAGS) $(INCLUDEDIRS) src/*.c >deps.mak
+
+geanysendmail.o:
+ $(CC) $(CCFLAGS) $(INCLUDEDIRS) -c $<
+
+$(TARGET): deps.mak $(OBJS)
+ $(CC) -shared $(OBJS) $(ALL_GTK_LIBS) -o $(TARGET)
+
+clean:
+ -$(RM) deps.mak *.o *.dll
+
+# Generate header dependencies with "make deps.mak"
+include deps.mak
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Plugins-Commits
mailing list