How to properly disable a module via configure

JDL JDL at ImagineNet.net
Wed Oct 23 22:13:03 CEST 2013


On Oct 23, 2013, at 3:59 PM, Alan DeKok <aland at deployingradius.com> wrote:

>> However, when it gets to the build section, it errors out with the following.
> 
>  What does the make file say? i.e. what are the contents of:
> 
> src/modules/rlm_ruby/all.mk

TARGETNAME	:= rlm_ruby

ifneq "$(TARGETNAME)" ""
TARGET		:= $(TARGETNAME).a
endif

SOURCES		:= $(TARGETNAME).c

SRC_CFLAGS	:=
TGT_LDLIBS	:=

install: $(R)$(modconfdir)/ruby/example.rb

$(R)$(modconfdir)/ruby: | $(R)$(modconfdir)
	@echo INSTALL $(patsubst $(R)$(raddbdir)%,raddb%,$@)
	@$(INSTALL) -d -m 750 $@

$(R)$(modconfdir)/ruby/example.rb: src/modules/rlm_ruby/example.rb | $(R)$(modconfdir)/ruby
	@$(ECHO) INSTALL $(notdir $<)
	@$(INSTALL) -m 755 $< $(R)$(modconfdir)/ruby




More information about the Freeradius-Users mailing list