Sync usage with man page.
[netbsd-mini2440.git] / gnu / lib / libgcc4 / libgcc_eh / Makefile
blob9fc647eba5114cbba4ec399d2112083236627f0e
1 # $NetBSD$
3 REQUIRETOOLS= yes
4 NOLINT= # defined
6 LIB= gcc_eh
8 .include <bsd.own.mk>
10 .if ${MKGCC} != "no"
12 .cc: # disable .cc->NULL transform
14 .if !defined(MKNATIVE_LIBGCC_NEW)
16 SRCS+= ${LIB2_EH}
17 COPTS.unwind-dw2.c = -Wno-stack-protector
19 .else # defined(MKNATIVE_LIBGCC_NEW)
21 .include "../Makefile.srcs"
23 # New style.
24 TMPLSRCS= ${TMPLSRCS.libgcc_eh.a}
25 TMPLFPSRCS= ${TMPLFPSRCS.libgcc_eh.a}
26 TMPLASMSRCS= ${TMPLASMSRCS.libgcc_eh.a}
27 SRCS= ${SRCS.libgcc_eh.a}
29 .include "../Makefile.wrapper"
31 .endif # defined(MKNATIVE_LIBGCC_NEW)
33 .include <bsd.lib.mk>
35 .else
36 .include <bsd.prog.mk> # do nothing
37 .endif