$OpenBSD: patch-config-util-Imakefile,v 1.3 2009/12/14 18:03:36 jasper Exp $ --- config/util/Imakefile.orig Fri Jan 4 22:12:10 2002 +++ config/util/Imakefile Sat Jun 30 10:25:24 2007 @@ -1,65 +1,9 @@ XCOMM $XConsortium: Imakefile /main/16 1996/11/13 14:43:28 lehors $ -#if UseCCMakeDepend -MDEP_PROG = makedepend -#endif -#ifdef ExportListGenSource -EXPORTLISTGEN = exportlistgen -#endif +PROGRAMS = ProgramTargetName(makestrs) -#ifdef Win32Architecture -CMKDIRHIER = mkdirhier.exe -#endif - -PROGRAMS = xmkmf $(MDEP_PROG) mergelib ProgramTargetName(makestrs) $(EXPORTLISTGEN) $(CMKDIRHIER) -DEPLIBS = -#ifndef Win32Architecture - EXTRA_LIBRARIES = -#endif - -XCOMM Some compilers generate fatal errors if an -L directory does -XCOMM not exist. Since BUILDLIBDIR may not exist yet suppress its use. - LDPRELIB = - LDPRELIBS = - all:: $(PROGRAMS) includes:: ProgramTargetName(makestrs) -#ifdef ExportListGenSource -CppScriptTarget(exportlistgen,ExportListGenSource,-DCXXFILT=$(CXXFILT),) -InstallNamedProg(exportlistgen,exportlistgen,$(BINDIR)) -#endif - -CppScriptTarget(xmkmf,xmkmf.cpp,-DCONFIGDIRSPEC='"'"-I$(CONFIGDIR)"'"',$(ICONFIGFILES)) -CppScriptTarget(makedepend,mdepend.cpp,-DPREPROC='"'"$(PREPROCESSCMD)"'"',$(ICONFIGFILES)) -CppScriptTarget(mergelib,mergelib.cpp,"-DARCMD=$(AR)" "-DRANLIB=$(RANLIB)",$(ICONFIGFILES)) - -#if HasSymLinks -#if CrossCompiling -SimpleHostProgramTarget(lndir) -#else -SimpleProgramTarget(lndir) -#endif -#endif - -#ifdef Win32Architecture -SimpleProgramTarget(mkdirhier) -#endif - NormalProgramTarget(makestrs,makestrs.o,,,) - -InstallNamedProg(xmkmf,xmkmf,$(BINDIR)) -InstallManPage(xmkmf,$(MANDIR)) -InstallNamedProg(mkdirhier.sh,mkdirhier,$(BINDIR)) -InstallManPage(mkdirhier,$(MANDIR)) -#if UseCCMakeDepend -InstallNamedProg(makedepend,makedepend,$(BINDIR)) -#endif -#if SystemV || SystemV4 -InstallNamedProg(bsdinst.sh,bsdinst,$(BINDIR)) -#endif -InstallNamedProg(mergelib,mergelib,$(BINDIR)) - -InstallNamedProg(makeg.sh,makeg,$(BINDIR)) -InstallManPage(makeg,$(MANDIR))