dtstyle: Coverity 89011
[oweals/cde.git] / cde / util / scripts / Imakefile
1 XCOMM $XConsortium: Imakefile,v 1.21 91/07/29 19:59:55 gildea Exp $
2 #if UseCCMakeDepend
3 MDEP_DIR = makedepend
4 #endif
5          PROGRAMS = xmkmf $(MDEP_DIR) mergelib
6
7 all:: $(PROGRAMS)
8
9 CppScriptTarget(xmkmf,xmkmf.cpp,-DCONFIGDIRSPEC=-I$(CONFIGDIR),$(ICONFIGFILES))
10 #if UseCCMakeDepend
11 CppScriptTarget(makedepend,mdepend.cpp,-DPREPROC='"'"$(PREPROCESSCMD)"'"',$(ICONFIGFILES))
12 #endif
13 CppScriptTarget(mergelib,mergelib.cpp,"-DARCMD=$(AR)" "-DRANLIB=$(RANLIB)",$(ICONFIGFILES))
14
15 InstallNamedProg(xmkmf,xmkmf,$(BINDIR))
16 InstallManPage(xmkmf,$(MANDIR))
17 InstallNamedProg(mkdirhier.sh,mkdirhier,$(BINDIR))
18 InstallManPage(mkdirhier,$(MANDIR))
19 #if UseCCMakeDepend
20 InstallNamedProg(makedepend,makedepend,$(BINDIR))
21 #endif
22 InstallNamedProg(lndir.sh,lndir,$(BINDIR))
23 InstallManPage(lndir,$(MANDIR))
24 InstallNamedProg(xon.sh,xon,$(BINDIR))
25 InstallManPage(xon,$(MANDIR))
26 #if SystemV || SystemV4
27 InstallNamedProg(bsdinst.sh,bsdinst,$(BINDIR))
28 #endif
29
30 clean::
31         $(RM) $(PROGRAMS)
32
33 depend::
34
35 install.man::
36