XCOMM $XFree86: xc/lib/XRes/Imakefile,v 1.3 2003/10/13 21:19:28 herrb Exp $
#define DoNormalLib NormalLibXRes
#define DoSharedLib SharedLibXRes
#define DoDebugLib DebugLibXRes
#define DoProfileLib ProfileLibXRes
#define LibName NX_XRes
#define SoRev SOXRESREV
#define LibHeaders NO
#include <Threads.tmpl>
#ifdef SharedXResReqs
REQUIREDLIBS = SharedXResReqs
#endif
#if Malloc0ReturnsNull
ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL
#endif
DEFINES = $(ALLOC_DEFINES)
SRCS = XRes.c
OBJS = XRes.o
LINTLIBS = $(LINTXLIB)
#include <Library.tmpl>
MANSUFFIX=$(LIBMANSUFFIX)
InstallManPage(LibName,$(LIBMANDIR))
#if ExpandManNames
InstallManPageAliases(LibName,$(LIBMANDIR),XResQueryExtension XResQueryVersion XResQueryClients XResQueryClientResources XResQueryClientPixmapBytes)
#endif
DependTarget()
-
Jan Engelhardt authored
We really want to make use of rpm's automatic dependency finding. Binaries are scanned for DT_NEEDED entries, the latter of which are then used for populating the "Requires"-type deps. The "nxagent" binary for example would require libX11.so.6. That incurs problems: 1. A package manager told to install nxagent could select xorg-x11 rather than nx-libs, even though nxagent depends on the NX version. 2. A package manager told to install $some_program could select nx-libs rather than xorg-x11 (since both provide libX11.so.6), but, since the NX library is in an obscure directory, running $some_program would fail as libX11.so.6 is not found. To solve this, give the NX libraries unique names different from the Xorg ones.
c4a8556c