Skip to content

Commit

Permalink
Link DHCP code to libfreeradius-dhcp
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Jun 15, 2015
1 parent 7f155a2 commit 0c1c626
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
1 change: 1 addition & 0 deletions debian/freeradius-dhcp.install
@@ -1,2 +1,3 @@
usr/lib/freeradius/rlm_dhcp*.so
usr/lib/freeradius/proto_dhcp*.so
usr/lib/freeradius/libfreeradius-dhcp.so
2 changes: 1 addition & 1 deletion src/modules/proto_dhcp/all.mk
@@ -1 +1 @@
SUBMAKEFILES := proto_dhcp.mk rlm_dhcp.mk dhcpclient.mk
SUBMAKEFILES := libfreeradius-dhcp.mk proto_dhcp.mk rlm_dhcp.mk dhcpclient.mk
3 changes: 3 additions & 0 deletions src/modules/proto_dhcp/libfreeradius-dhcp.mk
@@ -0,0 +1,3 @@
TARGET := libfreeradius-dhcp.a

SOURCES := dhcp.c
4 changes: 3 additions & 1 deletion src/modules/proto_dhcp/proto_dhcp.mk
Expand Up @@ -4,4 +4,6 @@ ifneq "$(TARGETNAME)" ""
TARGET := $(TARGETNAME).a
endif

SOURCES := dhcpd.c dhcp.c
SOURCES := dhcpd.c

TGT_PREREQS := libfreeradius-dhcp.a
4 changes: 3 additions & 1 deletion src/modules/proto_dhcp/rlm_dhcp.mk
@@ -1,2 +1,4 @@
TARGET := rlm_dhcp.a
SOURCES := rlm_dhcp.c ${top_srcdir}/src/modules/proto_dhcp/dhcp.c
SOURCES := rlm_dhcp.c

TGT_PREREQS := libfreeradius-dhcp.a

0 comments on commit 0c1c626

Please sign in to comment.