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

ELBuildized util/.

This commit is contained in:
Petr Baudis 2005-09-16 13:27:27 +02:00
parent 83212cee45
commit 18f85bec14
3 changed files with 52 additions and 83 deletions

View File

@ -1331,7 +1331,6 @@ AC_OUTPUT([ \
src/mime/Makefile \
src/mime/backend/Makefile \
src/scripting/Makefile \
src/util/Makefile \
src/viewer/Makefile \
src/viewer/text/Makefile
])

52
src/util/Makefile Normal file
View File

@ -0,0 +1,52 @@
path_to_top=../..
include $(path_to_top)/Makefile.config
ifeq ($(CONFIG_DEBUG),yes)
debugobj = memdebug.o
endif
ifeq ($(CONFIG_MD5),yes)
md5obj = md5.o
endif
ifeq ($(CONFIG_SCANNER),yes)
scannerobj = scanner.o
endif
ifeq ($(CONFIG_SHA1),yes)
sha1obj = sha1.o
endif
ifeq ($(CONFIG_SMALL),yes)
else
fastfindobj = fastfind.o
endif
ifeq ($(CONFIG_MOUSE),yes)
mouseobj = mouse.o
endif
OBJS = \
base64.o \
color.o \
conv.o \
env.o \
error.o \
file.o \
hash.o \
memlist.o \
memory.o \
secsave.o \
snprintf.o \
string.o \
time.o \
$(debugobj) \
$(fastfindobj) \
$(md5obj) \
$(scannerobj) \
$(sha1obj)
all-l: libutil.a
libutil.a: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,82 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.53 2005/08/17 15:26:22 jonas Exp $
include $(top_srcdir)/Makefile.base
if CONFIG_DEBUG
debugobj = memdebug.o
endif
if CONFIG_MD5
md5obj = md5.o
endif
if CONFIG_SCANNER
scannerobj = scanner.o
endif
if CONFIG_SHA1
sha1obj = sha1.o
endif
if CONFIG_SMALL
else
fastfindobj = fastfind.o
endif
noinst_LIBRARIES = libutil.a
EXTRA_libutil_a_SOURCES = \
fastfind.c \
fastfind.h \
md5.c \
md5.h \
memdebug.c \
memdebug.h \
scanner.c \
scanner.h \
sha1.c \
sha1.h
libutil_a_LIBADD = \
$(debugobj) \
$(fastfindobj) \
$(md5obj) \
$(scannerobj) \
$(sha1obj)
libutil_a_SOURCES = \
align.h \
base64.c \
base64.h \
bitfield.h \
box.h \
color.c \
color.h \
color.inc \
color_s.inc \
conv.c \
conv.h \
env.c \
env.h \
error.c \
error.h \
file.c \
file.h \
hash.c \
hash.h \
lists.h \
math.h \
memlist.c \
memlist.h \
memory.c \
memory.h \
profile.h \
secsave.c \
secsave.h \
snprintf.c \
snprintf.h \
string.c \
string.h \
time.c \
time.h