"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Makefile.win32" between
pacparser-1.3.8.tar.gz and pacparser-1.3.9.tar.gz

About: pacparser is a library to parse Proxy Auto-Config (PAC) files (incl. a pactester).

Makefile.win32  (pacparser-1.3.8):Makefile.win32  (pacparser-1.3.9)
# Copyright (C) 2007 Manu Garg. # Copyright (C) 2007-2022 Manu Garg.
# Author: Manu Garg <manugarg@gmail.com> # Author: Manu Garg <manugarg@gmail.com>
# #
# Makefile for pacparser. Please read README file included with this package # Makefile for pacparser. Please read README file included with this package
# for more information about pacparser. # for more information about pacparser.
# #
# pacparser is free software; you can redistribute it and/or # pacparser is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public # modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either # License as published by the Free Software Foundation; either
# version 3 of the License, or (at your option) any later version. # version 3 of the License, or (at your option) any later version.
skipping to change at line 39 skipping to change at line 39
SHELL := $(ComSpec) SHELL := $(ComSpec)
endif endif
ifdef COMSPEC ifdef COMSPEC
SHELL := $(COMSPEC) SHELL := $(COMSPEC)
endif endif
else else
RM = rm -rf RM = rm -rf
CP = cp -f CP = cp -f
endif endif
VERSION ?= $(shell git describe --always --tags --candidate=100)
LIB_VER=1 LIB_VER=1
CFLAGS=-g -DXP_WIN -DWINVER=0x0501 -DVERSION=$(VERSION) -Ispidermonkey/js/src -W all CFLAGS=-g -DXP_WIN -DWINVER=0x0501 -DVERSION=$(VERSION) -Ispidermonkey/js/src -W all
CC=gcc CC=gcc
PYTHON:=python PYTHON ?= python
.PHONY: clean pymod install-pymod .PHONY: clean pymod install-pymod
all: pacparser.dll pactester all: pacparser.dll pactester
pacparser.o: pacparser.c pac_utils.h js.lib pacparser.o: pacparser.c pac_utils.h js.lib
$(CC) $(CFLAGS) -c pacparser.c -o pacparser.o $(CC) $(CFLAGS) -c pacparser.c -o pacparser.o
js.lib: js.lib:
$(MAKE) -C spidermonkey -f Makefile.win32 $(MAKE) -C spidermonkey -f Makefile.win32
skipping to change at line 64 skipping to change at line 66
pacparser.dll: pacparser.o spidermonkey/js.lib pacparser.dll: pacparser.o spidermonkey/js.lib
$(CC) -shared -o pacparser.dll \ $(CC) -shared -o pacparser.dll \
-Wl,--output-def,pacparser.def \ -Wl,--output-def,pacparser.def \
-Wl,--out-implib,libpacparser.a \ -Wl,--out-implib,libpacparser.a \
-Wl,--export-all-symbols \ -Wl,--export-all-symbols \
pacparser.o -ljs -Lspidermonkey -lws2_32 pacparser.o -ljs -Lspidermonkey -lws2_32
pacparser.lib: pacparser.dll pacparser.def pacparser.lib: pacparser.dll pacparser.def
lib /machine:i386 /def:pacparser.def lib /machine:i386 /def:pacparser.def
pactester: pactester.c pacparser.h pacparser.dll pactester: pactester.c pacparser.h pacparser.o
$(CC) pactester.c -o pactester -lpacparser -L. -I. $(CC) pactester.c pacparser.o -o pactester -ljs -Lspidermonkey -lws2_32
dist: pacparser.dll pactester pacparser.lib dist: pacparser.dll pactester pacparser.def
if exist dist rmdir /s /q dist if exist dist rmdir /s /q dist
mkdir dist mkdir dist
copy pacparser.dll dist $(CP) pacparser.dll dist
copy pacparser.h dist $(CP) pacparser.h dist
copy pactester.exe dist $(CP) pactester.exe dist
$(CP) pacparser.lib dist $(CP) pacparser.def dist
if exist pacparser.lib $(CP) pacparser.lib dist
$(CP) ..\README.md dist\README.txt $(CP) ..\README.md dist\README.txt
$(CP) ..\COPYING dist\COPYING.txt $(CP) ..\COPYING dist\COPYING.txt
$(CP) ..\INSTALL dist\INSTALL.txt $(CP) ..\INSTALL dist\INSTALL.txt
mkdir dist\docs mkdir dist\docs
$(CP) ..\README.win32 dist\docs $(CP) ..\README.win32.md dist\docs
if exist ..\docs\html xcopy ..\docs\html dist\docs if exist ..\docs\html xcopy ..\docs\html dist\docs
# Targets to build python module # Targets to build python module
pymod: pacparser.h pacparser.dll pacparser.o js.lib pymod: pacparser.h pacparser.dll pacparser.o js.lib
cd pymod && $(PYTHON) setup.py build --compiler=mingw32 cd pymod && $(PYTHON) setup.py build --compiler=mingw32
cd .. && $(PYTHON) tests/runtests.py cd .. && $(PYTHON) tests/runtests.py
pymod37: pacparser.h pacparser.dll pymod-dist: pacparser.h pacparser.dll pacparser.o js.lib
cd pymod && py -3.7 setup.py build --compiler=mingw32 cd pymod && $(PYTHON) setup.py build --compiler=mingw32 && $(PYTHON) setu
cd .. && py -3.7 tests\runtests.py p.py dist
cd .. && $(PYTHON) tests/runtests.py
pymod38: pacparser.h pacparser.dll
cd pymod && py -3.8 setup.py build --compiler=mingw32 pymod-%: pacparser.h pacparser.dll pacparser.o js.lib
cd .. && py -3.8 tests\runtests.py cd pymod && py -$* setup.py build --compiler=mingw32
cd .. && py -$* tests\runtests.py
pymod39: pacparser.h pacparser.dll
cd pymod && py -3.9 setup.py build --compiler=mingw32 pymod-dist-%:
cd .. && py -3.9 tests\runtests.py cd pymod && py -$* setup.py dist
pymod310: pacparser.h pacparser.dll
cd pymod && py -3.10 setup.py build --compiler=mingw32
cd .. && py -3.10 tests\runtests.py
clean: clean:
$(RM) pacparser.dll *.lib pacparser.def pacparser.exp pacparser.o pactest er.exe libpacparser.a $(RM) pacparser.dll *.lib pacparser.def pacparser.exp pacparser.o pactest er.exe libpacparser.a
$(MAKE) -C spidermonkey -f Makefile.win32 clean $(MAKE) -C spidermonkey -f Makefile.win32 clean
cd pymod && $(PYTHON) setup.py clean --all cd pymod && $(PYTHON) setup.py clean --all
$(RM) dist $(RM) dist
 End of changes. 8 change blocks. 
25 lines changed or deleted 24 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)