summaryrefslogtreecommitdiffstats
path: root/src/modules/rlm_example/all.mk.in
blob: e66afe73164788a60b566197f3340625a52f8a71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#######################################################################
#
# TARGET should be set by autoconf only.  Don't touch it.
#
# The SOURCES definition should list ALL source files.
#
# SRC_CFLAGS defines addition C compiler flags.  You usually don't
# want to modify this, though.  Get it from autoconf.
#
# The TGT_LDLIBS definition should list ALL required libraries.
#
#######################################################################

TARGETNAME	:= @targetname@

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

SOURCES		:= $(TARGETNAME).c

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

#
#  If the target has documentation in man format it should be set here
#
#MAN		:= example.8

#
#  Install targets are automagically created for libraries and binary targets,
#  you only need to create manual targets for things like example scripts, and
#  support files.
#
#  The installation directory target should always be listed first, and should
#  be one of:
#	* install.raddbdir
#	* install.bindir
#	* install.sbindir

#install: install.raddbdir $(R)$(raddbdir)/example.sh

#$(R)$(raddbdir)/example.pl: src/modules/$(TARGETNAME)/example.sh
#	@$(INSTALL) -m 755 src/modules/$(TARGETNAME)/example.sh $(R)$(raddbdir)/