Subversion Repositories Kolibri OS

Rev

Rev 1029 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1029 serge 1
 
2
FASM = e:/fasm/fasm.exe
3
CFLAGS = -c -Os -fomit-frame-pointer -fno-builtin-printf
4
LDCORE = -shared -s --file-alignment 32 --output-def core.def --out-implib core.lib
5
LDRHD  = -shared -T ld.x -s --file-alignment 32
6
7
 
8
9
 
10
		rhd.h			\
11
        	rhd_card.h		\
12
	        rhd_connector.h		\
13
        	rhd_output.h		\
14
           	rhd_mc.h		\
15
		rhd_hdmi.h		\
16
           	pci.h
17
18
 
19
		rhd_id.c		\
20
           	rhd_mem.c		\
21
           	rhd_vga.c		\
22
           	rhd_mc.c		\
23
           	rhd_crtc.c		\
24
           	rhd_dac.c		\
25
           	rhd_pll.c		\
26
           	rhd_lut.c		\
27
           	rhd_atombios.c   	\
28
		rhd_atomout.c		\
29
		rhd_biosscratch.c	\
30
		rhd_atomcrtc.c		\
31
		rhd_atompll.c		\
32
           	rhd_i2c.c		\
33
         	rhd_edid.c       	\
34
	        rhd_connector.c  	\
35
	   	rhd_ddia.c       	\
36
           	rhd_dig.c        	\
37
           	rhd_monitor.c    	\
38
           	rhd_modes.c      	\
39
           	rhd_output.c     	\
40
           	rhd_lvtma.c      	\
41
           	rhd_tmds.c       	\
42
		rhd_hdmi.c		\
43
           	xf86i2c.c        	\
44
           	string.c         	\
45
           	malloc.c         	\
46
           	vsprintf.c       	\
47
           	memset.asm       	\
48
           	s_ceilf.asm      	\
49
           	dbg.c            	\
50
           	pci.c
51
52
 
53
54
 
55
                        AtomBios/CD_Operations.c      \
56
                        AtomBios/Decoder.c            \
57
                        AtomBios/hwserv_drv.c
58
59
 
60
                        AtomBios/CD_Operations.obj    \
61
                        AtomBios/Decoder.obj          \
62
                        AtomBios/hwserv_drv.obj
63
64
 
65
ATOM_BIOS_DEFINES = -DATOM_BIOS=1
66
ATOM_BIOS_PARSER_INCLUDES = -I./AtomBios
67
ATOM_BIOS_PARSER_DEFINES = -DDRIVER_PARSER \
68
                           -DDISABLE_EASF  \
69
                           -DENABLE_ALL_SERVICE_FUNCTIONS \
70
                           -DATOM_BIOS_PARSER=1
71
72
 
73
           $(ATOM_BIOS_PARSER_INCLUDES) $(ATOM_BIOS_DEFINES)\
74
           $(ATOM_BIOS_PARSER_DEFINES) $(DBG_DEFINES)
75
76
 
77
            $(patsubst %.c, %.obj, $(CORE_SRC))))
78
79
 
80
            $(patsubst %.c, %.obj, $(RHD_SRC))))
81
82
 
83
 
84
CORE = core.dll
85
86
 
87
88
 
89
 
90
	wmake -f rhd.mk
91
92
 
93
	ld $(LDCORE) -o $@ $(CORE_OBJS)
94
95
 
96
	$(CC) $(CFLAGS) $(DEFINES) -o $@ -c $<
97
98
 
99
	$(CC) $(CFLAGS) $(DEFINES) -o $@ -c $<
100
101
 
102
	$(CC) $(CFLAGS) $(DEFINES) -o $@ -c $<
103
104
 
105
	$(CC) $(CFLAGS) $(DEFINES) -o $@ -c $<
106
107
 
108
	$(CC) $(CFLAGS) $(DEFINES) -o $@ -c $<
109
110
 
111
	$(CC) $(CFLAGS) -masm=intel $(DEFINES) -o $@ -c $<
112
113
 
114
	as -o $@ $<
115
116