blob: 308d1819c52111a5286d0983111653111d27c1c8 (
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
|
# Makefile for stream-device utilities.
#
# Copyright (C) 1993 Christian E. Hopps
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
protos=protos.h
stdsrcs= getdevices.c devices.c util.c
stdobjs= getdevices.o devices.o util.o
srcs=streamtodev.c rdbinfo.c devtostream.c $(stdsrcs)
objs=streamtodev.o rdbinfo.o devtostream.o $(stdobjs)
copts= nostkchk # DEFINE DEBUG_ENABLED_VERSION=1 debug=s
all: $(protos) devtostream rdbinfo streamtodev xdevtostream xstreamtodev
streamtodev: streamtodev.o $(stdobjs)
slink SC SD ND to $@ from lib:c.o streamtodev.o $(stdobjs) lib getopt.lib unixemul.lib lib:sc.lib lib:amiga.lib
devtostream: devtostream.o $(stdobjs)
slink SC SD ND to $@ from lib:c.o devtostream.o $(stdobjs) lib getopt.lib unixemul.lib lib:sc.lib lib:amiga.lib
rdbinfo: rdbinfo.o $(stdobjs)
slink SC SD ND to $@ from lib:c.o rdbinfo.o $(stdobjs) lib getopt.lib unixemul.lib lib:sc.lib lib:amiga.lib
xstreamtodev: xstreamtodev.o $(stdobjs)
slink SC SD ND to $@ from lib:c.o xstreamtodev.o $(stdobjs) lib getopt.lib unixemul.lib lib:sc.lib lib:amiga.lib
xdevtostream: xdevtostream.o $(stdobjs)
slink SC SD ND to $@ from lib:c.o xdevtostream.o $(stdobjs) lib getopt.lib unixemul.lib lib:sc.lib lib:amiga.lib
.c.o:
sc $(copts) gst=custom:system.gst $<
$(protos): $(stdsrcs)
protoman db=$(protos) $?
clean:
-delete \#?.o
-delete devtostream rdbinfo streamtodev
copy clone protos_template.h protos.h
xstreamtodev.o: streamtodev.c
sc $(copts) DEFINE EXPERT_VERSION=1 gst=custom:system.gst objname=$@ $<
xdevtostream.o: devtostream.c
sc $(copts) DEFINE EXPERT_VERSION=1 gst=custom:system.gst objname=$@ $<
|