3762
|
1 diff -urN epstool-3.08.orig/makefile epstool-3.08/makefile |
|
2 --- epstool-3.08.orig/makefile 2015-01-05 19:01:34.000000000 -0500 |
|
3 +++ epstool-3.08/makefile 2015-01-05 19:54:45.000000000 -0500 |
|
4 @@ -34,10 +34,12 @@ |
|
5 |
|
6 LONGFILEDEF= |
|
7 LONGFILEMOD=cfile |
|
8 +WGSVERMOD=wgsver |
|
9 |
|
10 -include $(SRCDIR)/unixcom.mak |
|
11 +#include $(SRCDIR)/unixcom.mak |
|
12 +include $(SRCDIR)/mingwcom.mak |
|
13 |
|
14 -EPSOBJPLAT=$(OD)xnodll$(OBJ) $(OD)$(LONGFILEMOD)$(OBJ) |
|
15 +EPSOBJPLAT=$(OD)xnodll$(OBJ) $(OD)$(LONGFILEMOD)$(OBJ) $(OD)$(WGSVERMOD)$(OBJ) |
|
16 EPSLIB=$(LIBPNGLIBS) |
|
17 |
|
18 BEGIN=$(OD)lib.rsp |
|
19 @@ -45,7 +47,7 @@ |
|
20 |
|
21 include $(SRCDIR)/common.mak |
|
22 |
|
23 -EPSTOOL_ROOT=/usr/local |
|
24 +EPSTOOL_ROOT=/ |
|
25 EPSTOOL_BASE=$(prefix)$(EPSTOOL_ROOT) |
|
26 EPSTOOL_DOCDIR=$(EPSTOOL_BASE)/share/doc/epstool-$(EPSTOOL_VERSION) |
|
27 EPSTOOL_MANDIR=$(EPSTOOL_BASE)/man |
|
28 diff -urN epstool-3.08.orig/src/mingwcom.mak epstool-3.08/src/mingwcom.mak |
|
29 --- epstool-3.08.orig/src/mingwcom.mak 1969-12-31 19:00:00.000000000 -0500 |
|
30 +++ epstool-3.08/src/mingwcom.mak 2015-01-05 20:00:18.000000000 -0500 |
|
31 @@ -0,0 +1,61 @@ |
|
32 +# Copyright (C) 2002-2005 Ghostgum Software Pty Ltd. All rights reserved. |
|
33 +# |
|
34 +# This software is provided AS-IS with no warranty, either express or |
|
35 +# implied. |
|
36 +# |
|
37 +# This software is distributed under licence and may not be copied, |
|
38 +# modified or distributed except as expressly authorised under the terms |
|
39 +# of the licence contained in the file LICENCE in this distribution. |
|
40 +# |
|
41 +# For more information about licensing, please refer to |
|
42 +# http://www.ghostgum.com.au/ or contact Ghostsgum Software Pty Ltd, |
|
43 +# 218 Gallaghers Rd, Glen Waverley VIC 3150, AUSTRALIA, |
|
44 +# Fax +61 3 9886 6616. |
|
45 +# |
|
46 + |
|
47 +# $Id: unixcom.mak,v 1.2 2005/01/11 11:40:19 ghostgum Exp $ |
|
48 +# Unix mingw makefile |
|
49 + |
|
50 + |
|
51 +INSTALL=install -m 644 |
|
52 +INSTALL_EXE=install -m 755 |
|
53 + |
|
54 +MAKE=make |
|
55 +CDEFS=-DNONAG $(LONGFILEDEF) |
|
56 +GSCDEBUG= -g |
|
57 +GSCFLAGS= $(CDEFS) -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -fno-builtin -fno-common -Wcast-qual -Wwrite-strings $(CDEBUG) $(GSCDEBUG) $(RPM_OPT_FLAGS) $(XINCLUDE) $(PFLAGS) $(LIBPNGCFLAGS) $(GTKCFLAGS) -I$(SRCWIN) |
|
58 +CCAUX=$(TOOL_PREFIX)gcc |
|
59 +CC=$(TOOL_PREFIX)gcc |
|
60 +LFLAGS=$(PLINK) $(LIBPNGLIBS) $(GTKLIBS) |
|
61 +CLINK=$(CC) $(LDFLAGS) |
|
62 +LINK=$(CC) $(LDFLAGS) |
|
63 + |
|
64 + |
|
65 +COMP=$(CC) -I$(SRCDIR) -I$(OBJDIR) $(CFLAGS) $(GSCFLAGS) |
|
66 + |
|
67 + |
|
68 +NUL= |
|
69 +DD=/$(NUL) |
|
70 +SRC=$(SRCDIR)/$(NUL) |
|
71 +SRCWIN=$(SRCWINDIR)/$(NUL) |
|
72 +OD=$(OBJDIR)/$(NUL) |
|
73 +BD=$(BINDIR)/$(NUL) |
|
74 +OBJ=.o |
|
75 +EXE=.exe |
|
76 +CO=-c |
|
77 + |
|
78 +FE=-o $(NUL) |
|
79 +FO=-o $(NUL) |
|
80 +FEO=-o $(OD) |
|
81 +FOO=-o $(OD) |
|
82 + |
|
83 +CP=cp -f |
|
84 +RM=rm -f |
|
85 +RMDIR=rm -rf |
|
86 + |
|
87 +default: $(BD)epstool$(EXE) |
|
88 + |
|
89 +$(OD)wgsver$(OBJ): $(SRCWIN)wgsver.c $(common_h) $(cdll_h) |
|
90 + $(COMP) $(FOO)wgsver$(OBJ) $(CO) $(SRCWIN)wgsver.c |
|
91 + |
|
92 + |