Loading...
regex/Makefile.inc /dev/null Libc-498
--- /dev/null
+++ Libc/Libc-498/regex/Makefile.inc
@@ -0,0 +1,30 @@
+#	from @(#)Makefile.inc	8.1 (Berkeley) 6/4/93
+# $FreeBSD: src/lib/libc/regex/Makefile.inc,v 1.6 2001/03/27 17:26:51 ru Exp $
+
+# regex sources
+.PATH: ${.CURDIR}/regex
+
+.include "Makefile.fbsd_begin"
+FBSDMISRCS= regcomp.c regerror.c regexec.c regfree.c
+CFLAGS-regcomp-fbsd.c+= -DPOSIX_MISTAKE
+FBSDHDRS= cclass.h cname.h engine.c regex2.h utils.h
+.include "Makefile.fbsd_end"
+
+LEGACYSRCS += regcomp.c
+
+# set the LIBC_ALIAS_* macros so we can decorate the symbol independent
+# of other macro settings
+CFLAGS-regcomp-fbsd.c += -DLIBC_ALIAS_REGCOMP
+
+.if ${LIB} == "c"
+.include "Makefile.fbsd_begin"
+FBSDMAN3= regex.3
+FBSDMAN7= re_format.7
+.include "Makefile.fbsd_end"
+
+MLINKS+= regex.3 regcomp.3		\
+         regex.3 regexec.3		\
+         regex.3 regerror.3
+
+MLINKS+= regexec.3 regfree.3
+.endif