mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[Makefile] compile libcss related code
This commit is contained in:
parent
82a7bd5de8
commit
79fdb363b3
@ -144,6 +144,7 @@ CONFIG_INTERLINK = @CONFIG_INTERLINK@
|
||||
CONFIG_IPV6 = @CONFIG_IPV6@
|
||||
CONFIG_DBLATEX = @CONFIG_DBLATEX@
|
||||
CONFIG_LEDS = @CONFIG_LEDS@
|
||||
CONFIG_LIBCSS = @CONFIG_LIBCSS@
|
||||
CONFIG_LZMA = @CONFIG_LZMA@
|
||||
CONFIG_MAILCAP = @CONFIG_MAILCAP@
|
||||
CONFIG_MANUAL = @CONFIG_MANUAL@
|
||||
|
@ -874,11 +874,16 @@ fi
|
||||
# Check for libcss
|
||||
# ===================================================================
|
||||
|
||||
CONFIG_LIBCSS=
|
||||
|
||||
if test "x$CONFIG_XML" = xyes; then
|
||||
LIBCSS_CFLAGS=`$PKG_CONFIG $pkg_config_static --cflags libcss`
|
||||
LIBCSS_LIBS=`$PKG_CONFIG $pkg_config_static --libs libcss`
|
||||
LIBCSS_CFLAGS="$($PKG_CONFIG $pkg_config_static --cflags libcss)"
|
||||
LIBCSS_LIBS="$($PKG_CONFIG $pkg_config_static --libs libcss)"
|
||||
LIBS="$LIBS $LIBCSS_LIBS"
|
||||
CFLAGS="$CFLAGS $LIBCSS_CFLAGS"
|
||||
CONFIG_LIBCSS=yes
|
||||
EL_CONFIG(CONFIG_LIBCSS, [libcss])
|
||||
AC_SUBST(CONFIG_LIBCSS)
|
||||
fi
|
||||
|
||||
# ===================================================================
|
||||
|
@ -2,6 +2,7 @@ top_builddir=../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
SUBDIRS-$(CONFIG_CSS) += css
|
||||
SUBDIRS-$(CONFIG_LIBCSS) += css2
|
||||
SUBDIRS-$(CONFIG_DOM) += dom
|
||||
SUBDIRS-$(CONFIG_XML) += xml
|
||||
|
||||
|
6
src/document/css2/Makefile
Normal file
6
src/document/css2/Makefile
Normal file
@ -0,0 +1,6 @@
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS = css.obj
|
||||
|
||||
include $(top_srcdir)/Makefile.lib
|
Loading…
Reference in New Issue
Block a user