Subversion Repositories Kolibri OS

Rev

Rev 953 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 953 Rev 954
Line 2... Line 2...
2
FASM = e:/fasm/fasm.exe
2
FASM = e:/fasm/fasm.exe
3
CFLAGS = -c -O2 -fomit-frame-pointer -fno-builtin-printf 
3
CFLAGS = -c -O2 -fomit-frame-pointer -fno-builtin-printf 
4
LDRHD  = -shared -T ld.x -s --file-alignment 32
4
LDRHD  = -shared -T ld.x -s --file-alignment 32
5
 
5
 
Line -... Line 6...
-
 
6
INCLUDES = -I ../include
-
 
7
 
6
HFILES:=     agp.h		\
8
HFILES:=     ../include/types.h		\
-
 
9
             ../include/syscall.h	\
7
             syscall.h    	\
10
             agp.h			\
8
             pci.h        	\
11
             pci.h        		\
Line 9... Line 12...
9
 
12
 
10
SRC_DEP:=    pci.inc		\
13
SRC_DEP:=    pci.inc		\
11
             detect.inc		\
14
             detect.inc		\
Line 22... Line 25...
22
	wlink name agp.dll SYS nt_dll lib libdrv op offset=0 op nod op maxe=25 op el op STUB=stub.exe op START=_drvEntry @agp.lk
25
	wlink name agp.dll SYS nt_dll lib libdrv op offset=0 op nod op maxe=25 op el op STUB=stub.exe op START=_drvEntry @agp.lk
23
	kpack.exe agp.dll agp.drv
26
	kpack.exe agp.dll agp.drv
24
 
27
 
Line 25... Line 28...
25
agp.obj : agp.c $(SRC_DEP) $(HFILES) Makefile
28
agp.obj : agp.c $(SRC_DEP) $(HFILES) Makefile
26
	$(CC) $(CFLAGS) -o agp.obj agp.c
29
	$(CC) $(INCLUDES) $(CFLAGS) -o agp.obj agp.c