Commit 904caf00 authored by rswindell's avatar rswindell
Browse files

Moved smblib/crc* and md5* here.

parent adcd7d84
# $Id$
# Available Options:
HASH_LIB = $(HASH_SRC)$(DIRSEP)$(LIBODIR)$(DIRSEP)$(LIBPREFIX)hash$(LIBFILE)
HASH_CFLAGS = -I$(HASH_SRC)
HASH_LDFLAGS = -L$(HASH_SRC)$(DIRSEP)$(LIBODIR)
HASH_LIBS = $(UL_PRE)hash$(UL_SUF)
# $Id$
# Macros
#DEBUG = 1 # Comment out for release (non-debug) version
SRC_ROOT = ..
# Cross platform/compiler definitions
include $(SRC_ROOT)/build/Common.gmake # defines clean and output directory rules
CFLAGS += -I$(HASH_SRC) $(XPDEV_CFLAGS)
# HASH Library Link Rule
$(HASH_BUILD): $(OBJODIR) $(OBJS)
@echo Creating $@ ...
$(QUIET)$(AR) rc $@ $(OBJS)
$(QUIET)$(RANLIB) $@
# hash/objects.mk
# Make 'include file' listing object files for HASH LIB
# $Id$
# OBJODIR, DIRSEP, and OFILE must be pre-defined
OBJS = $(OBJODIR)$(DIRSEP)crc16$(OFILE) \
$(OBJODIR)$(DIRSEP)crc32$(OFILE) \
$(OBJODIR)$(DIRSEP)md5$(OFILE)
# hash/targets.mk
# $Id$
HASH_BUILD = $(LIBODIR)$(DIRSEP)$(LIBPREFIX)hash$(LIBFILE)
lib: $(OBJODIR) $(LIBODIR) $(HASH_BUILD)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment