1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-28 03:06:20 -04:00

Convert src/encoding to ELbuild.

This commit is contained in:
Petr Baudis 2005-09-16 12:05:51 +02:00
parent 402a15c94e
commit 72e2d55c1a
2 changed files with 17 additions and 27 deletions

17
src/encoding/Makefile Normal file
View File

@ -0,0 +1,17 @@
path_to_top=../..
include $(path_to_top)/Makefile.config
ifeq ($(CONFIG_BZIP2),yes)
bzip2obj = bzip2.o
endif
ifeq ($(CONFIG_GZIP),yes)
gzipobj = gzip.o
endif
OBJS = encoding.o bzip2.o gzip.o
all-l: libencoding.o
libencoding.a: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,27 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.2 2004/05/28 11:55:26 jonas Exp $
include $(top_srcdir)/Makefile.base
if CONFIG_BZIP2
bzip2obj = bzip2.o
endif
if CONFIG_GZIP
gzipobj = gzip.o
endif
noinst_LIBRARIES = libencoding.a
EXTRA_libencoding_a_SOURCES = \
bzip2.c \
bzip2.h \
gzip.c \
gzip.h
libencoding_a_LIBADD = $(bzip2obj) $(gzipobj)
libencoding_a_SOURCES = \
encoding.c \
encoding.h