Subversion Repositories Kolibri OS

Rev

Rev 5197 | Rev 6324 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5197 serge 1
 
2
CFLAGS_OPT+= -fomit-frame-pointer -fno-ident -mno-ms-bitfields
3
CFLAGS_OPT+= -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wno-format -Werror
4
CFLAGS   = -c $(CFLAGS_OPT)
5
6
 
7
8
 
9
DEFINES+= -DHAVE_bfd_elf32_big_generic_vec -DBINDIR="/home/autobuild/tools/win32/bin"
10
TDEFS=    -DDEFAULT_VECTOR=i386pe_vec "-DSELECT_VECS=&i386pe_vec,&i386pei_vec,&bfd_elf32_i386_vec,&bfd_elf32_little_generic_vec,&bfd_elf32_big_generic_vec"
5199 serge 11
TDEFS+=   "-DSELECT_ARCHITECTURES=&bfd_i386_arch"
12
5197 serge 13
 
14
	archive.c archures.c bfd.c bfdio.c	\
15
	binary.c cache.c coffgen.c cofflink.c	\
16
	compress.c corefile.c cpu-i386.c	\
17
	dwarf1.c dwarf2.c elf.c	elf32.c		\
18
	elf32-gen.c elf32-i386.c elf-attrs.c	\
19
	elf-eh-frame.c elf-ifunc.c elflink.c	\
20
	elf-nacl.c elf-strtab.c elf-vxworks.c	\
21
	format.c hash.c ihex.c init.c libbfd.c	\
22
	linker.c merge.c opncls.c pe-i386.c	\
23
	peigen.c pei-i386.c reloc.c section.c	\
5199 serge 24
	simple.c srec.c stabs.c stab-syms.c	\
25
	syms.c targets.c tekhex.c verilog.c
26
5197 serge 27
 
28
 
29
30
 
31
32
 
33
34
 
35
	$(AR) crs libbfd.a $(OBJS)
36
	mv -f libbfd.a $(SDK_DIR)/lib
5199 serge 37
5197 serge 38
 
39
	$(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -o $@ $<
40
41
 
42
	$(CC) $(CFLAGS) $(DEFINES) -DDEBUGDIR='"/home/autobuild/tools/win32/lib/debug\"' $(INCLUDES) -o $@ $<
5199 serge 43
5197 serge 44
 
45
 
5199 serge 46
	$(CC) $(CFLAGS) $(DEFINES) $(TDEFS) $(INCLUDES) -o $@ $<
47
48
 
49
	$(CC) $(CFLAGS) $(DEFINES) $(TDEFS) $(INCLUDES) -o $@ $<
50
5197 serge 51