PKG_CPPFLAGS = @cflags@ -DSTRICT_R_HEADERS -DR_NO_REMAP
PKG_LIBS = -Lbcrypt -lstatbcrypt @libs@
STATLIB = bcrypt/libstatbcrypt.a
LIBBCRYPT = bcrypt/bcrypt_pbkdf.o bcrypt/blowfish.o

all: clean

$(SHLIB): $(OBJECTS) $(STATLIB)

$(STATLIB): $(LIBBCRYPT)
	$(AR) rcs $(STATLIB) $(LIBBCRYPT)

clean:
	rm -f $(OBJECTS) $(SHLIB) $(STATLIB) $(LIBBCRYPT)
