2005-10-19 22:00:35 -04:00
|
|
|
top_builddir=..
|
|
|
|
include $(top_builddir)/Makefile.config
|
2005-09-15 09:58:31 -04:00
|
|
|
|
2005-09-27 16:49:47 -04:00
|
|
|
SUBDIRS-$(CONFIG_BOOKMARKS) += bookmarks
|
|
|
|
SUBDIRS-$(CONFIG_COOKIES) += cookies
|
|
|
|
SUBDIRS-$(CONFIG_FORMHIST) += formhist
|
|
|
|
SUBDIRS-$(CONFIG_GLOBHIST) += globhist
|
|
|
|
SUBDIRS-$(CONFIG_ECMASCRIPT) += ecmascript
|
|
|
|
SUBDIRS-$(CONFIG_SCRIPTING) += scripting
|
2005-09-15 09:58:31 -04:00
|
|
|
|
|
|
|
SUBDIRS = \
|
|
|
|
bfu \
|
|
|
|
cache \
|
|
|
|
config \
|
|
|
|
dialogs \
|
|
|
|
document \
|
|
|
|
encoding \
|
|
|
|
intl \
|
|
|
|
main \
|
|
|
|
mime \
|
|
|
|
network \
|
|
|
|
osdep \
|
|
|
|
protocol \
|
|
|
|
session \
|
|
|
|
terminal \
|
|
|
|
util \
|
|
|
|
viewer
|
|
|
|
|
2005-09-17 08:45:59 -04:00
|
|
|
# Get the GIT HEAD ID if possible
|
2005-09-19 05:04:03 -04:00
|
|
|
ifdef CG_COMMIT_ID
|
2005-11-01 17:19:50 -05:00
|
|
|
BUILD_ID=$(shell GIT_DIR=$(top_srcdir)/.git $(CG_COMMIT_ID) 2> /dev/null)
|
2005-09-17 08:45:59 -04:00
|
|
|
endif
|
2005-09-17 10:21:35 -04:00
|
|
|
INCLUDES += -DBUILD_ID="\"$(BUILD_ID)\""
|
2005-09-17 08:45:59 -04:00
|
|
|
|
2005-09-27 16:38:00 -04:00
|
|
|
OBJS = vernum.o
|
2005-09-16 07:13:22 -04:00
|
|
|
vernum.o: FORCE
|
|
|
|
FORCE:
|
|
|
|
|
2005-09-27 16:38:00 -04:00
|
|
|
elinks: lib.o
|
2005-09-16 07:13:22 -04:00
|
|
|
$(call cmd,link)
|
|
|
|
|
2005-10-01 08:16:19 -04:00
|
|
|
PROGS = elinks
|
2005-09-17 14:37:23 -04:00
|
|
|
|
2005-10-19 19:11:47 -04:00
|
|
|
include $(top_srcdir)/Makefile.lib
|