Subversion Repositories Kolibri OS

Rev

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

Rev 1029 Rev 1692
Line 1... Line 1...
1
CC = gcc
1
CC = gcc
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
LDFLAGS = -nostdlib -shared -s -Map usb.map --image-base 0\
4
LDRHD  = -shared -T ld.x -s --file-alignment 32
5
	  --file-alignment 512 --section-alignment 4096
Line 5... Line 6...
5
 
6
 
Line 6... Line 7...
6
INCLUDES = -I ../../include
7
DEFINES	 = -D__KERNEL__ -DCONFIG_X86_32 
-
 
8
 
7
 
9
DRV_TOPDIR   = $(CURDIR)/../..
-
 
10
 
8
HFILES:=     ../../include/types.h	\
11
DRV_INCLUDES = $(DRV_TOPDIR)/include
-
 
12
 
-
 
13
INCLUDES = 	-I$(DRV_INCLUDES) \
-
 
14
		-I$(DRV_INCLUDES)/linux
-
 
15
 
-
 
16
LIBPATH = $(DRV_TOPDIR)/ddk
-
 
17
 
9
             ../../include/syscall.h	\
18
LIBS:=    -lddk -lcore 
Line 10... Line 19...
10
             ../../include/pci.h	\
19
 
11
             geode.h			
20
HFILES:=     geode.h			
Line 12... Line 21...
12
 
21
 
13
SRC_DEP:=    
22
SRC_DEP:=    
Line 14... Line 23...
14
GEODE_SRC:=    amd_geode.h     
23
GEODE_SRC:=    amd_geode.h     
Line 15... Line 24...
15
 
24
 
16
NAME:=   geode
25
NAME:=   geode
17
GEODE:=  geode.dll
26
GEODE:=  geode.dll
Line 18... Line 27...
18
 
27
 
19
all: $(GEODE)
28
all: $(GEODE)