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




XCOMM $XFree86: xc/programs/xdm/greeter/Imakefile,v 1.7 2002/11/30 18:59:35 herrb Exp $

#define DoNormalLib NO
#define DoSharedLib YES
#define DoDebugLib NO
#define DoProfileLib NO
#define LibName XdmGreet
#define LibHeaders NO
SOXDMGREETREV = 1.0
#define SoRev SOXDMGREETREV

#if UseXKBInClients
XKB_CLIENT_DEFINES = XkbClientDefines
#endif

#if HasXdmAuth
XDMAUTH_DEFINES = -DHASXDMAUTH
#endif

#if HasSecureRPC
RPC_DEFINES = -DSECURE_RPC
RPCLIB = -lrpcsvc
#endif

#if HasKrbIV
KRBIV_DEFINES = KrbIVDefines
KRBIV_INCLUDES = KrbIVIncludes
#endif

#if HasKrb5
KRB5_DEFINES = Krb5Defines
KRB5_INCLUDE = Krb5Includes
#endif

#ifdef SharedXmuReqs			/* do we support required libs? */
REQUIREDLIBS = SharedXmuReqs
#endif

#ifdef OSF1Architecture
SHLIBLDFLAGS = \
	-expect_unresolved PingServer \
	-expect_unresolved SessionPingFailed \
	-expect_unresolved Debug \
	-expect_unresolved RegisterCloseOnFork \
	-expect_unresolved SecureDisplay \
	-expect_unresolved UnsecureDisplay \
	-expect_unresolved ClearCloseOnFork \
	-expect_unresolved SetupDisplay \
	-expect_unresolved LogError \
	-expect_unresolved SessionExit \
	-expect_unresolved DeleteXloginResources \
	-expect_unresolved source \
	-expect_unresolved defaultEnv \
	-expect_unresolved setEnv \
	-expect_unresolved putEnv \
	-expect_unresolved parseArgs \
	-expect_unresolved printEnv \
	-expect_unresolved systemEnv \
	-expect_unresolved LogOutOfMem \
	SharedLibraryLoadFlags
#endif

#if SystemV4 || HasShadowPasswd
PWD_DEFINES = -DUSESHADOW
#endif

#if HasPam
PAM_DEFINES = -DUSE_PAM
#endif

#if SystemV4
  GREETER_DEFINES = -DGREET_LIB
#endif

INCLUDES = -I.. $(KRBIV_INCLUDES) $(KRB5_INCLUDE)
 DEFINES = $(GREETER_DEFINES) $(XDMAUTH_DEFINES) $(RPC_DEFINES) \
	   $(KRBIV_DEFINES) $(KRB5_DEFINES) $(PWD_DEFINES) $(PAM_DEFINES) \
	   $(XKB_CLIENT_DEFINES)

SRCS = greet.c verify.c Login.c
OBJS = greet.o verify.o Login.o

#include <Library.tmpl>

DependTarget()
