Tidy up png support string.

svn path=/trunk/netsurf/; revision=5353
This commit is contained in:
Michael Drake 2008-09-16 17:52:37 +00:00
parent 03fdf02272
commit 31127a130f

View File

@ -262,7 +262,7 @@ ifeq ($(TARGET),riscos)
$(eval $(call feature_enabled,HUBBUB,-DWITH_HUBBUB,-lhubbub -lparserutils,Hubbub HTML parser))
$(eval $(call feature_enabled,BMP,-DWITH_BMP,-lnsbmp,NetSurf BMP decoder))
$(eval $(call feature_enabled,GIF,-DWITH_GIF,-lnsgif,NetSurf GIF decoder))
$(eval $(call feature_enabled,PNG,-DWITH_PNG,-lpng,PNG support (libpng)))
$(eval $(call feature_enabled,PNG,-DWITH_PNG,-lpng,PNG support))
else
NETSURF_FEATURE_HUBBUB_CFLAGS := -DWITH_HUBBUB
NETSURF_FEATURE_BMP_CFLAGS := -DWITH_BMP
@ -271,7 +271,7 @@ ifeq ($(TARGET),riscos)
$(eval $(call pkg_config_find_and_add,HUBBUB,libhubbub,Hubbub HTML parser))
$(eval $(call pkg_config_find_and_add,BMP,libnsbmp,NetSurf BMP decoder))
$(eval $(call pkg_config_find_and_add,GIF,libnsgif,NetSurf GIF decoder))
$(eval $(call pkg_config_find_and_add,PNG,libpng,PNG support (libpng)))
$(eval $(call pkg_config_find_and_add,PNG,libpng,PNG support))
endif
endif
@ -280,7 +280,7 @@ endif
# ----------------------------------------------------------------------------
ifeq ($(HOST),beos)
$(eval $(call feature_enabled,PNG,-DWITH_PNG,-lpng,PNG support (libpng)))
$(eval $(call feature_enabled,PNG,-DWITH_PNG,-lpng,PNG support))
LDFLAGS += -L/boot/home/config/lib
# some people do *not* have libm...
@ -308,7 +308,7 @@ ifeq ($(TARGET),gtk)
$(eval $(call pkg_config_find_and_add,HUBBUB,libhubbub,Hubbub HTML parser))
$(eval $(call pkg_config_find_and_add,BMP,libnsbmp,NetSurf BMP decoder))
$(eval $(call pkg_config_find_and_add,GIF,libnsgif,NetSurf GIF decoder))
$(eval $(call pkg_config_find_and_add,PNG,libpng,PNG support (libpng)))
$(eval $(call pkg_config_find_and_add,PNG,libpng,PNG support))
GTKCFLAGS := -std=c99 -Dgtk -Dnsgtk \
-DGTK_DISABLE_DEPRECATED \
@ -433,7 +433,7 @@ ifeq ($(TARGET),amiga)
$(eval $(call feature_enabled,HUBBUB,-DWITH_HUBBUB,-lhubbub -lparserutils,Hubbub HTML parser))
$(eval $(call feature_enabled,BMP,-DWITH_BMP,-lnsbmp,NetSurf BMP decoder))
$(eval $(call feature_enabled,GIF,-DWITH_GIF,-lnsgif,NetSurf GIF decoder))
$(eval $(call feature_enabled,PNG,-DWITH_PNG,-lpng,PNG support (libpng)))
$(eval $(call feature_enabled,PNG,-DWITH_PNG,-lpng,PNG support))
CFLAGS += -mcrt=newlib -D__USE_INLINE__ -std=c99 -I . -Dnsamiga
LDFLAGS += -lxml2 -lcurl -lm -lsocket -lpthread -lregex -lauto -lraauto -lssl -lcrypto -lamisslauto -mcrt=newlib