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

ELBuildize some more stuff. All for tonight, turn for the Americans.

This commit is contained in:
Petr Baudis 2005-09-16 05:09:08 +02:00
parent 76f1eb70df
commit 4e2d48cc93
9 changed files with 81 additions and 150 deletions

29
src/bfu/Makefile Normal file
View File

@ -0,0 +1,29 @@
path_to_top=../..
include $(path_to_top)/Makefile.config
ifeq ($(CONFIG_LEDS),yes)
ledsobj = leds.o
endif
OBJS = \
button.o \
checkbox.o \
dialog.o \
group.o \
hierbox.o \
hotkey.o \
inpfield.o \
inphist.o \
$(ledsobj) \
listbox.o \
listmenu.o \
menu.o \
msgbox.o \
style.o \
text.o \
widget.o
all-l: libbfu.a
libbfu.a: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,47 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.27 2004/11/19 15:33:07 zas Exp $
include $(top_srcdir)/Makefile.base
if CONFIG_LEDS
ledsobj = leds.o
endif
noinst_LIBRARIES = libbfu.a
EXTRA_libbfu_a_SOURCES = leds.c leds.h
libbfu_a_LIBADD = $(ledsobj)
libbfu_a_SOURCES = \
button.c \
button.h \
checkbox.c \
checkbox.h \
common.h \
dialog.c \
dialog.h \
group.c \
group.h \
hierbox.c \
hierbox.h \
hotkey.c \
hotkey.h \
inpfield.c \
inpfield.h \
inphist.c \
inphist.h \
listbox.c \
listbox.h \
listmenu.c \
listmenu.h \
menu.c \
menu.h \
msgbox.c \
msgbox.h \
style.c \
style.h \
text.c \
text.h \
widget.c \
widget.h

16
src/bookmarks/Makefile Normal file
View File

@ -0,0 +1,16 @@
path_to_top=../..
include $(path_to_top)/Makefile.config
SUBDIRS = backend
ifeq ($(CONFIG_XBEL_BOOKMARKS),yes)
xbelobj = xbel.o
endif
BACK_OBJS = common.o default.o $(xbelobj)
OBJS = bookmarks.o dialogs.o $(foreach obj,$(BACK_OBJS),backend/$(obj))
all-l: libbookmarks.a
libbookmarks.a: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,23 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.12 2004/05/02 12:59:42 jonas Exp $
include $(top_srcdir)/Makefile.base
if CONFIG_XBEL_BOOKMARKS
xbelobj = backend/xbel.o
endif
SUBDIRS = backend
noinst_LIBRARIES = libbookmarks.a
libbookmarks_a_LIBADD = \
backend/common.o \
backend/default.o \
$(xbelobj)
libbookmarks_a_SOURCES = \
bookmarks.c \
bookmarks.h \
dialogs.c \
dialogs.h

View File

@ -0,0 +1,13 @@
path_to_top=../../..
include $(path_to_top)/Makefile.config
ifeq ($(CONFIG_XBEL_BOOKMARKS),yes)
xbelobj = xbel.o
endif
OBJS = common.o default.o $(xbelobj)
# Do not forget to also add the .o to ../Makefile. Yes, it sucks.
all-l: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,26 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.4 2004/08/14 21:12:36 miciah Exp $
include $(top_srcdir)/Makefile.base
# We don't want to expose this outside of /src/bookmarks/ at all, and we can't
# merge the whole library of these with libbookmarks.a. So we only compile
# objects here and link them directly to libbookmarks.a in ../Makefile.am.
# However, we apparently need to create the library in order to convince
# automake to compile the objects :/. We DON'T use libbackend.a ANYWHERE.
if CONFIG_XBEL_BOOKMARKS
xbelobj = xbel.o
endif
noinst_LIBRARIES = libbackend.a
EXTRA_libbackend_a_SOURCES = xbel.c xbel.h
libbackend_a_LIBADD = $(xbelobj)
libbackend_a_SOURCES = \
common.c \
common.h \
default.c \
default.h

13
src/dialogs/Makefile Normal file
View File

@ -0,0 +1,13 @@
path_to_top=../..
include $(path_to_top)/Makefile.config
ifeq ($(CONFIG_EXMODE),yes)
exmodeobj = exmode.o
endif
OBJS = document.o download.o edit.o $(exmodeobj) info.o menu.o options.o progress.o status.o
all-l: libdialogs.a
libdialogs.a: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,31 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.26 2005/04/18 17:00:25 zas Exp $
include $(top_srcdir)/Makefile.base
if CONFIG_EXMODE
exmodeobj = exmode.o
endif
noinst_LIBRARIES = libdialogs.a
EXTRA_libdialogs_a_SOURCES = exmode.c exmode.h
libdialogs_a_LIBADD = $(exmodeobj)
libdialogs_a_SOURCES = \
document.c \
document.h \
download.c \
download.h \
edit.c \
edit.h \
info.c \
info.h \
menu.c \
menu.h \
options.c \
options.h \
progress.c \
progress.h \
status.c \
status.h

View File

@ -1,9 +1,7 @@
## Process this file with automake to produce Makefile.in path_to_top=../..
## $Id: Makefile.am,v 1.49 2005/07/15 04:37:55 miciah Exp $ include $(path_to_top)/Makefile.config
include $(top_srcdir)/Makefile.base ifeq ($(CONFIG_CSS),yes)
if CONFIG_CSS
cssdir = css cssdir = css
cssobj = \ cssobj = \
css/apply.o \ css/apply.o \
@ -15,7 +13,7 @@ cssobj = \
css/value.o css/value.o
endif endif
if CONFIG_DOM ifeq ($(CONFIG_DOM),yes)
domdir = dom domdir = dom
domobj = \ domobj = \
$(domdir)/navigator.o \ $(domdir)/navigator.o \
@ -32,9 +30,7 @@ endif
SUBDIRS = $(cssdir) $(domdir) html plain $(sgmldir) SUBDIRS = $(cssdir) $(domdir) html plain $(sgmldir)
noinst_LIBRARIES = libdocument.a SUB_OBJS = \
libdocument_a_LIBADD = \
$(cssobj) \ $(cssobj) \
$(domobj) \ $(domobj) \
html/parser/forms.o \ html/parser/forms.o \
@ -50,18 +46,9 @@ libdocument_a_LIBADD = \
plain/renderer.o \ plain/renderer.o \
$(sgmlobj) $(sgmlobj)
libdocument_a_SOURCES = \ OBJS = docdata.o document.o forms.o options.o refresh.o renderer.o $(SUB_OBJS)
docdata.c \
docdata.h \
document.c \
document.h \
forms.c \
forms.h \
options.c \
options.h \
refresh.c \
refresh.h \
renderer.c \
renderer.h \
view.h
all-l: libdocument.a
libdocument.a: $(OBJS)
include $(path_to_top)/Makefile.lib