summaryrefslogtreecommitdiff
path: root/app/fvwm/Fvwm.tmpl
blob: abc9b6d39b96dcff84dd84c1b684d67ae4e88065 (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
XCOMM	$OpenBSD: Fvwm.tmpl,v 1.1.1.1 2006/11/26 10:53:05 matthieu Exp $

/* Where to install modules and scripts */
FVWMLIBDIR= $(LIBDIR)/fvwm

/* Standard includes */
FVWMINCLUDES= -I$(FVWMTOP) -I$(FVWMTOP)/libs

/* Fvwm library */
FVWMLIB= $(FVWMTOP)/libs/libfvwm.a


/* A set of rules to build Fvwm modules */
#define FvwmSimpleModuleTarget(name)					@@\
SRCS= name.c								@@\
OBJS= name.o								@@\
INCLUDES= $(FVWMINCLUDES)						@@\
DEPLIBS= $(FVWMLIB) $(DEPXPMLIB) $(DEPXLIB)				@@\
LOCAL_LIBRARIES= $(FVWMLIB) $(XPMLIB) $(XLIB)				@@\
BINDIR= $(FVWMLIBDIR)							@@\
SimpleProgramTarget(name)						@@\
LinkFile(name.man,name.1)

#define FvwmComplexModuleTarget(name)					@@\
INCLUDES= $(FVWMINCLUDES)						@@\
BINDIR= $(FVWMLIBDIR)							@@\
ComplexProgramTarget(name)						@@\
LinkFile(name.man,name.1)