Subversion Repositories Kolibri OS

Rev

Rev 5199 | Rev 8351 | 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
 
6324 serge 9
DEFINES+= -DHAVE_elf32_le_vec -DHAVE_elf32_be_vec
10
DEFINES+= -DBINDIR="/home/autobuild/tools/win32/bin"
11
TDEFS=    -DDEFAULT_VECTOR=i386_pe_vec "-DSELECT_VECS=&i386_pe_vec,&i386_pei_vec,&i386_elf32_vec,&elf32_le_vec,&elf32_be_vec"
12
TDEFS+=   "-DSELECT_ARCHITECTURES=&bfd_i386_arch"
13
SRCS = \
5197 serge 14
	archive.c archures.c bfd.c bfdio.c	\
15
	binary.c cache.c coff-bfd.c coffgen.c cofflink.c	\
6324 serge 16
	compress.c corefile.c cpu-i386.c	\
5197 serge 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