1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
elinks/src/Makefile

71 lines
1.0 KiB
Makefile
Raw Normal View History

path_to_top=..
include $(path_to_top)/Makefile.config
ifeq ($(CONFIG_BOOKMARKS),yes)
bookmarksdir = bookmarks
endif
ifeq ($(CONFIG_COOKIES),yes)
cookiesdir = cookies
endif
ifeq ($(CONFIG_FORMHIST),yes)
formhistdir = formhist
endif
ifeq ($(CONFIG_GLOBHIST),yes)
globhistdir = globhist
endif
ifeq ($(CONFIG_ECMASCRIPT),yes)
ecmascriptdir = ecmascript
endif
ifeq ($(CONFIG_SCRIPTING),yes)
scriptingdir = scripting
endif
SUBDIRS = \
bfu \
$(bookmarksdir) \
cache \
config \
$(cookiesdir) \
dialogs \
document \
$(ecmascriptdir) \
encoding \
$(formhistdir) \
$(globhistdir) \
intl \
main \
mime \
network \
osdep \
protocol \
$(scriptingdir) \
session \
terminal \
util \
viewer
# Get the GIT HEAD ID if possible
ifdef CG_COMMIT_ID
BUILD_ID=$(shell $(CG_COMMIT_ID) 2> /dev/null)
endif
INCLUDES += -DBUILD_ID="\"$(BUILD_ID)\""
OBJS = vernum.o
vernum.o: FORCE
FORCE:
2005-09-27 15:11:28 -04:00
all-local: elinks
elinks: lib.o
$(call cmd,link)
install-local:
2005-09-22 08:50:59 -04:00
$(INSTALL_PROGRAM) elinks $(DESTDIR)$(bindir)
include $(path_to_top)/Makefile.lib