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/lib/dpstk/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/lib/dpstk/Imakefile')
-rw-r--r-- | nx-X11/lib/dpstk/Imakefile | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/nx-X11/lib/dpstk/Imakefile b/nx-X11/lib/dpstk/Imakefile new file mode 100644 index 000000000..323e584f6 --- /dev/null +++ b/nx-X11/lib/dpstk/Imakefile @@ -0,0 +1,91 @@ +XCOMM $XFree86: xc/lib/dpstk/Imakefile,v 1.5 2000/05/23 19:32:52 dawes Exp $ + +#define DoNormalLib NormalLibDpsTk +#define DoSharedLib SharedLibDpsTk +#define DoExtraLib SharedLibDpsTk +#define DoDebugLib DebugLibDpsTk +#define DoProfileLib ProfileLibDpsTk +#define LibName dpstk +#define SoRev SODPSTKREV +#define LibHeaders NO + +#ifdef SharedDPSTKReqs +REQUIREDLIBS = SharedDPSTKReqs +#endif + + PSWRAP = PsWrap + +#if HasMotif +INCLUDES = $(MOTIFINCLUDES) + +MOTIFSRCS = FSBwraps.c FontSample.c FontSB.c FontCreato.c \ + CSBwraps.c ColorSB.c DSWwraps.c DPSScrollW.c +MOTIFOBJS = FSBwraps.o FontSample.o FontSB.o FontCreato.o \ + CSBwraps.o ColorSB.o DSWwraps.o DPSScrollW.o +#endif + +#ifndef DefaultResourcePath +#define DefaultResourcePath NULL +#endif +RESPATH = DefaultResourcePath + +#if NoStrstr + DEFINES = -DNO_STRSTR_AVAILABLE -DDEFAULT_RESOURCE_PATH=\"${RESPATH}\" +#else + DEFINES = -DDEFAULT_RESOURCE_PATH=\"${RESPATH}\" +#endif + + +DERIVED_FILES = FSBwraps.c FSBwraps.h XDPSpwraps.c XDPSpwraps.h \ + XDPSswraps.c XDPSswraps.h CSBwraps.c CSBwraps.h \ + DSWwraps.c DSWwraps.h + +SRCS = XDPSpwraps.c XDPSswraps.c XDPSshare.c XDPSpreview.c \ + XDPSuserpath.c + +OBJS = XDPSpwraps.o XDPSswraps.o XDPSshare.o XDPSpreview.o \ + XDPSuserpath.o + +#include <Library.tmpl> + +.SUFFIXES: .psw + +.psw.c : + RunProgram(PSWRAP,-o $*.c -a -f $*.h -h $*.h $<) + +includes:: $(SRCS) + +#if HasMotif + +includes:: $(MOTIFSRCS) + +#if DoSharedLib +SharedDepLibraryTarget(dpstkXm,$(SODPSREV),$(MOTIFOBJS),$(MOTIFOBJS) $(MOTIFLIB) $(DPSTKLIB) $(PSRESLIB),.,.) +InstallSharedLibrary(dpstkXm,$(SODPSREV),$(USRLIBDIR)) +#endif +#if DoNormalLib +#if DoSharedLib +UnsharedLibraryTarget(dpstkXm,$(MOTIFOBJS),unshared,..) +#else +NormalLibraryTarget(dpstkXm,$(MOTIFOBJS)) +#endif +InstallLibrary(dpstkXm,$(USRLIBDIR)) +#endif +#if DebugLibDps +DebuggedLibraryTarget(dpstkXm,$(MOTIFOBJS)) +InstallLibrary(dpstkXm_d,$(USRLIBDIR)) +#endif +#if ProfileLibDps +ProfiledLibraryTarget(dpstkXm,$(MOTIFOBJS)) +InstallDpsProfiledLibrary(dpstkXm_p,$(USRLIBDIR)) +#endif + +InstallAppDefaults(FontSelect) +InstallAppDefaults(ColorSelect) +#endif /* HasMotif */ + +clean :: + ${RM} $(DERIVED_FILES) $(MOTIFOBJS) + +DependTarget() + |