XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:53:53 cpqbld Exp $





XCOMM $XFree86: xc/programs/lbxproxy/Imakefile,v 1.14 2001/01/17 23:44:55 dawes Exp $

#include <Server.tmpl>
#define       IHaveSubdirs

LBXPROXYCONFIGDIR = LbxproxyConfigSubdir

   ZLIB = GzipLibrary
SUBDIRS = di os $(LBXPROXYCONFIGDIR)
LBXLIBS = di/LibraryTargetName(dilbx) os/LibraryTargetName(os) $(TOP)/lib/lbxutil/LibraryTargetName(lbxutil)
  
#ifdef i386IscArchitecture
OTHERLIBS = $(ICELIB) $(XLIB) -linet $(ZLIB)
#else
#ifdef LynxOSArchitecture
OTHERLIBS = $(ICELIB) $(XLIB) -lbsd $(ZLIB)
#else
OTHERLIBS = $(ICELIB) $(XLIB) $(ZLIB)
#endif
#endif

os/LibraryTargetName(os):	os

di/LibraryTargetName(dilbx):	di

#if !defined(LynxOSArchitecture) && !defined(QNX4Architecture)
ServerTarget(lbxproxy,$(SUBDIRS),NullParameter,$(LBXLIBS),$(OTHERLIBS))
#else
ServerTarget(lbxproxy,$(SUBDIRS),di/main.o,$(LBXLIBS),$(OTHERLIBS))
#endif

LinkConfDirectory(lbxproxy,.,lbxproxy,.)

DependSubdirs($(SUBDIRS))

ForceSubdirs($(SUBDIRS))

InstallManPage(lbxproxy,$(MANDIR))
