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

78 lines
1.2 KiB
Makefile
Raw Normal View History

path_to_top=../..
include $(path_to_top)/Makefile.config
authobj = auth/lib.o
ifeq ($(CONFIG_BITTORRENT),yes)
bittorrentdir = bittorrent
bittorrentobj = $(bittorrentdir)/lib.o
endif
ifeq ($(CONFIG_DATA),yes)
dataobj = data.o
endif
fileobj = file/lib.o
ifeq ($(CONFIG_FINGER),yes)
fingerdir = finger
fingerobj = $(fingerdir)/lib.o
endif
ifeq ($(CONFIG_FTP),yes)
ftpdir = ftp
ftpobj = $(ftpdir)/lib.o
endif
ifeq ($(CONFIG_GOPHER),yes)
gopherdir = gopher
gopherobj = $(gopherdir)/lib.o
endif
httpobj = http/lib.o
ifeq ($(CONFIG_NNTP),yes)
nntpdir = nntp
nntpobj = $(nntpdir)/lib.o
endif
ifeq ($(CONFIG_SMB),yes)
smbdir = smb
smbobj = $(smbdir)/lib.o
endif
ifeq ($(CONFIG_URI_REWRITE),yes)
rewritedir = rewrite
rewriteobj = $(rewritedir)/lib.o
endif
SUBDIRS = \
auth \
$(bittorrentdir) \
file \
$(fingerdir) \
$(ftpdir) \
$(gopherdir) \
http \
$(nntpdir) \
$(rewritedir) \
$(smbdir)
SUB_OBJS = \
$(authobj) \
$(bittorrentobj) \
$(dataobj) \
$(cgiobj) \
$(fileobj) \
$(fingerobj) \
$(ftpobj) \
$(gopherobj) \
$(httpobj) \
$(nntpobj) \
$(rewriteobj) \
$(smbobj)
OBJS = about.o date.o header.o protocol.o proxy.o uri.o user.o $(SUB_OBJS)
include $(path_to_top)/Makefile.lib