Streamlined the source file list formatting in plugin makefiles.

This commit is contained in:
Tobias Brunner
2010-03-02 10:40:50 +01:00
parent fac3bfa5cd
commit 4e657051f7
56 changed files with 220 additions and 139 deletions
+3 -1
View File
@@ -10,5 +10,7 @@ plugin_LTLIBRARIES = libstrongswan-aes.la
libstrongswan_aes_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
endif
libstrongswan_aes_la_SOURCES = aes_plugin.h aes_plugin.c aes_crypter.c aes_crypter.h
libstrongswan_aes_la_SOURCES = \
aes_plugin.h aes_plugin.c aes_crypter.c aes_crypter.h
libstrongswan_aes_la_LDFLAGS = -module -avoid-version
+3 -2
View File
@@ -10,7 +10,8 @@ plugin_LTLIBRARIES = libstrongswan-agent.la
libstrongswan_agent_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
endif
libstrongswan_agent_la_SOURCES = agent_plugin.h agent_plugin.c \
agent_private_key.c agent_private_key.h
libstrongswan_agent_la_SOURCES = \
agent_plugin.h agent_plugin.c \
agent_private_key.c agent_private_key.h
libstrongswan_agent_la_LDFLAGS = -module -avoid-version
@@ -1,8 +1,9 @@
INCLUDES = -I$(top_srcdir)/src/libstrongswan
AM_CFLAGS = -rdynamic \
-DPLUGINS=\""${libstrongswan_plugins}\""
AM_CFLAGS = \
-rdynamic \
-DPLUGINS=\""${libstrongswan_plugins}\""
if MONOLITHIC
noinst_LTLIBRARIES = libstrongswan-attr-sql.la
@@ -12,8 +13,9 @@ libstrongswan_attr_sql_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongsw
endif
libstrongswan_attr_sql_la_SOURCES = \
attr_sql_plugin.h attr_sql_plugin.c \
sql_attribute.h sql_attribute.c
attr_sql_plugin.h attr_sql_plugin.c \
sql_attribute.h sql_attribute.c
libstrongswan_attr_sql_la_LDFLAGS = -module -avoid-version
ipsec_PROGRAMS = pool
@@ -11,6 +11,7 @@ libstrongswan_blowfish_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongsw
endif
libstrongswan_blowfish_la_SOURCES = \
blowfish_plugin.h blowfish_plugin.c blowfish_crypter.c blowfish_crypter.h \
bf_skey.c blowfish.h bf_pi.h bf_locl.h bf_enc.c
blowfish_plugin.h blowfish_plugin.c blowfish_crypter.c blowfish_crypter.h \
bf_skey.c blowfish.h bf_pi.h bf_locl.h bf_enc.c
libstrongswan_blowfish_la_LDFLAGS = -module -avoid-version
+3 -1
View File
@@ -11,6 +11,8 @@ plugin_LTLIBRARIES = libstrongswan-curl.la
libstrongswan_curl_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
endif
libstrongswan_curl_la_SOURCES = curl_plugin.h curl_plugin.c curl_fetcher.c curl_fetcher.h
libstrongswan_curl_la_SOURCES = \
curl_plugin.h curl_plugin.c curl_fetcher.c curl_fetcher.h
libstrongswan_curl_la_LDFLAGS = -module -avoid-version
libstrongswan_curl_la_LIBADD += -lcurl
+3 -1
View File
@@ -10,5 +10,7 @@ plugin_LTLIBRARIES = libstrongswan-des.la
libstrongswan_des_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
endif
libstrongswan_des_la_SOURCES = des_plugin.h des_plugin.c des_crypter.c des_crypter.h
libstrongswan_des_la_SOURCES = \
des_plugin.h des_plugin.c des_crypter.c des_crypter.h
libstrongswan_des_la_LDFLAGS = -module -avoid-version
+3 -2
View File
@@ -10,7 +10,8 @@ plugin_LTLIBRARIES = libstrongswan-dnskey.la
libstrongswan_dnskey_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
endif
libstrongswan_dnskey_la_SOURCES = dnskey_plugin.h dnskey_plugin.c \
dnskey_builder.h dnskey_builder.c
libstrongswan_dnskey_la_SOURCES = \
dnskey_plugin.h dnskey_plugin.c \
dnskey_builder.h dnskey_builder.c
libstrongswan_dnskey_la_LDFLAGS = -module -avoid-version
@@ -10,5 +10,7 @@ plugin_LTLIBRARIES = libstrongswan-fips-prf.la
libstrongswan_fips_prf_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
endif
libstrongswan_fips_prf_la_SOURCES = fips_prf_plugin.h fips_prf_plugin.c fips_prf.c fips_prf.h
libstrongswan_fips_prf_la_SOURCES = \
fips_prf_plugin.h fips_prf_plugin.c fips_prf.c fips_prf.h
libstrongswan_fips_prf_la_LDFLAGS = -module -avoid-version
+2 -1
View File
@@ -11,7 +11,8 @@ plugin_LTLIBRARIES = libstrongswan-gcrypt.la
libstrongswan_gcrypt_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
endif
libstrongswan_gcrypt_la_SOURCES = gcrypt_plugin.h gcrypt_plugin.c \
libstrongswan_gcrypt_la_SOURCES = \
gcrypt_plugin.h gcrypt_plugin.c \
gcrypt_rsa_public_key.h gcrypt_rsa_public_key.c \
gcrypt_rsa_private_key.h gcrypt_rsa_private_key.c \
gcrypt_dh.h gcrypt_dh.c \
+5 -4
View File
@@ -11,10 +11,11 @@ plugin_LTLIBRARIES = libstrongswan-gmp.la
libstrongswan_gmp_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
endif
libstrongswan_gmp_la_SOURCES = gmp_plugin.h gmp_plugin.c \
gmp_diffie_hellman.c gmp_diffie_hellman.h \
gmp_rsa_private_key.c gmp_rsa_private_key.h \
gmp_rsa_public_key.c gmp_rsa_public_key.h
libstrongswan_gmp_la_SOURCES = \
gmp_plugin.h gmp_plugin.c \
gmp_diffie_hellman.c gmp_diffie_hellman.h \
gmp_rsa_private_key.c gmp_rsa_private_key.h \
gmp_rsa_public_key.c gmp_rsa_public_key.h
libstrongswan_gmp_la_LDFLAGS = -module -avoid-version
libstrongswan_gmp_la_LIBADD += -lgmp
+3 -1
View File
@@ -10,6 +10,8 @@ plugin_LTLIBRARIES = libstrongswan-hmac.la
libstrongswan_hmac_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
endif
libstrongswan_hmac_la_SOURCES = hmac_plugin.h hmac_plugin.c hmac.h hmac.c \
libstrongswan_hmac_la_SOURCES = \
hmac_plugin.h hmac_plugin.c hmac.h hmac.c \
hmac_prf.h hmac_prf.c hmac_signer.h hmac_signer.c
libstrongswan_hmac_la_LDFLAGS = -module -avoid-version
+3 -2
View File
@@ -11,7 +11,8 @@ plugin_LTLIBRARIES = libstrongswan-ldap.la
libstrongswan_ldap_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
endif
libstrongswan_ldap_la_SOURCES = ldap_plugin.h ldap_plugin.c ldap_fetcher.h ldap_fetcher.c
libstrongswan_ldap_la_SOURCES = \
ldap_plugin.h ldap_plugin.c ldap_fetcher.h ldap_fetcher.c
libstrongswan_ldap_la_LDFLAGS = -module -avoid-version
libstrongswan_ldap_la_LIBADD += -lldap -llber
+3 -1
View File
@@ -10,5 +10,7 @@ plugin_LTLIBRARIES = libstrongswan-md4.la
libstrongswan_md4_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
endif
libstrongswan_md4_la_SOURCES = md4_plugin.h md4_plugin.c md4_hasher.c md4_hasher.h
libstrongswan_md4_la_SOURCES = \
md4_plugin.h md4_plugin.c md4_hasher.c md4_hasher.h
libstrongswan_md4_la_LDFLAGS = -module -avoid-version
+3 -1
View File
@@ -10,5 +10,7 @@ plugin_LTLIBRARIES = libstrongswan-md5.la
libstrongswan_md5_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
endif
libstrongswan_md5_la_SOURCES = md5_plugin.h md5_plugin.c md5_hasher.c md5_hasher.h
libstrongswan_md5_la_SOURCES = \
md5_plugin.h md5_plugin.c md5_hasher.c md5_hasher.h
libstrongswan_md5_la_LDFLAGS = -module -avoid-version
+3 -1
View File
@@ -11,8 +11,10 @@ plugin_LTLIBRARIES = libstrongswan-mysql.la
libstrongswan_mysql_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
endif
libstrongswan_mysql_la_SOURCES = mysql_plugin.h mysql_plugin.c \
libstrongswan_mysql_la_SOURCES = \
mysql_plugin.h mysql_plugin.c \
mysql_database.h mysql_database.c
libstrongswan_mysql_la_LDFLAGS = -module -avoid-version
libstrongswan_mysql_la_LIBADD += $(MYSQLLIB)
@@ -11,7 +11,8 @@ plugin_LTLIBRARIES = libstrongswan-openssl.la
libstrongswan_openssl_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
endif
libstrongswan_openssl_la_SOURCES = openssl_plugin.h openssl_plugin.c \
libstrongswan_openssl_la_SOURCES = \
openssl_plugin.h openssl_plugin.c \
openssl_util.c openssl_util.h \
openssl_crypter.c openssl_crypter.h \
openssl_hasher.c openssl_hasher.h \
@@ -10,8 +10,10 @@ plugin_LTLIBRARIES = libstrongswan-padlock.la
libstrongswan_padlock_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
endif
libstrongswan_padlock_la_SOURCES = padlock_plugin.h padlock_plugin.c \
libstrongswan_padlock_la_SOURCES = \
padlock_plugin.h padlock_plugin.c \
padlock_aes_crypter.c padlock_aes_crypter.h \
padlock_sha1_hasher.c padlock_sha1_hasher.h \
padlock_rng.c padlock_rng.h
libstrongswan_padlock_la_LDFLAGS = -module -avoid-version
+3 -2
View File
@@ -10,7 +10,8 @@ plugin_LTLIBRARIES = libstrongswan-pem.la
libstrongswan_pem_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
endif
libstrongswan_pem_la_SOURCES = pem_plugin.h pem_plugin.c \
pem_builder.c pem_builder.h
libstrongswan_pem_la_SOURCES = \
pem_plugin.h pem_plugin.c \
pem_builder.c pem_builder.h
libstrongswan_pem_la_LDFLAGS = -module -avoid-version
+6 -5
View File
@@ -10,10 +10,11 @@ plugin_LTLIBRARIES = libstrongswan-pgp.la
libstrongswan_pgp_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
endif
libstrongswan_pgp_la_SOURCES = pgp_plugin.h pgp_plugin.c \
pgp_utils.h pgp_utils.c \
pgp_cert.h pgp_cert.c \
pgp_encoder.h pgp_encoder.c \
pgp_builder.h pgp_builder.c
libstrongswan_pgp_la_SOURCES = \
pgp_plugin.h pgp_plugin.c \
pgp_utils.h pgp_utils.c \
pgp_cert.h pgp_cert.c \
pgp_encoder.h pgp_encoder.c \
pgp_builder.h pgp_builder.c
libstrongswan_pgp_la_LDFLAGS = -module -avoid-version
+4 -3
View File
@@ -10,8 +10,9 @@ plugin_LTLIBRARIES = libstrongswan-pkcs1.la
libstrongswan_pkcs1_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
endif
libstrongswan_pkcs1_la_SOURCES = pkcs1_plugin.h pkcs1_plugin.c \
pkcs1_encoder.h pkcs1_encoder.c \
pkcs1_builder.h pkcs1_builder.c
libstrongswan_pkcs1_la_SOURCES = \
pkcs1_plugin.h pkcs1_plugin.c \
pkcs1_encoder.h pkcs1_encoder.c \
pkcs1_builder.h pkcs1_builder.c
libstrongswan_pkcs1_la_LDFLAGS = -module -avoid-version
+3 -2
View File
@@ -10,7 +10,8 @@ plugin_LTLIBRARIES = libstrongswan-pubkey.la
libstrongswan_pubkey_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
endif
libstrongswan_pubkey_la_SOURCES = pubkey_plugin.h pubkey_plugin.c \
pubkey_cert.h pubkey_cert.c
libstrongswan_pubkey_la_SOURCES = \
pubkey_plugin.h pubkey_plugin.c \
pubkey_cert.h pubkey_cert.c
libstrongswan_pubkey_la_LDFLAGS = -module -avoid-version
+4 -2
View File
@@ -12,6 +12,8 @@ plugin_LTLIBRARIES = libstrongswan-random.la
libstrongswan_random_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
endif
libstrongswan_random_la_SOURCES = random_plugin.h random_plugin.c \
random_rng.c random_rng.h
libstrongswan_random_la_SOURCES = \
random_plugin.h random_plugin.c \
random_rng.c random_rng.h
libstrongswan_random_la_LDFLAGS = -module -avoid-version
+3 -1
View File
@@ -10,6 +10,8 @@ plugin_LTLIBRARIES = libstrongswan-sha1.la
libstrongswan_sha1_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
endif
libstrongswan_sha1_la_SOURCES = sha1_plugin.h sha1_plugin.c \
libstrongswan_sha1_la_SOURCES = \
sha1_plugin.h sha1_plugin.c \
sha1_hasher.c sha1_hasher.h sha1_prf.c sha1_prf.h
libstrongswan_sha1_la_LDFLAGS = -module -avoid-version
+3 -1
View File
@@ -10,5 +10,7 @@ plugin_LTLIBRARIES = libstrongswan-sha2.la
libstrongswan_sha2_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
endif
libstrongswan_sha2_la_SOURCES = sha2_plugin.h sha2_plugin.c sha2_hasher.c sha2_hasher.h
libstrongswan_sha2_la_SOURCES = \
sha2_plugin.h sha2_plugin.c sha2_hasher.c sha2_hasher.h
libstrongswan_sha2_la_LDFLAGS = -module -avoid-version
+3 -1
View File
@@ -11,8 +11,10 @@ plugin_LTLIBRARIES = libstrongswan-sqlite.la
libstrongswan_sqlite_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
endif
libstrongswan_sqlite_la_SOURCES = sqlite_plugin.h sqlite_plugin.c \
libstrongswan_sqlite_la_SOURCES = \
sqlite_plugin.h sqlite_plugin.c \
sqlite_database.h sqlite_database.c
libstrongswan_sqlite_la_LDFLAGS = -module -avoid-version
libstrongswan_sqlite_la_LIBADD += -lsqlite3
@@ -34,4 +34,5 @@ libstrongswan_test_vectors_la_SOURCES = \
test_vectors/sha2_hmac.c \
test_vectors/fips_prf.c \
test_vectors/rng.c
libstrongswan_test_vectors_la_LDFLAGS = -module -avoid-version
+9 -7
View File
@@ -10,11 +10,13 @@ plugin_LTLIBRARIES = libstrongswan-x509.la
libstrongswan_x509_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
endif
libstrongswan_x509_la_SOURCES = x509_plugin.h x509_plugin.c \
x509_cert.h x509_cert.c \
x509_crl.h x509_crl.c \
x509_ac.h x509_ac.c \
x509_pkcs10.h x509_pkcs10.c \
x509_ocsp_request.h x509_ocsp_request.c \
x509_ocsp_response.h x509_ocsp_response.c
libstrongswan_x509_la_SOURCES = \
x509_plugin.h x509_plugin.c \
x509_cert.h x509_cert.c \
x509_crl.h x509_crl.c \
x509_ac.h x509_ac.c \
x509_pkcs10.h x509_pkcs10.c \
x509_ocsp_request.h x509_ocsp_request.c \
x509_ocsp_response.h x509_ocsp_response.c
libstrongswan_x509_la_LDFLAGS = -module -avoid-version
+3 -1
View File
@@ -10,6 +10,8 @@ plugin_LTLIBRARIES = libstrongswan-xcbc.la
libstrongswan_xcbc_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
endif
libstrongswan_xcbc_la_SOURCES = xcbc_plugin.h xcbc_plugin.c xcbc.h xcbc.c \
libstrongswan_xcbc_la_SOURCES = \
xcbc_plugin.h xcbc_plugin.c xcbc.h xcbc.c \
xcbc_prf.h xcbc_prf.c xcbc_signer.h xcbc_signer.c
libstrongswan_xcbc_la_LDFLAGS = -module -avoid-version