store the pre-alphacomposit hook and allow it to be queried.
[AROS.git] / workbench / devs / networks / atheros5000 / Makefile.OS4
blob45eccea14f9e97991583f8f400d260bdaaadd0fb
1 CFLAGS = -O3 -Wall -Wno-uninitialized -Wno-parentheses -D__USE_INLINE__\
2  -D__USE_BASETYPE__ -D__NOLIBBASE__ -D__NOGLOBALIFACE__
3 CC = gcc $(CFLAGS)
4 MAKEFILE = Makefile.OS4
5 #LINKER = ld -e Main -s -lauto
6 #LINKER = gcc -nostdlib
7 LINKER = gcc
8 AMIGA_LIB = -lamiga
9 #C_LIB = -lauto
11 DEV_NAME = atheros5000.device
12 OBJS = os4_device.o device.o unit.o encryption.o request.o pci.o\
13  expansion.o hal.o halsupport.o
14 HDRS = device.h wireless.h io.h
16 all: $(DEV_NAME)
18 .c.o :
19         $(CC) -c $<
21 $(DEV_NAME): $(MAKEFILE) startup.o $(OBJS)
22         $(LINKER) startup.o $(OBJS) $(AMIGA_LIB) $(C_LIB) -o $(DEV_NAME)
23         echo strip $(DEV_NAME)
24         Protect "$(DEV_NAME)" "-e"
26 $(OBJS): $(MAKEFILE) $(HDRS)
28 pci.o expansion.o: pci.h
30 install: all
31         Copy "$(DEV_NAME)" "DEVS:networks/" CLONE
32         Avail FLUSH >NIL:
34 test: all
35         NetShutdown
36         Copy "$(DEV_NAME)" "DEVS:networks/" CLONE
37         Avail FLUSH >NIL:
38         AddNetInterface ath
40 clean:
41         Delete "$(DEV_NAME)" "#?.o"