File: Imakefile

package info (click to toggle)
xfree86 3.3.2.3-2
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 168,984 kB
  • ctags: 121,965
  • sloc: ansic: 1,157,712; sh: 14,822; asm: 14,676; tcl: 8,247; cpp: 4,317; yacc: 2,705; perl: 711; awk: 393; lex: 383; makefile: 353; sed: 57; csh: 5
file content (34 lines) | stat: -rw-r--r-- 845 bytes parent folder | download | duplicates (2)
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
XCOMM $TOG: Imakefile /main/11 1997/06/06 10:34:59 kaleb $

#ifndef CgiBinDir
#define CgiBinDir /files/web/cgi-bin
#endif
#ifndef ProxyManager
#define ProxyManager tcp/www.x.org:6500
#endif
#ifndef WinCenterHost
#define WinCenterHost windy.osf.org
#endif

    CGIBINDIR = CgiBinDir
    PROXYMNGR = ProxyManager
    PROJECTROOT = ProjectRoot
    WINCENTERHOST = WinCenterHost

#define PerlTarget(name)						@@\
all:: name.pl								@@\
									@@\
name.pl: name								@@\
	m4 -DCGIBINDIR="$(CGIBINDIR)" -DXPROJECT_ROOT="$(PROJECTROOT)" -DXPROXYMNGR="$(PROXYMNGR)" -DWINCENTERHOST="$(WINCENTERHOST)" name >$@ @@\
InstallProgramWithFlags(name.pl,CgiBinDir,$(INSTBINFLAGS))

PerlTarget(bitmap)
PerlTarget(dtcm)
PerlTarget(excel)
PerlTarget(xclock)
PerlTarget(xload)

InstallProgramWithFlags(dtcm.sh,CgiBinDir,$(INSTBINFLAGS))

clean::
	$(RM) *.pl