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:
parent
402a15c94e
commit
72e2d55c1a
17
src/encoding/Makefile
Normal file
17
src/encoding/Makefile
Normal 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
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user