1996-11-02 10:02:42 -08:00
|
|
|
|
# Makefile for regex.
|
|
|
|
|
#
|
|
|
|
|
# Copyright (C) 1992, 1993 Free Software Foundation, Inc.
|
|
|
|
|
#
|
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
|
# the Free Software Foundation; either version 2, or (at your option)
|
|
|
|
|
# any later version.
|
|
|
|
|
#
|
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
|
#
|
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
|
# along with this program; if not, write to the Free Software
|
|
|
|
|
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
|
|
|
|
|
|
version = 0.12
|
|
|
|
|
|
|
|
|
|
# You can define CPPFLAGS on the command line. Aside from system-specific
|
|
|
|
|
# flags, you can define:
|
|
|
|
|
# -d DEBUG to enable the compiled pattern disassembler and execution
|
|
|
|
|
# tracing; code runs substantially slower.
|
|
|
|
|
# -d EXTRACT_MACROS to use the macros EXTRACT_* (as opposed to
|
|
|
|
|
# the corresponding C procedures). If not -d DEBUG, the macros
|
|
|
|
|
# are used.
|
|
|
|
|
CPPFLAGS =
|
|
|
|
|
|
|
|
|
|
C = sc
|
2000-04-07 09:15:34 -07:00
|
|
|
|
COptions = -model far -w 29,35 {cdbgflag}
|
1996-11-02 10:02:42 -08:00
|
|
|
|
|
|
|
|
|
PPCC = mrc
|
2000-04-07 09:15:34 -07:00
|
|
|
|
PPCCOptions = -w 29,35 {cdbgflag}
|
1996-11-02 10:02:42 -08:00
|
|
|
|
|
|
|
|
|
DEFS = -d STDC_HEADERS -d STRING_H -d REGEX_MALLOC
|
|
|
|
|
|
|
|
|
|
default all <EFBFBD> regex.c.o regex.c.x
|
|
|
|
|
|
|
|
|
|
regex.c.o <EFBFBD> regex.c regex.h
|
|
|
|
|
{C} {COptions} {CPPFLAGS} {DEFS} regex.c -o regex.c.o
|
|
|
|
|
|
|
|
|
|
regex.c.x <EFBFBD> regex.c regex.h
|
|
|
|
|
{PPCC} {PPCCOptions} {CPPFLAGS} {DEFS} regex.c -o regex.c.x
|
|
|
|
|
|
|
|
|
|
clean mostlyclean <EFBFBD>
|
|
|
|
|
delete -i regex.c.o regex.c.x
|
|
|
|
|
|
|
|
|
|
distclean <EFBFBD> clean
|
|
|
|
|
|
|
|
|
|
extraclean <EFBFBD> distclean
|