don't check when its clang masquerading as gcc
[AROS.git] / workbench / fs / pipe / Makefile
blob97cbeb9db2ba3347051d87ad054736be4de8245a
1 # remove the -DDEBUG from CFLAGS if not debugging
2 CFLAGS =
3 # -DDEBUG
5 # set the DEBUG variables to null strings if not debugging
6 DEBUG_H =
7 # pipedebug.h
8 DEBUG_O =
9 # pipedebug.o
12 PIPEHDR = pipe-handler.h pipelists.h pipename.h pipebuf.h \
13 pipecreate.h pipesched.h pipedir.h
15 OBJ = pipe-handler.o pipelists.o pipename.o pipebuf.o \
16 pipecreate.o pipesched.o pipedir.o
19 mount : loader_mount
21 handler : loader_pipe-handler
23 obj : $(OBJ) $(DEBUG_O)
26 prelude_mount : prelude_pipe-handler
27 Copy prelude_pipe-handler L:pipe-handler
28 Copy prelude_Mount DEVS:Mountlist
29 Mount P:
31 loader_mount : loader loader_pipe-handler
32 Copy pipe-handler-loader L:
33 Copy loader_pipe-handler L:pipe-handler
34 Copy loader_Mount DEVS:Mountlist
35 Mount P:
38 prelude_pipe-handler : prelude.o $(OBJ) $(DEBUG_O)
39 BLink FROM prelude.o $(OBJ) $(DEBUG_O) \
40 TO prelude_pipe-handler \
41 LIBRARY CLIB:lc.lib CLIB:amiga.lib
44 loader_pipe-handler : $(OBJ) $(DEBUG_O)
45 BLink FROM $(OBJ) $(DEBUG_O) \
46 TO loader_pipe-handler \
47 LIBRARY CLIB:lc.lib CLIB:amiga.lib
50 prelude : prelude.o
52 prelude.o : prelude.asm
53 Assem prelude -o prelude.o
56 loader : loader.o
57 BLink FROM loader.o TO pipe-handler-loader
59 loader.o : loader.asm
60 Assem loader.asm -i :include -o loader.o -c w100000
63 pipedebug.o : pipedebug.h pipedebug.c
64 EXECUTE cc pipedebug $(CFLAGS)
66 pipe-handler.o : $(PIPEHDR) pipe-handler.c $(DEBUG_H)
67 EXECUTE cc pipe-handler $(CFLAGS)
69 pipelists.o : pipelists.h pipelists.c
70 EXECUTE cc pipelists $(CFLAGS)
72 pipename.o : pipe-handler.h pipelists.h pipename.h pipebuf.h
73 pipename.o : pipecreate.h pipesched.h
74 pipename.o : pipename.c
75 EXECUTE cc pipename $(CFLAGS)
77 pipebuf.o : pipe-handler.h pipelists.h pipename.h pipebuf.h
78 pipebuf.o : pipecreate.h pipesched.h
79 pipebuf.o : pipebuf.c
80 EXECUTE cc pipebuf $(CFLAGS)
82 pipecreate.o : $(PIPEHDR) pipecreate.c $(DEBUG_H)
83 EXECUTE cc pipecreate $(CFLAGS)
85 pipesched.o : $(PIPEHDR) pipesched.c $(DEBUG_H)
86 EXECUTE cc pipesched $(CFLAGS)
88 pipedir.o : $(PIPEHDR) pipedir.c
89 EXECUTE cc pipedir $(CFLAGS)