XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:54:17 cpqbld Exp $ XCOMM $XdotOrg: xc/programs/xdm/greeter/Imakefile,v 1.3 2004-04-24 23:28:17 alanc Exp $ XCOMM $XFree86: Imakefile,v 1.8 2003/05/27 22:27:00 tsi Exp $ #define DoNormalLib NO #define DoSharedLib YES #define DoDebugLib NO #define DoProfileLib NO #define LibName XdmGreet #define LibHeaders NO SOXDMGREETREV = 2.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 $(XPMLIB) $(PAMLIB) #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 # ifdef PamLibraries PAMLIB = PamLibraries # endif #endif #if SystemV4 GREETER_DEFINES = -DGREET_LIB #endif XPM_DEFINES = -DXPM INCLUDES = -I.. $(KRBIV_INCLUDES) $(KRB5_INCLUDE) DEFINES = $(GREETER_DEFINES) $(XDMAUTH_DEFINES) $(RPC_DEFINES) \ $(KRBIV_DEFINES) $(KRB5_DEFINES) $(PWD_DEFINES) $(PAM_DEFINES) \ $(XKB_CLIENT_DEFINES) $(XPM_DEFINES) XCOMM Override SHLIBDIR so that shared library is installed in XDMDIR instead XCOMM of default shared library directory SHLIBDIR = $(XDMDIR) SRCS = greet.c verify.c Login.c OBJS = greet.o verify.o Login.o #include DependTarget()