summaryrefslogtreecommitdiff
path: root/Imakefile
blob: e0ecf649468f557454777afa252e0e904df51879 (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
##
# $XConsortium: Imakefile,v 5.11 91/09/17 08:52:54 rws Exp $
##
##
## Copyright 1990, 1991, 1990 by Sun Microsystems, Inc. and the X Consortium.
##
##			 All Rights Reserved
##
## Permission to use, copy, modify, and distribute this software and its
## documentation for any purpose and without fee is hereby granted,
## provided that the above copyright notice appear in all copies and that
## both that copyright notice and this permission notice appear in
## supporting documentation, and that the names of Sun Microsystems,
## the X Consortium, and MIT not be used in advertising or publicity
## pertaining to distribution of the software without specific, written
## prior permission.
##
## SUN MICROSYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
## INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
## EVENT SHALL SUN MICROSYSTEMS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
## CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
## USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
## OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
## PERFORMANCE OF THIS SOFTWARE.

  SYS_LIBRARIES = -lm
#if BuildPEX
    PEX_INCLUDE = $(INCDIR)/extensions
    PEX_SRC = decode_pex.c print_pex.c
    PEX_OBJ = decode_pex.o print_pex.o
    PEX_DEFINES = -DPEX
#endif
   DEFINES = $(PEX_DEFINES)

           SRCS = prtype.c print11.c table11.c decode11.c \
		server.c fd.c common.c scope.c audio.c \
		decode_lbx.c print_lbx.c printnas.c decodenas.c \
		decode_wcp.c print_wcp.c decode_render.c print_render.c \
		decode_randr.c print_randr.c \
		$(PEX_SRC)
           OBJS = scope.o common.o fd.o server.o decode11.o \
		table11.o print11.o prtype.o audio.o \
		decode_lbx.o print_lbx.o printnas.o decodenas.o \
		decode_wcp.o print_wcp.o decode_render.o print_render.o \
		decode_randr.o print_randr.o \
		$(PEX_OBJ)

ComplexProgramTarget(xscope)
SpecialObjectRule(common.o,$(_NOOP_),$(SIGNAL_DEFINES))

#if BuildPEX
includes:: pexRNames.h pexOCNames.h

pexOCNames.h: pexOCTab.awk $(PEX_INCLUDE)/PEX.h
	$(RM) $@
	awk -f pexOCTab.awk $(PEX_INCLUDE)/PEX.h > $@

pexRNames.h: pexRTab.awk $(PEX_INCLUDE)/PEX.h
	$(RM) $@
	awk -f pexRTab.awk $(PEX_INCLUDE)/PEX.h > $@
depend:: pexRNames.h pexOCNames.h

clean:: pexRNames.h pexOCNames.h
#endif