]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
move bio to separate makefile
authorAlan T. DeKok <aland@freeradius.org>
Wed, 9 Oct 2024 19:08:04 +0000 (15:08 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 9 Oct 2024 19:08:55 +0000 (15:08 -0400)
src/protocols/radius/all.mk
src/protocols/radius/client.c
src/protocols/radius/libfreeradius-radius-bio.mk [new file with mode: 0644]
src/protocols/radius/libfreeradius-radius.mk [new file with mode: 0644]

index 0712f83298a75fd4f4612331c39a992de526d640..58b12f4a948f12f6a3e1d9579d44f5a4f080060f 100644 (file)
@@ -1,31 +1 @@
-#
-# Makefile
-#
-# Version:      $Id$
-#
-TARGET         := libfreeradius-radius$(L)
-
-SOURCES                := base.c \
-                  decode.c \
-                  encode.c \
-                  list.c \
-                  packet.c \
-                  tcp.c \
-                  abinary.c
-
-SRC_CFLAGS     := -D_LIBRADIUS -DNO_ASSERT -I$(top_builddir)/src
-
-TGT_PREREQS    := libfreeradius-util$(L)
-
-ifneq "$(WITH_BIO)" ""
-SOURCES                += \
-                  client.c \
-                  client_udp.c \
-                  client_tcp.c \
-                  id.c \
-                  bio.c \
-                  server.c \
-                  server_udp.c
-
-TGT_PREREQS    += libfreeradius-bio$(L)
-endif
+SUBMAKEFILES := libfreeradius-radius.mk libfreeradius-radius-bio.mk
index e97ba336b18476091fac038c63ae3790640d0c44..63cf93de461dac34b1f9756c48fc56bbb35c5855 100644 (file)
@@ -1,4 +1,4 @@
-/*
+ /*
  *   This library is free software; you can redistribute it and/or
  *   modify it under the terms of the GNU Lesser General Public
  *   License as published by the Free Software Foundation; either
diff --git a/src/protocols/radius/libfreeradius-radius-bio.mk b/src/protocols/radius/libfreeradius-radius-bio.mk
new file mode 100644 (file)
index 0000000..215b86a
--- /dev/null
@@ -0,0 +1,18 @@
+#
+# Makefile
+#
+# Version:      $Id$
+#
+TARGET         := libfreeradius-radius-bio$(L)
+
+SOURCES                := client.c \
+                  client_udp.c \
+                  client_tcp.c \
+                  id.c \
+                  bio.c \
+                  server.c \
+                  server_udp.c
+
+SRC_CFLAGS     := -D_LIBRADIUS -DNO_ASSERT -I$(top_builddir)/src
+
+TGT_PREREQS    := libfreeradius-util$(L) libfreeradius-radius$(L) libfreeradius-bio$(L)
diff --git a/src/protocols/radius/libfreeradius-radius.mk b/src/protocols/radius/libfreeradius-radius.mk
new file mode 100644 (file)
index 0000000..c158665
--- /dev/null
@@ -0,0 +1,18 @@
+#
+# Makefile
+#
+# Version:      $Id$
+#
+TARGET         := libfreeradius-radius$(L)
+
+SOURCES                := base.c \
+                  decode.c \
+                  encode.c \
+                  list.c \
+                  packet.c \
+                  tcp.c \
+                  abinary.c
+
+SRC_CFLAGS     := -D_LIBRADIUS -DNO_ASSERT -I$(top_builddir)/src
+
+TGT_PREREQS    := libfreeradius-util$(L)