diff options
author | Reinhard Tartler <siretart@tauware.de> | 2011-10-10 17:43:39 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2011-10-10 17:43:39 +0200 |
commit | f4092abdf94af6a99aff944d6264bc1284e8bdd4 (patch) | |
tree | 2ac1c9cc16ceb93edb2c4382c088dac5aeafdf0f /nx-X11/config/util/Imakefile | |
parent | a840692edc9c6d19cd7c057f68e39c7d95eb767d (diff) | |
download | nx-libs-f4092abdf94af6a99aff944d6264bc1284e8bdd4.tar.gz nx-libs-f4092abdf94af6a99aff944d6264bc1284e8bdd4.tar.bz2 nx-libs-f4092abdf94af6a99aff944d6264bc1284e8bdd4.zip |
Imported nx-X11-3.1.0-1.tar.gznx-X11/3.1.0-1
Summary: Imported nx-X11-3.1.0-1.tar.gz
Keywords:
Imported nx-X11-3.1.0-1.tar.gz
into Git repository
Diffstat (limited to 'nx-X11/config/util/Imakefile')
-rw-r--r-- | nx-X11/config/util/Imakefile | 168 |
1 files changed, 168 insertions, 0 deletions
diff --git a/nx-X11/config/util/Imakefile b/nx-X11/config/util/Imakefile new file mode 100644 index 000000000..016751d06 --- /dev/null +++ b/nx-X11/config/util/Imakefile @@ -0,0 +1,168 @@ +XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:41:52 cpqbld Exp $ + + + +XCOMM $XFree86: xc/config/util/Imakefile,v 3.49 2003/10/21 17:41:45 tsi Exp $ + +CCMDEP_PROG = ccmakedep + +#ifdef ExportListGenSource +EXPORTLISTGEN = exportlistgen +#endif + +#if defined(Win32Architecture) && !defined(CrossCompiling) +CMKDIRHIER = mkdirhier.exe +#endif + +GCCMDEP_PROG = gccmakedep + +#if HasSymLinks +#if CrossCompiling +LNDIR_PROG = HostProgramTargetName(lndir) +#else +LNDIR_PROG = ProgramTargetName(lndir) +#endif +#endif + +#if CrossCompiling +MAKESTRS_PROG = HostProgramTargetName(makestrs) +REVPATH_PROG = HostProgramTargetName(revpath) +#else +MAKESTRS_PROG = ProgramTargetName(makestrs) +REVPATH_PROG = ProgramTargetName(revpath) +#endif + +#if BuildRman +RMAN_PROG = HostProgramTargetName(rman) +#endif + +PROGRAMS = $(RMAN_PROG) $(LNDIR_PROG) $(MAKESTRS_PROG) \ + $(REVPATH_PROG) $(EXPORTLISTGEN) $(CMKDIRHIER) +DEPLIBS = +#ifndef Win32Architecture + EXTRA_LIBRARIES = +#endif +#ifdef LinuxArchitecture + PREPROCESSCMD_MKDEPEND = PreProcessCmd StandardCppDefines $(PROJECT_DEFINES) +#else + PREPROCESSCMD_MKDEPEND = $(PREPROCESSCMD) +#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 = +#if CrossCompiling + LDPOSTLIBS = + LDPOSTLIB = +#endif + +all:: xmkmf mergelib $(CCMDEP_PROG) $(GCCMDEP_PROG) $(PROGRAMS) + +makedependonly:: $(CCMDEP_PROG) $(GCCMDEP_PROG) + +#if HasGcc +GCCCMD = $(CC) +#else +GCCCMD = gcc +#endif + +#if CrossCompiling +includes:: HostProgramTargetName(makestrs) +#else +includes:: ProgramTargetName(makestrs) +#endif + +#ifdef ExportListGenSource +CppScriptTarget(exportlistgen,ExportListGenSource,-DCXXFILT=$(CXXFILT),) +InstallNamedProg(exportlistgen,exportlistgen,$(BINDIR)) +#endif + +CppScriptTarget(xmkmf,xmkmf.cpp,-DCONFIGDIRSPEC='"'"-I$(CONFIGDIR)"'"',$(ICONFIGFILES)) +CppScriptTarget(ccmakedep,mdepend.cpp,-DPREPROC='"'"$(PREPROCESSCMD_MKDEPEND)"'"',$(ICONFIGFILES)) +CppScriptTarget(mergelib,mergelib.cpp,"-DARCMD=$(AR)" "-DRANLIB=$(RANLIB)",$(ICONFIGFILES)) +CppScriptTarget(gccmakedep,gccmdep.cpp,-DCCCMD='"'"$(GCCCMD)"'"' -DRMCMD='"'"$(RM)"'"' -DLNCMD='"'"$(LN)"'"' -DMVCMD='"'"$(MV)"'"',$(ICONFIGFILES)) + +#ifndef OpenBSDArchitecture +#if HasSymLinks +#if CrossCompiling +SimpleHostProgramTarget_2(lndir) +#else +AllTarget(lndir) +SimpleProgramTarget_2(lndir) +#endif +#endif +#endif + +#if defined(Win32Architecture) && !defined(CrossCompiling) +AllTarget(ProgramTargetName(mkdirhier)) +SimpleProgramTarget_3(mkdirhier) +#endif + +#if CrossCompiling +AllTarget(HostProgramTargetName(makestrs)) +SimpleHostProgramTarget_1(makestrs) +AllTarget(HostProgramTargetName(revpath)) +SimpleHostProgramTarget_4(revpath) +#else +AllTarget(ProgramTargetName(makestrs)) +SimpleProgramTarget_1(makestrs) +AllTarget(ProgramTargetName(revpath)) +SimpleProgramTarget_4(revpath) +#endif + +#if BuildRman +rmanonly:: $(RMAN_PROG) + +VOLLIST="1:2:3:4:5:6:7:8:9:o:l:n:p" +MANTITLEPRINTF="%s(%s) manual page" +MANREFPRINTF="%s.%s.html" +RMANVERSION="3.0.8+X.Org" +#if CrossCompiling +AllTarget(HostProgramTargetName(rman)) +SimpleHostProgramTarget_3(rman) +#else +AllTarget(ProgramTargetName(rman)) +SimpleProgramTarget_5(rman) +#endif +SpecialCObjectRule(rman,NullParameter,-DVOLLIST='$(VOLLIST)' -DMANTITLEPRINTF='$(MANTITLEPRINTF)' -DMANREFPRINTF='$(MANREFPRINTF)' -DPOLYGLOTMANVERSION='$(RMANVERSION)' -DXOrg) +LinkSourceFile(rman.c,$(TOP)/extras/rman) +LinkFile(rman.man,$(TOP)/extras/rman/rman.1) +#endif + +InstallManPage(xmkmf,$(MANDIR)) + +InstallNamedProg(xmkmf,xmkmf,$(BINDIR)) +InstallNamedProg(mkdirhier.sh,mkdirhier,$(BINDIR)) +InstallManPage(mkdirhier,$(MANDIR)) +InstallNamedProg(gccmakedep,gccmakedep,$(BINDIR)) +InstallManPage(gccmakedep,$(MANDIR)) +#if defined(QNX4Architecture) || defined(NTOArchitecture) +InstallNamedProg(install.sh,install,$(BINDIR)) +#endif +InstallDriverSDKNamedProg(mkdirhier.sh,mkdirhier.sh,$(DRIVERSDKDIR)/config/util) +InstallDriverSDKNamedProg(gccmakedep,gccmakedep,$(DRIVERSDKDIR)/config/util) +InstallNamedProg(mergelib,mergelib,$(BINDIR)) +InstallManPage(mergelib,$(MANDIR)) +InstallNamedProg(makeg.sh,makeg,$(BINDIR)) +InstallManPage(makeg,$(MANDIR)) +InstallNamedProg(cleanlinks.sh,cleanlinks,$(BINDIR)) +InstallManPage(cleanlinks,$(MANDIR)) +#if HasPerl +InstallNamedProg(mkhtmlindex.pl,mkhtmlindex,$(BINDIR)) +#else +InstallNamedProg(mkhtmlindex.sh,mkhtmlindex,$(BINDIR)) +#endif +InstallManPage(mkhtmlindex,$(MANDIR)) +InstallNamedProg(ccmakedep,ccmakedep,$(BINDIR)) +InstallManPage(ccmakedep,$(MANDIR)) +InstallDriverSDKNamedProg(ccmakedep,ccmakedep,$(DRIVERSDKDIR)/config/util) +#if SystemV || SystemV4 +InstallNamedProg(bsdinst.sh,bsdinst,$(BINDIR)) +InstallDriverSDKNamedProg(bsdinst.sh,bsdinst.sh,$(DRIVERSDKDIR)/config/util) +#endif + +InstallDriverSDKNamedProg(revpath,revpath,$(DRIVERSDKDIR)/config/util) +#ifdef OS2Architecture +InstallNamedProg(makedef.cmd,makedef.cmd,$(BINDIR)) +#endif |