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

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

SOURCES		:= $(TARGETNAME).c

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

ifneq "$(TARGETNAME)" ""
install: $(R)$(bindir)/rad_counter

$(R)$(bindir)/rad_counter: src/modules/rlm_counter/rad_counter | $(R)$(bindir)
	@$(INSTALL) -m 755 src/modules/rlm_counter/rad_counter $(R)$(bindir)/
endif