mirror of
https://github.com/opnsense/src.git
synced 2026-03-21 18:30:08 -04:00
makefiles to the centralized makefile. This not only reduces duplication, it also makes the MD quirks stand out better and thus improves maintenance.
16 lines
398 B
Makefile
16 lines
398 B
Makefile
# $FreeBSD$
|
|
|
|
DEFAULT_VECTOR= bfd_elf32_i386_freebsd_vec
|
|
|
|
SRCS+= cpu-i386.c elf32-i386.c elf32-target.h elf32.c elflink.c
|
|
VECS= ${DEFAULT_VECTOR} bfd_elf32_i386_vec
|
|
.if ${TARGET_ARCH} == "i386"
|
|
CFLAGS+= -DDEFAULT_VECTOR=${DEFAULT_VECTOR}
|
|
.endif
|
|
|
|
.if defined(BINUTILSDISTDIR) && exists(${BINUTILSDISTDIR})
|
|
SRCS+= pe-i386.c pei-i386.c
|
|
VECS+= i386pe_vec i386pei_vec
|
|
.endif
|
|
|
|
CLEANFILES+= elf32-target.h
|