File: LUNA

package info (click to toggle)
sendmail 8.18.1-6
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 12,496 kB
  • sloc: ansic: 105,736; perl: 7,504; sh: 5,488; makefile: 888
file content (48 lines) | stat: -rw-r--r-- 1,230 bytes parent folder | download | duplicates (7)
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
#	$Id: LUNA,v 8.11 2002-03-21 23:59:25 gshapiro Exp $

dnl	DO NOT EDIT THIS FILE.
dnl	Place personal settings in devtools/Site/site.config.m4

define(`confBEFORE', `dirent.h stddef.h stdlib.h unistd.h limits.h time.h sys/time.h')
define(`confMAPDEF', `-DNDBM')
define(`confMBINDIR', `/usr/lib')
define(`confSBINDIR', `/usr/etc')
define(`confUBINDIR', `/usr/ucb')
define(`confEBINDIR', `/usr/lib')
PUSHDIVERT(3)
dirent.h:
	echo "#include <sys/dir.h>" > dirent.h
	echo "#define dirent    direct" >> dirent.h

stddef.h unistd.h limits.h:
	if [ -f /usr/include/$@ ]; then \
		ln -s /usr/include/$@ .; \
	else \
		cp /dev/null $@; \
	fi

stdlib.h:
	if [ -f /usr/include/stdlib.h ]; then \
		ln -s /usr/include/stdlib.h .; \
	else \
		if [ -f /usr/include/libc.h ]; then \
			ln -s /usr/include/libc.h stdlib.h; \
		else \
			cp /dev/null stdlib.h; \
		fi; \
	fi

# just for UNIOS-B
time.h:
	echo "#ifndef _LOCAL_TIME_H_" > time.h
	echo "#define _LOCAL_TIME_H_" >> time.h
	cat /usr/include/time.h >> time.h
	echo "#endif" >> time.h

sys/time.h:
	-mkdir sys
	echo "#ifndef _LOCAL_SYS_TIME_H_" > sys/time.h
	echo "#define _LOCAL_SYS_TIME_H_" >> sys/time.h
	cat /usr/include/sys/time.h >> sys/time.h
	echo "#endif" >> sys/time.h
POPDIVERT