1 XCOMM $XConsortium: Imakefile /main/16 1996/11/13 14:43:28 lehors $
6 #ifdef ExportListGenSource
7 EXPORTLISTGEN = exportlistgen
10 #ifdef Win32Architecture
11 CMKDIRHIER = mkdirhier.exe
14 PROGRAMS = xmkmf $(MDEP_PROG) mergelib ProgramTargetName(makestrs) $(EXPORTLISTGEN) $(CMKDIRHIER)
16 #ifndef Win32Architecture
20 XCOMM Some compilers generate fatal errors if an -L directory does
21 XCOMM not exist. Since BUILDLIBDIR may not exist yet suppress its use.
27 includes:: ProgramTargetName(makestrs)
29 #ifdef ExportListGenSource
30 CppScriptTarget(exportlistgen,ExportListGenSource,-DCXXFILT=$(CXXFILT),)
31 InstallNamedProg(exportlistgen,exportlistgen,$(BINDIR))
34 CppScriptTarget(xmkmf,xmkmf.cpp,-DCONFIGDIRSPEC='"'"-I$(CONFIGDIR)"'"',$(ICONFIGFILES))
35 CppScriptTarget(makedepend,mdepend.cpp,-DPREPROC='"'"$(PREPROCESSCMD)"'"',$(ICONFIGFILES))
36 CppScriptTarget(mergelib,mergelib.cpp,"-DARCMD=$(AR)" "-DRANLIB=$(RANLIB)",$(ICONFIGFILES))
40 SimpleHostProgramTarget(lndir)
42 SimpleProgramTarget(lndir)
46 #ifdef Win32Architecture
47 SimpleProgramTarget(mkdirhier)
50 NormalProgramTarget(makestrs,makestrs.o,,,)
52 InstallNamedProg(xmkmf,xmkmf,$(BINDIR))
53 InstallManPage(xmkmf,$(MANDIR))
54 InstallNamedProg(mkdirhier.sh,mkdirhier,$(BINDIR))
55 InstallManPage(mkdirhier,$(MANDIR))
57 InstallNamedProg(makedepend,makedepend,$(BINDIR))
59 #if SystemV || SystemV4
60 InstallNamedProg(bsdinst.sh,bsdinst,$(BINDIR))
62 InstallNamedProg(mergelib,mergelib,$(BINDIR))
64 InstallNamedProg(makeg.sh,makeg,$(BINDIR))
65 InstallManPage(makeg,$(MANDIR))