2005-09-16 11:13:22 +00:00
|
|
|
path_to_top=..
|
|
|
|
include $(path_to_top)/Makefile.config
|
2005-09-15 13:58:31 +00:00
|
|
|
|
2005-09-27 20:49:47 +00: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 13:58:31 +00:00
|
|
|
|
|
|
|
SUBDIRS = \
|
|
|
|
bfu \
|
|
|
|
cache \
|
|
|
|
config \
|
|
|
|
dialogs \
|
|
|
|
document \
|
|
|
|
encoding \
|
|
|
|
intl \
|
|
|
|
main \
|
|
|
|
mime \
|
|
|
|
network \
|
|
|
|
osdep \
|
|
|
|
protocol \
|
|
|
|
session \
|
|
|
|
terminal \
|
|
|
|
util \
|
|
|
|
viewer
|
|
|
|
|
2005-09-17 12:45:59 +00:00
|
|
|
# Get the GIT HEAD ID if possible
|
2005-09-19 09:04:03 +00:00
|
|
|
ifdef CG_COMMIT_ID
|
|
|
|
BUILD_ID=$(shell $(CG_COMMIT_ID) 2> /dev/null)
|
2005-09-17 12:45:59 +00:00
|
|
|
endif
|
2005-09-17 14:21:35 +00:00
|
|
|
INCLUDES += -DBUILD_ID="\"$(BUILD_ID)\""
|
2005-09-17 12:45:59 +00:00
|
|
|
|
2005-09-27 20:38:00 +00:00
|
|
|
OBJS = vernum.o
|
2005-09-16 11:13:22 +00:00
|
|
|
vernum.o: FORCE
|
|
|
|
FORCE:
|
|
|
|
|
2005-09-27 19:11:28 +00:00
|
|
|
all-local: elinks
|
2005-09-27 20:38:00 +00:00
|
|
|
elinks: lib.o
|
2005-09-16 11:13:22 +00:00
|
|
|
$(call cmd,link)
|
|
|
|
|
2005-09-27 19:42:52 +00:00
|
|
|
install-local:
|
2005-09-28 19:43:09 +00:00
|
|
|
$(MKINSTALLDIRS) $(DESTDIR)$(bindir)
|
2005-09-22 12:50:59 +00:00
|
|
|
$(INSTALL_PROGRAM) elinks $(DESTDIR)$(bindir)
|
2005-09-17 18:37:23 +00:00
|
|
|
|
2005-09-16 11:13:22 +00:00
|
|
|
include $(path_to_top)/Makefile.lib
|
2005-09-27 20:38:00 +00:00
|
|
|
|