mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
Switch the root Makefile to ELBuild. Woohoo!
This commit is contained in:
parent
4130c42bc9
commit
cf0c9fce4e
@ -1,36 +1,32 @@
|
|||||||
## Process this file with automake to produce Makefile.in
|
path_to_top=..
|
||||||
## $Id: Makefile.am,v 1.87 2005/06/14 12:25:19 jonas Exp $
|
include $(path_to_top)/Makefile.config
|
||||||
|
|
||||||
include $(top_srcdir)/Makefile.base
|
ifeq ($(CONFIG_BOOKMARKS),yes)
|
||||||
|
|
||||||
EXTRA_DIST = README
|
|
||||||
|
|
||||||
if CONFIG_BOOKMARKS
|
|
||||||
bookmarksdir = bookmarks
|
bookmarksdir = bookmarks
|
||||||
bookmarkslib = $(bookmarksdir)/libbookmarks.a
|
bookmarkslib = $(bookmarksdir)/libbookmarks.a
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if CONFIG_COOKIES
|
ifeq ($(CONFIG_COOKIES),yes)
|
||||||
cookiesdir = cookies
|
cookiesdir = cookies
|
||||||
cookieslib = $(cookiesdir)/libcookies.a
|
cookieslib = $(cookiesdir)/libcookies.a
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if CONFIG_FORMHIST
|
ifeq ($(CONFIG_FORMHIST),yes)
|
||||||
formhistdir = formhist
|
formhistdir = formhist
|
||||||
formhistlib = $(formhistdir)/libformhist.a
|
formhistlib = $(formhistdir)/libformhist.a
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if CONFIG_GLOBHIST
|
ifeq ($(CONFIG_GLOBHIST),yes)
|
||||||
globhistdir = globhist
|
globhistdir = globhist
|
||||||
globhistlib = $(globhistdir)/libglobhist.a
|
globhistlib = $(globhistdir)/libglobhist.a
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if CONFIG_ECMASCRIPT
|
ifeq ($(CONFIG_ECMASCRIPT),yes)
|
||||||
ecmascriptdir = ecmascript
|
ecmascriptdir = ecmascript
|
||||||
ecmascriptlib = $(ecmascriptdir)/libecmascript.a
|
ecmascriptlib = $(ecmascriptdir)/libecmascript.a
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if CONFIG_SCRIPTING
|
ifeq ($(CONFIG_SCRIPTING),yes)
|
||||||
scriptingdir = scripting
|
scriptingdir = scripting
|
||||||
scriptinglib = $(scriptingdir)/libscripting.a
|
scriptinglib = $(scriptingdir)/libscripting.a
|
||||||
endif
|
endif
|
||||||
@ -59,23 +55,12 @@ SUBDIRS = \
|
|||||||
util \
|
util \
|
||||||
viewer
|
viewer
|
||||||
|
|
||||||
bin_PROGRAMS = elinks
|
|
||||||
elinks_SOURCES = \
|
|
||||||
elinks.h \
|
|
||||||
setup.h \
|
|
||||||
vernum.c \
|
|
||||||
vernum.h
|
|
||||||
|
|
||||||
vernum.o: FORCE
|
|
||||||
|
|
||||||
FORCE:
|
|
||||||
|
|
||||||
# Order of this is purely magic and random, so that ld doesn't fail for some
|
# Order of this is purely magic and random, so that ld doesn't fail for some
|
||||||
# strange reason. Try to swap randomly when ld will start to complain about
|
# strange reason. Try to swap randomly when ld will start to complain about
|
||||||
# mysteriously unresolved symbols.
|
# mysteriously unresolved symbols.
|
||||||
elinks_DEPENDENCIES = \
|
ELINKSLIBS = \
|
||||||
main/libmain.a \
|
main/libmain.a \
|
||||||
@INTLLIBS@ \
|
$(INTLLIBS) \
|
||||||
$(cookieslib) \
|
$(cookieslib) \
|
||||||
viewer/libviewer.a \
|
viewer/libviewer.a \
|
||||||
cache/libcache.a \
|
cache/libcache.a \
|
||||||
@ -98,4 +83,12 @@ elinks_DEPENDENCIES = \
|
|||||||
encoding/libencoding.a \
|
encoding/libencoding.a \
|
||||||
util/libutil.a
|
util/libutil.a
|
||||||
|
|
||||||
elinks_LDADD = $(elinks_DEPENDENCIES)
|
OBJS = vernum.o
|
||||||
|
vernum.o: FORCE
|
||||||
|
FORCE:
|
||||||
|
|
||||||
|
all-l: elinks
|
||||||
|
elinks: $(OBJS) $(ELINKSLIBS)
|
||||||
|
$(call cmd,link)
|
||||||
|
|
||||||
|
include $(path_to_top)/Makefile.lib
|
Loading…
Reference in New Issue
Block a user