summaryrefslogtreecommitdiff
blob: 3ad38b961166a6907c25f08d001ab530a1a6e0d5 (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
#define ABEKASA60
##define ABEKASA62	bug #455970
#define ALIAS
##define CGM
#define CUBICOMP
##define DVIRLE
#define GRAYFILES
#define MACPAINT
##define PBMPLUS
##define SUNRASTER
#define TARGA
#define VICAR
#define WASATCH
#define WAVEFRONT

#define GCC

#define CONST_DECL
#define NO_MAKE_MAKEFILE
#define USE_TIME_H
#define SYS_V_SETPGRP
#define USE_PROTOTYPES
#define USE_RANDOM
#define USE_STDARG
#define USE_STDLIB_H
#define USE_UNISTD_H
#define USE_STRING_H
#define VOID_STAR
#define USE_XLIBINT_H
#define X_SHARED_MEMORY

#defpath DEST bin
#defpath MAN_DEST man-dest
#defpath RI include
#defpath RL lib

ROFF = nroff
ROFFOPT = -man
ROFFPIPE = | lpr

INCTIFF = 
LIBTIFF = -ltiff
INCX11 =
LIBX11 = -lX11

# Most people have migrated X11 to /usr/lib, but just in case ...
check_x11=$(shell \
	echo 'int main(){}' > test.c ; \
	if ! $(CC) test.c -lX11 -o .urt-x11-test 2>/dev/null ; then \
		echo "-L/usr/X11R6/lib" ; \
	fi ; \
	rm -f .urt-x11-test test.c)
LIBX11 += $(call check_x11)