summaryrefslogtreecommitdiff
path: root/xc/programs/xdm/greeter/Imakefile
blob: 535b0939f636039b354c180035c9d3d50108ff70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
XCOMM $XConsortium: Imakefile,v 1.5 94/03/31 22:35:03 gildea 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 HasXdmAuth
XDMAUTH_DEFINES = -DHASXDMAUTH
#endif

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

#if HasKrb5
KRB5_DEFINES = Krb5Defines
KRB5_INCLUDE = Krb5Includes
#endif

#ifdef SharedXmuReqs			/* do we support required libs? */
REQUIREDLIBS = $(LDPRELIB) $(XTOOLLIB) $(XLIB)
#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 parseArgs \
	-expect_unresolved printEnv \
	-expect_unresolved systemEnv \
	-expect_unresolved LogOutOfMem \
	SharedLibraryLoadFlags
#endif

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

#if SystemV4
  GREETER_DEFINES = -DGREET_LIB
#endif

INCLUDES = -I.. $(KRB5_INCLUDE)
 DEFINES = $(GREETER_DEFINES) $(XDMAUTH_DEFINES) $(RPC_DEFINES) $(KRB5_DEFINES) $(PWD_DEFINES)

SHLIBDIR = $(XDMDIR)

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

#include <Library.tmpl>

DependTarget()