SF.net SVN: geany-plugins:[487] trunk/geanylipsum

frlan at users.sourceforge.net frlan at xxxxx
Wed Feb 18 00:19:52 UTC 2009


Revision: 487
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=487&view=rev
Author:   frlan
Date:     2009-02-18 00:19:52 +0000 (Wed, 18 Feb 2009)

Log Message:
-----------
GeanyLipsum: Fix make dist call. Thanks to Enrico for missing input

Added Paths:
-----------
    trunk/geanylipsum/makefile.win32
    trunk/geanylipsum/po/ChangeLog

Added: trunk/geanylipsum/makefile.win32
===================================================================
--- trunk/geanylipsum/makefile.win32	                        (rev 0)
+++ trunk/geanylipsum/makefile.win32	2009-02-18 00:19:52 UTC (rev 487)
@@ -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
+TARGET = geanylipsum.dll
+.SUFFIXES: .c .o
+-include localwin32.mk
+
+
+OBJS =	geanylipsum.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
+
+spellcheck.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