mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 03:50:57 +01:00
fixed Makefiles for "make dist"
This commit is contained in:
@@ -54,7 +54,7 @@ Pretty Curved Privacy - File encryption using eliptic curve cryptography.
|
|||||||
|
|
||||||
# generate the top level readme
|
# generate the top level readme
|
||||||
cat man/pcp.pod man/install.pod man/footer.pod > README.pod
|
cat man/pcp.pod man/install.pod man/footer.pod > README.pod
|
||||||
pod2text README.pod > README.txt
|
pod2text README.pod > README
|
||||||
|
|
||||||
# generate usage.h
|
# generate usage.h
|
||||||
(cd src && ./usage.sh)
|
(cd src && ./usage.sh)
|
||||||
@@ -73,7 +73,6 @@ fi
|
|||||||
|
|
||||||
if test "$mode" = "config"; then
|
if test "$mode" = "config"; then
|
||||||
mkdir -p ./config
|
mkdir -p ./config
|
||||||
touch README
|
|
||||||
|
|
||||||
if ! command -v libtool >/dev/null 2>&1; then
|
if ! command -v libtool >/dev/null 2>&1; then
|
||||||
echo "could not find libtool." 1>&2
|
echo "could not find libtool." 1>&2
|
||||||
@@ -112,7 +111,7 @@ EOF
|
|||||||
chmod 700 clean.sh
|
chmod 700 clean.sh
|
||||||
|
|
||||||
|
|
||||||
rm -rf README include/pcp/config.h.in~ libpcp/stamp-h1 autom4te.cache
|
rm -rf include/pcp/config.h.in~ libpcp/stamp-h1 autom4te.cache
|
||||||
|
|
||||||
sleep 1
|
sleep 1
|
||||||
touch Makefile.in configure */Makefile.in
|
touch Makefile.in configure */Makefile.in
|
||||||
|
|||||||
@@ -20,6 +20,8 @@
|
|||||||
#
|
#
|
||||||
AM_CXXFLAGS = -I../../include -I../../libpcp/scrypt/crypto -I../../libpcp/scrypt/util
|
AM_CXXFLAGS = -I../../include -I../../libpcp/scrypt/crypto -I../../libpcp/scrypt/util
|
||||||
|
|
||||||
|
EXTRA_DIST = *.h
|
||||||
|
|
||||||
lib_LTLIBRARIES = libpcp1++.la
|
lib_LTLIBRARIES = libpcp1++.la
|
||||||
|
|
||||||
libpcp1___la_SOURCES = pcp++.h ptx.cpp key.cpp vault.cpp crypto.cpp sign.cpp buffer.cpp
|
libpcp1___la_SOURCES = pcp++.h ptx.cpp key.cpp vault.cpp crypto.cpp sign.cpp buffer.cpp
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
EXTRA_DIST = setup.py Makefile.am pypcp/*.py Makefile.in
|
||||||
|
|
||||||
all:
|
all:
|
||||||
python setup.py build
|
python setup.py build
|
||||||
|
|
||||||
|
|||||||
@@ -363,7 +363,7 @@ AM_CONDITIONAL([BUILDPY], [test "x$python" = "xyes"])
|
|||||||
AC_SUBST(PACKAGE_VERSION)
|
AC_SUBST(PACKAGE_VERSION)
|
||||||
|
|
||||||
# Specify output files
|
# Specify output files
|
||||||
AC_CONFIG_FILES([Makefile include/Makefile libpcp/Makefile src/Makefile man/Makefile \
|
AC_CONFIG_FILES([Makefile include/Makefile libpcp/Makefile libpcp/scrypt/Makefile src/Makefile man/Makefile \
|
||||||
tests/Makefile libpcp/libpcp1.pc bindings/cpp/Makefile bindings/py/Makefile])
|
tests/Makefile libpcp/libpcp1.pc bindings/cpp/Makefile bindings/py/Makefile])
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -20,8 +20,7 @@
|
|||||||
#
|
#
|
||||||
AM_CFLAGS = -I../include/pcp -Iscrypt/crypto -Iscrypt/util
|
AM_CFLAGS = -I../include/pcp -Iscrypt/crypto -Iscrypt/util
|
||||||
|
|
||||||
|
SUBDIRS = scrypt
|
||||||
|
|
||||||
lib_LTLIBRARIES = libpcp1.la
|
lib_LTLIBRARIES = libpcp1.la
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
|||||||
1
libpcp/scrypt/Makefile.am
Normal file
1
libpcp/scrypt/Makefile.am
Normal file
@@ -0,0 +1 @@
|
|||||||
|
EXTRA_DIST = README crypto/crypto_aesctr.c crypto/crypto_aesctr.h crypto/crypto_scrypt-nosse.c crypto/crypto_scrypt-nosse.o crypto/crypto_scrypt-ref.c crypto/crypto_scrypt-sse.c crypto/crypto_scrypt.h crypto/scrypt_platform.h crypto/sha256.c crypto/sha256.h crypto/sha256.o scrypt_platform.h scryptenc/scryptenc.c scryptenc/scryptenc.h scryptenc/scryptenc_cpuperf.c scryptenc/scryptenc_cpuperf.h util/memlimit.c util/memlimit.h util/readpass.c util/readpass.h util/sysendian.h util/warn.c util/warn.h Makefile.am Makefile.in
|
||||||
@@ -22,6 +22,8 @@
|
|||||||
|
|
||||||
AM_CFLAGS = -I../include/pcp -I../libpcp/scrypt/crypto
|
AM_CFLAGS = -I../include/pcp -I../libpcp/scrypt/crypto
|
||||||
|
|
||||||
|
EXTRA_DIST = *.h
|
||||||
|
|
||||||
bin_PROGRAMS = pcp1
|
bin_PROGRAMS = pcp1
|
||||||
|
|
||||||
pcp1_LDADD = ../libpcp/.libs/libpcp1.a
|
pcp1_LDADD = ../libpcp/.libs/libpcp1.a
|
||||||
|
|||||||
@@ -23,6 +23,8 @@ AM_CFLAGS = -I../include/pcp -I../src -I../libpcp/scrypt/crypto
|
|||||||
check_PROGRAMS = col invalidkeys gencheader statictest cpptest \
|
check_PROGRAMS = col invalidkeys gencheader statictest cpptest \
|
||||||
buffertest sample streamtest pipetest decodertest mangle
|
buffertest sample streamtest pipetest decodertest mangle
|
||||||
|
|
||||||
|
EXTRA_DIST = Makefile.am Makefile.in *.c *.h *.sh *.pl *.py *.cfg *.cpp \
|
||||||
|
jot key-* unkn* README bart* env/* md5
|
||||||
|
|
||||||
LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||||
--mode=link $(CCLD) $(AM_LDFLAGS) \
|
--mode=link $(CCLD) $(AM_LDFLAGS) \
|
||||||
@@ -77,7 +79,7 @@ if BUILDPY
|
|||||||
MAYPY=pytest
|
MAYPY=pytest
|
||||||
endif
|
endif
|
||||||
|
|
||||||
test: check $(MAYPY)
|
test: check ctest $(MAYPY)
|
||||||
|
|
||||||
ctest:
|
ctest:
|
||||||
rm -f test* v* stresstest/*
|
rm -f test* v* stresstest/*
|
||||||
|
|||||||
Reference in New Issue
Block a user