From 7bc1a41ea0f2188de75445e0e23993b6c6b0006f Mon Sep 17 00:00:00 2001 From: Rob Kendrick Date: Tue, 29 May 2007 23:53:35 +0000 Subject: Add UNIX-specific fetch_filetype() support. Uses /etc/mime.types by default, but can build minimal mappings if it doesn't exist. New code allows file:// directory listings to be generated, although these are not sorted unlike under RISC OS, as POSIX dirent() doesn't specify sorting. svn path=/trunk/netsurf/; revision=3305 --- makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'makefile') diff --git a/makefile b/makefile index 8e8f7fa0d..45e4922ce 100644 --- a/makefile +++ b/makefile @@ -65,14 +65,13 @@ OBJECTS_DEBUGRO += artworks.o awrender.o bitmap.o draw.o \ sprite.o # riscos/ OBJECTS_GTK = $(OBJECTS_COMMON) $(OBJECTS_IMAGE) -OBJECTS_GTK += filetyped.o # debug/ OBJECTS_GTK += browser.o frames.o history_core.o netsurf.o \ selection.o textinput.o gesture_core.o # desktop/ OBJECTS_GTK += font_pango.o gtk_bitmap.o gtk_gui.o \ gtk_schedule.o gtk_thumbnail.o gtk_options.o \ gtk_plotters.o gtk_treeview.o gtk_scaffolding.o \ gtk_completion.o gtk_login.o gtk_throbber.o \ - gtk_history.o gtk_window.o # gtk/ + gtk_history.o gtk_window.o gtk_filetype.o # gtk/ OBJDIR_RISCOS = arm-riscos-aof @@ -132,7 +131,7 @@ CFLAGS_GTK = -std=c99 -Dgtk -Dnsgtk \ -D_BSD_SOURCE \ -DGTK_DISABLE_DEPRECATED \ -D_POSIX_C_SOURCE \ - $(WARNFLAGS) -I.. -g -O0 -Wformat=2 \ + $(WARNFLAGS) -I.. -g -O2 -Wformat=2 \ `pkg-config --cflags libglade-2.0 gtk+-2.0` `xml2-config --cflags` # Stop GCC under Cygwin throwing a fit -- cgit v1.2.3