XCOMM $XConsortium: Imakefile,v 1.7 94/04/13 18:07:51 rws Exp $
XCOMM $XFree86: xc/workInProgress/lbx/programs/lbxproxy/Imakefile,v 3.5 1995/07/12 15:48:04 dawes Exp $

#include <Server.tmpl>
#define       IHaveSubdirs

SUBDIRS = di os
LBXLIBS = di/libdilbx.a os/libos.a ../../lib/lbxutil/liblbxutil.a

#ifdef LynxOSArchitecture
SPECIALLIBS = -lbsd
#endif
#ifdef i386IscArchitecture
SPECIALLIBS = -linet
#endif
#ifdef i386ScoArchitecture
SPECIALLIBS = $(LDLIBS)
#endif

OTHERLIBS = $(LBXXEXTLIB) $(XLIB) $(XAULIB) $(XDMCPLIB) $(SPECIALLIBS)

#if HasParallelMake
MakeMutex($(SUBDIRS) $(LBXLIBS))
#endif

#ifndef LynxOSArchitecture
ServerTarget(lbxproxy,$(SUBDIRS),NullParameter,$(LBXLIBS),$(OTHERLIBS))
#else
ServerTarget(lbxproxy,$(SUBDIRS),di/main.o,$(LBXLIBS),$(OTHERLIBS))
#endif

DependSubdirs($(SUBDIRS))

ForceSubdirs($(SUBDIRS))

InstallManPage(lbxproxy,$(MANDIR))
