GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: a tiny graphical app kit for ruby
Homepage: http://code.whytheluckystiff.net/shoes
Clone URL: git://github.com/why/shoes.git
 * platform/nix/Makefile: build with curl and clock_gettime linkage.
why (author)
Fri Jul 25 12:19:21 -0700 2008
commit  56cce496bb01e2b346a14648de9875079c3a068a
tree    e9260a18984d63b08bedd0232ec2f9d1b4465d15
parent  70c2f91603cdd6b3323de35f36527753cb4505ca
...
1
2
3
4
 
5
6
7
8
9
 
10
11
12
...
19
20
21
 
 
22
23
24
25
 
 
26
27
28
...
1
2
3
 
4
5
6
7
8
 
9
10
11
12
...
19
20
21
22
23
24
25
 
 
26
27
28
29
30
0
@@ -1,12 +1,12 @@
0
 # shoes - abstract windowing for gtk, osx, and win32
0
 # by why the lucky stiff, released to you under the MIT license
0
 
0
-SRC = shoes/app.c shoes/canvas.c shoes/image.c shoes/internal.c shoes/ruby.c shoes/world.c shoes/native/gtk.c
0
+SRC = shoes/app.c shoes/canvas.c shoes/image.c shoes/internal.c shoes/ruby.c shoes/world.c shoes/native/gtk.c shoes/http/curl.c
0
 OBJ = ${SRC:.c=.o}
0
 
0
 PREFIX = /usr/local
0
 INCS = -I. -I/usr/include -I/usr/local/include
0
-LIBS = -L/usr/lib -L/usr/local/lib -lcairo -lpangocairo-1.0 -lgif -ljpeg
0
+LIBS = -L/usr/lib -L/usr/local/lib -lcairo -lpangocairo-1.0 -lgif -ljpeg -lrt
0
 
0
 REVISION = `git rev-list HEAD | wc -l`
0
 RUBY_INCS = `ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]'`
0
@@ -19,10 +19,12 @@ PANGO_CFLAGS = `pkg-config --cflags pango`
0
 PANGO_LIB = `pkg-config --libs pango`
0
 GTK_CFLAGS = `pkg-config --cflags gtk+-2.0`
0
 GTK_LIB = `pkg-config --libs gtk+-2.0`
0
+CURL_CFLAGS = `curl-config --cflags`
0
+CURL_LIB = `curl-config --libs`
0
 
0
 VERSION = 0.r${REVISION}
0
-CFLAGS = -DSHOES_GTK -fPIC ${INCS} ${CAIRO_CFLAGS} ${PANGO_CFLAGS} ${GTK_CFLAGS} -I${RUBY_INCS}
0
-LDFLAGS = -fPIC ${LIBS} ${CAIRO_LIB} ${PANGO_LIB} ${GTK_LIB} ${RUBY_LIBS}
0
+CFLAGS = -DSHOES_GTK -fPIC ${INCS} ${CAIRO_CFLAGS} ${PANGO_CFLAGS} ${GTK_CFLAGS} ${CURL_CFLAGS} -I${RUBY_INCS}
0
+LDFLAGS = -fPIC ${LIBS} ${CAIRO_LIB} ${PANGO_LIB} ${GTK_LIB} ${CURL_LIB} ${RUBY_LIBS}
0
 OPTIONS =
0
 
0
 ifeq (${DEBUG}, 1)

Comments

    No one has commented yet.