1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-29 03:17:53 -04:00
elinks/src/protocol/Makefile
Jonas Fonseca 68de9e35d3 Automagically link in subdir lib.o files
It is a little ugly since I couldn't get $(wildcard) to expand *.o files
so it just checks if there are any *.c files and then link in the lib.o
based on that.
2005-09-27 22:38:00 +02:00

51 lines
736 B
Makefile

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