1 XCOMM $XConsortium: Imakefile /main/11 1996/08/09 14:50:28 barstow $
3 XCOMM RESTRICTED CONFIDENTIAL INFORMATION:
5 XCOMM The information in this document is subject to special
6 XCOMM restrictions in a confidential disclosure agreement between
7 XCOMM HP, IBM, Sun, USL, SCO and Univel. Do not distribute this
8 XCOMM document outside HP, IBM, Sun, USL, SCO, or Univel without
9 XCOMM Sun's specific written approval. This document and all copies
10 XCOMM and derivative works thereof must be returned or destroyed at
13 XCOMM (c) Copyright 1996 Digital Equipment Corporation.
14 XCOMM (c) Copyright 1996 Hewlett-Packard Company.
15 XCOMM (c) Copyright 1996 International Business Machines Corp.
16 XCOMM (c) Copyright 1993,1996 Sun Microsystems, Inc.
17 XCOMM (c) Copyright 1996 Novell, Inc.
18 XCOMM (c) Copyright 1996 FUJITSU LIMITED.
19 XCOMM (c) Copyright 1996 Hitachi.
23 INCLUDES = -I. -I$(CSASRC) -I$(DTHELPSRC) $(TIRPCINC)
24 SYS_LIBRARIES = DtClientSysLibs $(TIRPCLIB)
25 #ifdef SunArchitecture
26 LOCAL_LIBRARIES = $(CSALIB) $(DTSVCLIB) $(TTLIB)
28 LOCAL_LIBRARIES = $(CSALIB) $(DTWIDGETLIB) $(DTHELPLIB) $(DTSVCLIB) $(TTLIB) $(XMLIB) $(XTOOLLIB) $(XLIB)
29 #endif /* SunArchitecture */
31 OSMAJORVERSION = OSMajorVersion
32 OSMINORVERSION = OSMinorVersion
33 DEFINES = -DREL="$(OSMAJORVERSION)$(OSMINORVERSION)" \
34 -DRELMAJOR="$(OSMAJORVERSION)" \
35 -DRELMINOR="$(OSMINORVERSION)"
37 #if defined(LinuxArchitecture)
38 EXTRA_INCLUDES = $(TIRPCINC)
39 EXTRA_LIBRARIES = $(TIRPCLIB)
43 EXTRA_LIBRARIES = -lrpcsvc -lPW -ldiag -lc
47 EXTRA_DEFINES = -DHPUX -DS9000
48 EXTRA_LIBRARIES = -lrpcsvc -lV3 -lc -lPW
51 #ifdef SunArchitecture
52 EXTRA_DEFINES = -DSunOS=$(OSMAJORVERSION)$(OSMINORVERSION)
53 EXTRA_CCOPTIONS = -xstrconst -Xc -v
54 EXTRA_LIBRARIES = -lsocket -lnsl -lintl
58 parser.c access.c callback.c \
59 cmscalendar.c cmsconvert.c cmsentry.c \
60 cmsmatch.c delete.c garbage.c \
61 insert.c lexit.c list.c \
62 log.c lookup.c reclotick.c \
63 recount.c relasttick.c reminder.c \
64 renexttick.c repeat.c reprevtick.c \
65 rerule.c reutil.c tree.c \
66 utility.c v4ops.c v5ops.c \
67 cmsfunc.c programtable.c rtable2.c \
68 rtable3.c rtable4.c svcmain.c \
72 parser.o access.o callback.o \
73 cmscalendar.o cmsconvert.o cmsentry.o \
74 cmsmatch.o delete.o garbage.o \
75 insert.o lexit.o list.o \
76 log.o lookup.o reclotick.o \
77 recount.o relasttick.o reminder.o \
78 renexttick.o repeat.o reprevtick.o \
79 rerule.o reutil.o tree.o \
80 utility.o v4ops.o v5ops.o \
81 cmsfunc.o programtable.o rtable2.o \
82 rtable3.o rtable4.o svcmain.o \
87 NormalProgramTarget($(PROGRAM),$(OBJS),,$(LOCAL_LIBRARIES),)
92 $(YACC) -d $(YFLAGS) $<
93 sed -e "s/yy/yyy/g" -e "/# line/d" y.tab.c > $*.c
94 sed s/yy/yyy/g y.tab.h > $*.h
103 $(_NULLCMD_) > parser.h