2005-09-16 07:27:27 -04:00
|
|
|
path_to_top=../..
|
|
|
|
include $(path_to_top)/Makefile.config
|
|
|
|
|
2005-09-28 06:38:17 -04:00
|
|
|
# Reverse a CONFIG_* string
|
|
|
|
# Usage $(call not,$(CONFIG_FOO))
|
|
|
|
not = $(if $(findstring yes,$(1)),no,yes)
|
2005-09-16 07:27:27 -04:00
|
|
|
|
2005-09-28 06:38:17 -04:00
|
|
|
OBJS-$(CONFIG_DEBUG) += memdebug.o
|
|
|
|
OBJS-$(CONFIG_MD5) += md5.o
|
|
|
|
OBJS-$(CONFIG_SCANNER) += scanner.o
|
|
|
|
OBJS-$(CONFIG_SHA1) += sha1.o
|
|
|
|
OBJS-$(call not,$(CONFIG_SMALL)) += fastfind.o
|
2005-09-16 07:27:27 -04:00
|
|
|
|
|
|
|
OBJS = \
|
|
|
|
base64.o \
|
|
|
|
color.o \
|
|
|
|
conv.o \
|
|
|
|
env.o \
|
|
|
|
error.o \
|
|
|
|
file.o \
|
|
|
|
hash.o \
|
|
|
|
memlist.o \
|
|
|
|
memory.o \
|
|
|
|
secsave.o \
|
|
|
|
snprintf.o \
|
|
|
|
string.o \
|
2005-09-28 06:38:17 -04:00
|
|
|
time.o
|
2005-09-16 07:27:27 -04:00
|
|
|
|
|
|
|
include $(path_to_top)/Makefile.lib
|