1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
This commit is contained in:
Frobozz the Neuromancer,668,302-521-2606,609-645-8080 2005-09-15 21:09:17 -04:00
commit 9c0a913339
15 changed files with 39 additions and 29 deletions

View File

@ -1,7 +1,5 @@
include Makefile.config
# This should be _really_ ., but only after we have src/Makefile.
# Otherwise, it wouldn't be set right in the submakefiles.
path_to_top = ..
path_to_top = .
include $(path_to_top)/Makefile.config
# TODO: Automagically rerun autoconf.
@ -11,4 +9,4 @@ SUBDIRS = doc po src
clean-l:
rm -rf features.log
include Makefile.lib
include $(path_to_top)/Makefile.lib

View File

@ -6,6 +6,7 @@
SHELL = @SHELL@
top_srcdir = $(path_to_top)/@top_srcdir@
srcdir = $(top_srcdir)/$(shell pwd | sed 's!.*/\($(shell echo $(path_to_top) | sed 's!\.\.![^/]*!')\)$$!\1!')
top_builddir = $(path_to_top)
prefix = @prefix@
exec_prefix = @exec_prefix@

View File

@ -32,7 +32,7 @@ quiet_cmd_archive = '[AR] $@'
# Recursive make
quiet_cmd_recmake = "[MAKE $$target] $$subdir"
cmd_recmake = $(MAKE) -C $$subdir $$target path_to_top="$(path_to_top)/.."
cmd_recmake = $(MAKE) -C $$subdir $$target

View File

@ -1267,7 +1267,6 @@ AC_OUTPUT([ \
contrib/lua/hooks.lua \
contrib/conv/w3m2links.awk \
doc/Makefile \
po/Makefile \
src/Makefile \
src/bfu/Makefile \
src/bookmarks/Makefile \

View File

@ -1,5 +1,6 @@
include ../../Makefile.config
path_to_top=../..
include $(path_to_top)/Makefile.config
SUBDIRS = man1 man5
include ../../Makefile.lib
include $(path_to_top)/Makefile.lib

View File

@ -1,6 +1,7 @@
include ../../../Makefile.config
path_to_top=../../..
include $(path_to_top)/Makefile.config
install-l:
$(INSTALL_DATA) elinks.1 $(DESTDIR)$(mandir)/man1
include ../../../Makefile.lib
include $(path_to_top)/Makefile.lib

View File

@ -1,7 +1,8 @@
include ../../../Makefile.config
path_to_top=../../..
include $(path_to_top)/Makefile.config
install-l:
$(INSTALL_DATA) elinks.conf.5 $(DESTDIR)$(mandir)/man5
$(INSTALL_DATA) elinkskeys.5 $(DESTDIR)$(mandir)/man5
include ../../../Makefile.lib
include $(path_to_top)/Makefile.lib

View File

@ -1,4 +1,5 @@
include ../Makefile.config
path_to_top=..
include $(path_to_top)/Makefile.config
# Where to install the catalog files.
localedir = $(datadir)/locale
@ -11,6 +12,7 @@ POTFILES_ABS = $(shell cd $(top_srcdir); find src/ -name '*.[ch]' -o -name optio
SUFFIXES = .po .gmo .mo
.SUFFIXES: .gmo .mo .po
.po.mo:
$(MSGFMT) -o $@ $<
@ -129,4 +131,4 @@ dist: update-po distdir
clean:
rm -f $(PACKAGE).po *.new.po
include ../Makefile.lib
include $(path_to_top)/Makefile.lib

5
src/cache/Makefile vendored
View File

@ -1,8 +1,9 @@
include ../../Makefile.config
path_to_top=../..
include $(path_to_top)/Makefile.config
OBJS = cache.o dialogs.o
all-l: libcache.a
libcache.a: $(OBJS)
include ../../Makefile.lib
include $(path_to_top)/Makefile.lib

View File

@ -1,8 +1,9 @@
include ../../Makefile.config
path_to_top=../..
include $(path_to_top)/Makefile.config
OBJS = cmdline.o conf.o dialogs.o home.o kbdbind.o options.o opttypes.o timer.o urlhist.o
all-l: libconfig.a
libconfig.a: $(OBJS)
include ../../Makefile.lib
include $(path_to_top)/Makefile.lib

View File

@ -1,4 +1,5 @@
include ../../Makefile.config
path_to_top=../..
include $(path_to_top)/Makefile.config
INCLUDES += $(SPIDERMONKEY_CFLAGS)
SUBDIRS = spidermonkey
@ -9,4 +10,4 @@ OBJS = ecmascript.o spidermonkey.o $(foreach obj,$(SM_OBJS),spidermonkey/$(obj))
all-l: libecmascript.a
libecmascript.a: $(OBJS)
include ../../Makefile.lib
include $(path_to_top)/Makefile.lib

View File

@ -1,4 +1,5 @@
include ../../../Makefile.config
path_to_top=../../..
include $(path_to_top)/Makefile.config
INCLUDES += $(SPIDERMONKEY_CFLAGS)
# Do not forget to also add the .o to ../Makefile. Yes, it sucks.
@ -6,4 +7,4 @@ OBJS = document.o form.o location.o navigator.o unibar.o window.o
all-l: $(OBJS)
include ../../../Makefile.lib
include $(path_to_top)/Makefile.lib

View File

@ -1,8 +1,9 @@
include ../../Makefile.config
path_to_top=../..
include $(path_to_top)/Makefile.config
OBJS = formhist.o dialogs.o
all-l: libformhist.a
libformhist.a: $(OBJS)
include ../../Makefile.lib
include $(path_to_top)/Makefile.lib

View File

@ -1,8 +1,9 @@
include ../../Makefile.config
path_to_top=../..
include $(path_to_top)/Makefile.config
OBJS = globhist.o dialogs.o
all-l: libglobhist.a
libglobhist.a: $(OBJS)
include ../../Makefile.lib
include $(path_to_top)/Makefile.lib

View File

@ -1,8 +1,9 @@
include ../../Makefile.config
path_to_top=../..
include $(path_to_top)/Makefile.config
OBJS = download.o history.o location.o session.o task.o
all-l: libsession.a
libsession.a: $(OBJS)
include ../../Makefile.lib
include $(path_to_top)/Makefile.lib