diff options
author | Rob Kendrick <rjek@netsurf-browser.org> | 2007-05-29 23:53:35 +0000 |
---|---|---|
committer | Rob Kendrick <rjek@netsurf-browser.org> | 2007-05-29 23:53:35 +0000 |
commit | 7bc1a41ea0f2188de75445e0e23993b6c6b0006f (patch) | |
tree | 1a34af0e6fe5c1c5f3c9582655f9490ed2de2b7d /makefile | |
parent | 01316168fc813f22ea15eda250f4d925c1fa9061 (diff) | |
download | netsurf-7bc1a41ea0f2188de75445e0e23993b6c6b0006f.tar.gz netsurf-7bc1a41ea0f2188de75445e0e23993b6c6b0006f.tar.bz2 |
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
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 |