File: Imakefile

package info (click to toggle)
xmcd 2.6-17sarge1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,464 kB
  • ctags: 5,075
  • sloc: ansic: 51,322; sh: 4,039; makefile: 82; pascal: 67
file content (160 lines) | stat: -rw-r--r-- 3,533 bytes parent folder | download | duplicates (5)
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
/*
 * @(#)Imakefile	6.24 99/12/27
 *
 * Imakefile for libdi
 *
 *	libdi - CD Audio Player Device Interface Library
 *
 *   Copyright (C) 1993-2000  Ti Kan
 *   E-mail: ti@amb.org
 *
 *   This library is free software; you can redistribute it and/or
 *   modify it under the terms of the GNU Library General Public
 *   License as published by the Free Software Foundation; either
 *   version 2 of the License, or (at your option) any later version.
 *
 *   This library is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *   Library General Public License for more details.
 *
 *   You should have received a copy of the GNU Library General Public
 *   License along with this library; if not, write to the Free
 *   Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */

/*
 * If your local X configuration is broken, you may need to muck with
 * the following RANLIB= lines.
 * On most System V platforms RANLIB should be set to /bin/true.
 * On BSD-derived systems RANLIB should be set to ranlib.
 */
#if defined(DoRanlibCmd) && (DoRanlibCmd == NO)
RANLIB= /bin/true
#endif


/**** Optional defines:  Change as you see fit. *****************************
 *
 * -BSDCOMPAT
 *	Compiling under BSD-derived or BSD-like OS.
 *
 * -DSOL2_RSENSE
 *	Whether to include code that makes use of the auto request-sense
 *	feature in Solaris 2.2 or later.  This option is unused under
 *	other OS platforms.
 *
 * -DAIX_IDE
 *	Whether to enable the AIX IDE ioctl method.  This option must be
 *	used for AIX 4.x users that are using IDE CD-ROM drives.
 *
 * -DNETBSD_OLDIOC
 *	Whether to enable the old-NetBSD ioctl method.  This option must be
 *	used for users of older NetBSD systems (prior to v1,2G or so).
 *
 * -DOEM_CDROM
 *	Define this if you have one of those strange OEM SCSI CD-ROM
 *	drives that identify themselves as a hard disk (see the FAQ file).
 *
 * -DDEMO_ONLY
 *	Build a simulated, demo-only version of libdi.
 */
#if defined(SYSTYPE_BSD43) || defined(BSD43) || defined(BSD) || \
    defined(FreeBSDArchitecture) || defined(NetBSDArchitecture) || \
    defined(OpenBSDArchitecture) || defined(__bsdi__) || \
    defined(OsfArchitecture) || defined(sony_news) || \
    (defined(SunArchitecture) && OSMajorVersion == 4)
DEFINES= -DBSDCOMPAT
#else
DEFINES=
#endif

#if defined(FreeBSDArchitecture)
.if exists(/usr/include/camlib.h)
DEFINES+= -DFREEBSD_CAM
.endif
#endif

/*
 * Add local include path
 */
#if defined(__bsdi__)
INCLUDES=-I.. -I/sys
#else
INCLUDES=-I..
#endif

/*
 * C Source files
 */
SRCS=	libdi.c \
	scsipt.c \
	os_aix.c \
	os_aux.c \
	os_bsdi.c \
	os_dec.c \
	os_dgux.c \
	os_fnbsd.c \
	os_hpux.c \
	os_irix.c \
	os_linux.c \
	os_news.c \
	os_odt.c \
	os_sinix.c \
	os_sun.c \
	os_svr4.c \
	os_vms.c \
	os_demo.c \
	os_cdsim.c \
	vu_chin.c \
	vu_hita.c \
	vu_nec.c \
	vu_pana.c \
	vu_pion.c \
	vu_sony.c \
	vu_tosh.c \
	aixioc.c \
	fbioc.c \
	slioc.c

/*
 * Objects files
 */
OBJS=	libdi.o \
	scsipt.o \
	os_aix.o \
	os_aux.o \
	os_bsdi.o \
	os_dec.o \
	os_dgux.o \
	os_fnbsd.o \
	os_hpux.o \
	os_irix.o \
	os_linux.o \
	os_news.o \
	os_odt.o \
	os_sinix.o \
	os_sun.o \
	os_svr4.o \
	os_vms.o \
	os_demo.o \
	os_cdsim.o \
	vu_chin.o \
	vu_hita.o \
	vu_nec.o \
	vu_pana.o \
	vu_pion.o \
	vu_sony.o \
	vu_tosh.o \
	aixioc.o \
	fbioc.o \
	slioc.o


/*
 * Build rule for the Device Interface Library
 */
NormalLibraryTarget(di,$(OBJS))
DependTarget()