]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Start integrating new build system with "configure"
authorAlan T. DeKok <aland@freeradius.org>
Wed, 25 Jan 2012 17:02:50 +0000 (18:02 +0100)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 25 Jan 2012 17:03:26 +0000 (18:03 +0100)
Have the "all.mk" files generated by "configure".

19 files changed:
src/modules/rlm_krb5/all.mk [deleted file]
src/modules/rlm_krb5/all.mk.in [new file with mode: 0644]
src/modules/rlm_krb5/configure
src/modules/rlm_krb5/configure.in
src/modules/rlm_ldap/all.mk [deleted file]
src/modules/rlm_ldap/all.mk.in [new file with mode: 0644]
src/modules/rlm_ldap/configure
src/modules/rlm_ldap/configure.in
src/modules/rlm_pam/all.mk [deleted file]
src/modules/rlm_pam/configure
src/modules/rlm_pam/configure.in
src/modules/rlm_perl/all.mk [deleted file]
src/modules/rlm_perl/all.mk.in [new file with mode: 0644]
src/modules/rlm_perl/configure
src/modules/rlm_perl/configure.in
src/modules/rlm_python/all.mk [deleted file]
src/modules/rlm_python/all.mk.in [new file with mode: 0644]
src/modules/rlm_python/configure
src/modules/rlm_python/configure.in

diff --git a/src/modules/rlm_krb5/all.mk b/src/modules/rlm_krb5/all.mk
deleted file mode 100644 (file)
index 0d51b1c..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-TARGET     = rlm_krb5.a
-SOURCES       = rlm_krb5.c
diff --git a/src/modules/rlm_krb5/all.mk.in b/src/modules/rlm_krb5/all.mk.in
new file mode 100644 (file)
index 0000000..ad55f3c
--- /dev/null
@@ -0,0 +1,2 @@
+TARGET         = @targetname@.a
+SOURCES                = rlm_krb5.c
index bdc9c51c184cef0a7945579a78f665128f733012..7bc5618ee1d860ea9b08b2cda624f3e1f8dd57d6 100755 (executable)
@@ -4036,7 +4036,7 @@ krb5_cflags="${krb5_h_cflags} $SMART_CFLAGS"
   unset ac_cv_env_LIBS_set
   unset ac_cv_env_LIBS_value
 
-  ac_config_files="$ac_config_files Makefile"
+  ac_config_files="$ac_config_files Makefile all.mk"
 
 cat >confcache <<\_ACEOF
 # This file is a shell script that caches the results of configure
index 2b69b37a74c9819731a8c1414335f979e8fde419..65f2e691482d5204d5486cd1086abecb47d9ce75 100644 (file)
@@ -107,3 +107,4 @@ AC_SUBST(krb5_cflags)
 AC_SUBST(krb5_ldflags)
 AC_SUBST(targetname)
 AC_OUTPUT(Makefile)
+AC_OUTPUT(all.mk)
diff --git a/src/modules/rlm_ldap/all.mk b/src/modules/rlm_ldap/all.mk
deleted file mode 100644 (file)
index 53db5b5..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-TARGET     = rlm_ldap.a
-SOURCES       = rlm_ldap.c 
-
-SRC_CFLAGS =    -DHAVE_LDAP_START_TLS -DHAVE_LDAP_INITIALIZE -DLDAP_DEPRECATED -DLDAP_SET_REBIND_PROC_ARGS=3
-TGT_LDLIBS   = -lldap_r 
diff --git a/src/modules/rlm_ldap/all.mk.in b/src/modules/rlm_ldap/all.mk.in
new file mode 100644 (file)
index 0000000..9854a3c
--- /dev/null
@@ -0,0 +1,5 @@
+TARGET         = rlm_ldap.a
+SOURCES                = rlm_ldap.c @edir@
+
+SRC_CFLAGS     = @ldap_cflags@
+TGT_LDLIBS     = @ldap_ldflags@
index 8fc6c38d872acb95c1852e531382f11c70a902fa..3bec0f3da5485d5687a4d499f8e794c1aa7306cc 100755 (executable)
@@ -3937,7 +3937,7 @@ ldap_cflags="$SMART_CFLAGS -DLDAP_DEPRECATED -DLDAP_SET_REBIND_PROC_ARGS=$ac_cv_
   unset ac_cv_env_LIBS_set
   unset ac_cv_env_LIBS_value
 
-  ac_config_files="$ac_config_files Makefile"
+  ac_config_files="$ac_config_files Makefile all.mk"
 
 cat >confcache <<\_ACEOF
 # This file is a shell script that caches the results of configure
index b998e76c6772846775aa41227355002ed44126d2..007b3ed6a334dd60db752a6509c1d8bb30a81aaf 100644 (file)
@@ -179,3 +179,4 @@ AC_SUBST(ldap_ldflags)
 AC_SUBST(ldap_cflags)
 AC_SUBST(targetname)
 AC_OUTPUT(Makefile)
+AC_OUTPUT(all.mk)
diff --git a/src/modules/rlm_pam/all.mk b/src/modules/rlm_pam/all.mk
deleted file mode 100644 (file)
index 8a6455e..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-TARGET     = rlm_pam.a
-SOURCES       = rlm_pam.c
index 5098c1aabd7aeb2c12aa4a37c9280c20bac64baf..dd226b46f4ea40a05be903d85d284822f93c7f77 100755 (executable)
@@ -3546,7 +3546,7 @@ ac_config_headers="$ac_config_headers config.h"
   unset ac_cv_env_LIBS_set
   unset ac_cv_env_LIBS_value
 
-  ac_config_files="$ac_config_files Makefile"
+  ac_config_files="$ac_config_files Makefile all,mk"
 
 cat >confcache <<\_ACEOF
 # This file is a shell script that caches the results of configure
index d4572f28c755ab284cbc0551e4a57ed8dbfc83ba..8faa53ef8f3c902bd2f7641e1c26b8ba6467a657 100644 (file)
@@ -49,3 +49,4 @@ AC_SUBST(pam_cflags)
 AC_SUBST(targetname)
 AC_CONFIG_HEADER(config.h)
 AC_OUTPUT(Makefile)
+AC_OUTPUT(all.mk)
diff --git a/src/modules/rlm_perl/all.mk b/src/modules/rlm_perl/all.mk
deleted file mode 100644 (file)
index 117ade9..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-TARGET      =  rlm_perl.a
-SOURCES        = rlm_perl.c
-
-SRC_CFLAGS  = `perl -MExtUtils::Embed -e ccopts`
-TGT_LDLIBS    = `perl -MExtUtils::Embed -e ldopts`
diff --git a/src/modules/rlm_perl/all.mk.in b/src/modules/rlm_perl/all.mk.in
new file mode 100644 (file)
index 0000000..2fcd156
--- /dev/null
@@ -0,0 +1,5 @@
+TARGET         = @targetname@.a
+SOURCES                = rlm_perl.c
+
+SRC_CFLAGS     = @perl_cflags@
+TGT_LDLIBS     = @perl_ldflags@
index bf1e0f2fe2c1f0dcb2e3e02d860fdcca45cd3f86..71b67598f1db4e32c3989be0bbeaa6ba7782e26c 100755 (executable)
@@ -3387,7 +3387,7 @@ ac_config_headers="$ac_config_headers config.h"
   unset ac_cv_env_LIBS_set
   unset ac_cv_env_LIBS_value
 
-  ac_config_files="$ac_config_files Makefile"
+  ac_config_files="$ac_config_files Makefile all.mk"
 
 cat >confcache <<\_ACEOF
 # This file is a shell script that caches the results of configure
index 51bf9a6faba9356fec515fe8853d75b3bb6c6e79..3f9b5ba0d3810bb1378e022281b978254052273d 100644 (file)
@@ -90,3 +90,4 @@ AC_CONFIG_HEADER(config.h)
 
 AC_SUBST(targetname)
 AC_OUTPUT(Makefile)
+AC_OUTPUT(all.mk)
diff --git a/src/modules/rlm_python/all.mk b/src/modules/rlm_python/all.mk
deleted file mode 100644 (file)
index 7c5c091..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-TARGET     = rlm_python.a
-SOURCES       = rlm_python.c
-
-TGT_LDLIBS   = -L/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/config                         -ldl  -lpython2.6 -lm
-SRC_CFLAGS = -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
diff --git a/src/modules/rlm_python/all.mk.in b/src/modules/rlm_python/all.mk.in
new file mode 100644 (file)
index 0000000..ebc8204
--- /dev/null
@@ -0,0 +1,5 @@
+TARGET         = @targetname.a
+SOURCES                = rlm_python.c
+
+TGT_LDLIBS     = @python_ldflags@
+SRC_CFLAGS     = @python_cflags@
index b67019238509f812757adb09945943e0e895bdab..ee7ad7b89ce9a119dfcf0cfd4da2c8c4bd4ba6de 100755 (executable)
@@ -3388,7 +3388,7 @@ fi
   unset ac_cv_env_LIBS_set
   unset ac_cv_env_LIBS_value
 
-  ac_config_files="$ac_config_files Makefile"
+  ac_config_files="$ac_config_files Makefile all.mk"
 
 cat >confcache <<\_ACEOF
 # This file is a shell script that caches the results of configure
index 5e2106e86d02f4b3a25762fc20bc4f2c3d8e0721..c72c20881e762475b6d1db256bb969955e89fbf8 100644 (file)
@@ -115,3 +115,4 @@ AC_SUBST(python_ldflags)
 AC_SUBST(python_cflags)
 AC_SUBST(targetname)
 AC_OUTPUT(Makefile)
+AC_OUTPUT(all.mk)