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