summaryrefslogtreecommitdiffstats
path: root/src/modules/rlm_securid/all.mk.in
blob: f261351db81a54918aac7c8a763a2f90a8944978 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
TARGETNAME	:= @targetname@

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

SOURCES		:= $(TARGETNAME).c mem.c

SRC_CFLAGS	:= @mod_cflags@
TGT_LDLIBS	:= @mod_ldflags@

ifneq "$(TARGETNAME)" ""
install: $(R)$(raddbdir)/mods-available/securid

$(R)$(raddbdir)/mods-available/securid: src/modules/rlm_securid/securid | $(R)$(raddbdir)/mods-available
	@$(ECHO) INSTALL $(notdir $<)
	@$(INSTALL) -m 640 $< $(R)$(raddbdir)/mods-available
endif