2 include $(top_builddir
)/Makefile.config
4 SUBDIRS-
$(CONFIG_BOOKMARKS
) += bookmarks
5 SUBDIRS-
$(CONFIG_COOKIES
) += cookies
6 SUBDIRS-
$(CONFIG_DOM
) += dom
7 SUBDIRS-
$(CONFIG_ECMASCRIPT
) += ecmascript
8 SUBDIRS-
$(CONFIG_FORMHIST
) += formhist
9 SUBDIRS-
$(CONFIG_GLOBHIST
) += globhist
10 SUBDIRS-
$(CONFIG_SCRIPTING
) += scripting
30 # Get the GIT HEAD ID if possible
32 BUILD_ID
=$(shell GIT_DIR
=$(top_srcdir
)/.git
$(CG_COMMIT_ID
) 2> /dev
/null
)
34 INCLUDES
+= -DBUILD_ID
="\"$(BUILD_ID)\""
36 vernum.o
: $(LIB_O_NAME
)
38 elinks
: $(LIB_O_NAME
) vernum.o
41 # Place the TAGS file in the source directory so that, if the same
42 # source is built for different configurations in different build
43 # directories, one doesn't have to remember which of those build
44 # directories has the most recent TAGS.
46 cd
$(firstword $(srcdir) .
) \
47 && find . \
( -name
"*.[ch]" -o
-name
"*.inc" \
) -print \
48 | etags
--regex
='{c}/\(?:static \)?INIT_LIST_OF([^,]*,[ \t]*\([[:alnum:]_]+\))/\1/' \
49 --regex
='{c}/struct_hierbox_browser(\n[ \t]*\([[:alnum:]_]+\),/\1/m' \
50 --regex
='{c}/^ACTION_(\([[:alnum:]_]+\),[^,]*,[ \t]*\([[:alnum:]_]+\),/ACT_\1_\2/' \
54 cd
$(firstword $(srcdir) .
) \
55 && find . \
( -name
"*.[ch]" -o
-name
"*.inc" \
) -print \
61 CLEAN
= vernum.o TAGS
tags
63 include $(top_srcdir
)/Makefile.lib