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-15 23:01:31 -04:00
|
|
|
ifeq ($(CONFIG_BITTORRENT),yes)
|
2005-09-15 09:58:31 -04:00
|
|
|
bittorrentdir = bittorrent
|
|
|
|
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-15 23:01:31 -04:00
|
|
|
ifeq ($(CONFIG_FINGER),yes)
|
2005-09-15 09:58:31 -04:00
|
|
|
fingerdir = finger
|
|
|
|
endif
|
|
|
|
|
2005-09-15 23:01:31 -04:00
|
|
|
ifeq ($(CONFIG_FTP),yes)
|
2005-09-15 09:58:31 -04:00
|
|
|
ftpdir = ftp
|
|
|
|
endif
|
|
|
|
|
2005-09-15 23:01:31 -04:00
|
|
|
ifeq ($(CONFIG_GOPHER),yes)
|
2005-09-15 09:58:31 -04:00
|
|
|
gopherdir = gopher
|
|
|
|
endif
|
|
|
|
|
2005-09-15 23:01:31 -04:00
|
|
|
ifeq ($(CONFIG_NNTP),yes)
|
2005-09-15 09:58:31 -04:00
|
|
|
nntpdir = nntp
|
|
|
|
endif
|
|
|
|
|
2005-09-15 23:01:31 -04:00
|
|
|
ifeq ($(CONFIG_SMB),yes)
|
2005-09-15 09:58:31 -04:00
|
|
|
smbdir = smb
|
|
|
|
endif
|
|
|
|
|
2005-09-15 23:01:31 -04:00
|
|
|
ifeq ($(CONFIG_URI_REWRITE),yes)
|
2005-09-15 09:58:31 -04:00
|
|
|
rewritedir = rewrite
|
|
|
|
endif
|
|
|
|
|
|
|
|
SUBDIRS = \
|
|
|
|
auth \
|
|
|
|
$(bittorrentdir) \
|
|
|
|
file \
|
|
|
|
$(fingerdir) \
|
|
|
|
$(ftpdir) \
|
|
|
|
$(gopherdir) \
|
|
|
|
http \
|
|
|
|
$(nntpdir) \
|
|
|
|
$(rewritedir) \
|
|
|
|
$(smbdir)
|
|
|
|
|
2005-09-27 16:38:00 -04:00
|
|
|
OBJS = about.o $(dataobj) date.o header.o protocol.o proxy.o uri.o user.o
|
2005-09-15 09:58:31 -04:00
|
|
|
|
2005-09-15 23:01:31 -04:00
|
|
|
include $(path_to_top)/Makefile.lib
|