# Makefile.in for MinGW port of GNU libc 'regex' functions. # Processed by 'configure' script, to generate 'Makefile'. # PACKAGE = @PACKAGE_TARNAME@ VERSION = @PACKAGE_VERSION@ # # Adaptation by Keith Marshall # from original 'Makefile' by Tor Lillqvist , # DLLVERSION = @DLLVERSION@ # # This is free software. It is provided AS IS, in the hope that it may # be useful, but WITHOUT WARRANTY OF ANY KIND, not even an IMPLIED WARRANTY # of MERCHANTABILITY, nor of FITNESS FOR ANY PARTICULAR PURPOSE. # # Source files accompanying this Makefile remain copyright of their # respective authors, or of the Free Software Foundation Inc., as stated # in individual file headers; all are redistributed with permission, as # granted by the GNU Lesser General Public License. # # Permission is granted to redistribute this software, either "as is" or # in modified form, under the terms of the GNU Lesser General Public License, # as published by the Free Software Foundation; either version 2.1, or (at # your option) any later version. # # You should have received a copy of the GNU Lesser General Public License # along with this software; see the file COPYING.LIB. If not, write to the # Free Software Foundation, 51 Franklin St - Fifth Floor, Boston, # MA 02110-1301, USA. VPATH = ${srcdir} srcdir = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ includedir = @includedir@ libdir = @libdir@ bindir = @bindir@ mandir = @mandir@ CC = @CC_QUALIFIED@ CFLAGS = @CFLAGS@ -I ${srcdir} LDFLAGS = @LDFLAGS@ SOURCES = $(wildcard ${srcdir}/*.c ${srcdir}/*.h) OBJECTS = regex.o MSVCLIB = lib BINDIST_FILES = libgnurx-$(DLLVERSION).dll DEVDIST_FILES = libgnurx.dll.a libregex.a @GNURX_LIB@ SRCDIST_FILES = ${srcdir}/configure ${srcdir}/configure.ac ${srcdir}/aclocal.m4 \ ${srcdir}/pkgid.m4 ${srcdir}/Makefile.in ${srcdir}/README ${srcdir}/COPYING.LIB \ $(SOURCES) $(wildcard ${srcdir}/*.[37]) ${srcdir}/ChangeLog ZIPCMD = @ZIPCMD@ ZIPEXT = @ZIPEXT@ all: libgnurx-$(DLLVERSION).dll libgnurx.dll.a libregex.a @GNURX_LIB@ Makefile: config.status Makefile.in ./config.status config.status: configure ./config.status --recheck $(OBJECTS): Makefile libgnurx-$(DLLVERSION).dll libgnurx.dll.a: $(OBJECTS) $(CC) $(CFLAGS) -shared -o libgnurx-$(DLLVERSION).dll $(LDFLAGS) $(OBJECTS) libregex.a: libgnurx.dll.a cp -p libgnurx.dll.a $@ gnurx.lib: libgnurx-$(DLLVERSION).dll $(MSVCLIB) -def:libgnurx.def -out:gnurx.lib install: install-dll @install_dev@ install-dll: mkdir -p ${bindir} cp -p $(BINDIST_FILES) ${bindir} install-dev: mkdir -p ${includedir} ${libdir} cp -p ${srcdir}/regex.h ${includedir} cp -p $(DEVDIST_FILES) ${libdir} for s in 3 7; do \ mkdir -p ${mandir}/man$$s; \ gzip -c ${srcdir}/regex.$$s > ${mandir}/man$$s/regex.$$s.gz; \ done dist: bindist devdist srcdist bindist: $(PACKAGE)-$(VERSION)-bin$(ZIPEXT) devdist: $(PACKAGE)-$(VERSION)-dev$(ZIPEXT) srcdist: $(PACKAGE)-$(VERSION)-src$(ZIPEXT) $(PACKAGE)-$(VERSION)-bin$(ZIPEXT): $(BINDIST_FILES) rm -rf tmp $(MAKE) prefix=`pwd`/tmp --no-print-directory install-dll cd tmp; $(ZIPCMD) ../$@ bin rm -rf tmp $(PACKAGE)-$(VERSION)-dev$(ZIPEXT): $(DEVDIST_FILES) rm -rf tmp $(MAKE) prefix=`pwd`/tmp --no-print-directory install-dev cd tmp; $(ZIPCMD) ../$@ . rm -rf tmp $(PACKAGE)-$(VERSION)-src$(ZIPEXT): $(SRCDIST_FILES) rm -rf $(PACKAGE)-$(VERSION) mkdir $(PACKAGE)-$(VERSION) cp -p $(SRCDIST_FILES) $(PACKAGE)-$(VERSION) $(ZIPCMD) $@ $(PACKAGE)-$(VERSION) rm -rf $(PACKAGE)-$(VERSION) clean: rm -f *~ *.o *.dll *.def *.exp *.lib *.a *.zip rm -rf runtime dev $(PACKAGE)-$(VERSION) distclean: clean rm -f Makefile config.status config.log rm -rf autom4te.cache # $RCSfile: Makefile.in,v $Revision: 1.4 $: end of file