[Extractor-gtk-cvslog] SF.net SVN: extractor-gtk:[116] trunk/extractor
Extract files from unusual archive formats
Brought to you by:
someone-guy
From: <som...@us...> - 2009-07-29 14:22:53
|
Revision: 116 http://extractor-gtk.svn.sourceforge.net/extractor-gtk/?rev=116&view=rev Author: someone-guy Date: 2009-07-29 14:22:38 +0000 (Wed, 29 Jul 2009) Log Message: ----------- Add some compilation help/README in the hope it helps someone... Modified Paths: -------------- trunk/extractor/Makefile Added Paths: ----------- trunk/extractor/README Modified: trunk/extractor/Makefile =================================================================== --- trunk/extractor/Makefile 2009-02-08 15:43:32 UTC (rev 115) +++ trunk/extractor/Makefile 2009-07-29 14:22:38 UTC (rev 116) @@ -1,4 +1,15 @@ +# configuration options, change as necessary + +# uncomment to compile a commandline version +#WITHOUT_GTK=yes + +# uncomment to hardcode GTK linking appropriate for my MinGW install +# instead of trying to use pkg-config +#MINGW_GTK_HACK=yes + CC=gcc + +# should not need to change anything beyond here CFLAGS=-Wall -Wdeclaration-after-statement -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -g -O2 CFLAGS+=-std=c99 -D_XOPEN_SOURCE=500 MODULES= \ @@ -21,12 +32,15 @@ CFLAGS+=-DWITHOUT_GTK else MAIN+= gtkstuff.c +ifeq ($(MiNGW_GTK_HACK), yes) +CFLAGS+=-mms-bitfields -Iinclude +LDFLAGS=libglib-2.0-0.dll libgobject-2.0-0.dll libgdk-win32-2.0-0.dll libgdk_pixbuf-2.0-0.dll libgtk-win32-2.0-0.dll intl.dll +LDFLAGS+=-mwindows +else CFLAGS+=$(shell pkg-config --cflags gtk+-2.0) LDFLAGS=$(shell pkg-config --libs gtk+-2.0) -#CFLAGS+=-mms-bitfields -Iinclude -#LDFLAGS=libglib-2.0-0.dll libgobject-2.0-0.dll libgdk-win32-2.0-0.dll libgdk_pixbuf-2.0-0.dll libgtk-win32-2.0-0.dll intl.dll -#LDFLAGS+=-mwindows endif +endif SRCS=$(MAIN) $(MODULES) OBJS=${SRCS:.c=.o} Added: trunk/extractor/README =================================================================== --- trunk/extractor/README (rev 0) +++ trunk/extractor/README 2009-07-29 14:22:38 UTC (rev 116) @@ -0,0 +1,15 @@ +Not much of a docuentation yet, sorry. +You can change some compilation options by editing the first few lines +of the Makefile. +To compile, just type +make +use +make clean +to remove generated files +Edit the Makefile or use +make WITHOUT_GTK=yes +to compile the commandline version. +Edit the Makefile or try +make MINGW_GTK_HACK=yes +to compile for MinGW without installing pkg-config for it. +This may or may not work for you. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |