summaryrefslogtreecommitdiffstats
path: root/src/main/radattr.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/radattr.mk')
-rw-r--r--src/main/radattr.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/radattr.mk b/src/main/radattr.mk
new file mode 100644
index 0000000..1a184bd
--- /dev/null
+++ b/src/main/radattr.mk
@@ -0,0 +1,10 @@
+TARGET := radattr
+SOURCES := radattr.c
+
+TGT_PREREQS := libfreeradius-server.a libfreeradius-radius.a
+
+ifneq "$(WITH_DHCP)" "no"
+TGT_PREREQS += libfreeradius-dhcp.a
+endif
+
+TGT_LDLIBS := $(LIBS)