"Fossies" - the Fresh Open Source Software Archive 
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Make source code syntax highlighting (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
1 # Copyright (C) 2005 Ghostgum Software Pty Ltd. All rights reserved.
2 #
3 # This software is provided AS-IS with no warranty, either express or
4 # implied.
5 #
6 # This software is distributed under licence and may not be copied,
7 # modified or distributed except as expressly authorised under the terms
8 # of the licence contained in the file LICENCE in this distribution.
9 #
10 # For more information about licensing, please refer to
11 # http://www.ghostgum.com.au/ or contact Ghostsgum Software Pty Ltd,
12 # 218 Gallaghers Rd, Glen Waverley VIC 3150, AUSTRALIA,
13 # Fax +61 3 9886 6616.
14 #
15
16 # $Id: os2.mak,v 1.1 2005/06/09 23:02:02 ghostgum Exp $
17 # Make epstool for OS/2
18
19 BINDIR=bin
20 OBJDIR=epsobj
21 SRCDIR=src
22 SRCWINDIR=srcwin
23
24 XINCLUDE=
25 PFLAGS=
26 PLINK=
27
28 GTKCFLAGS=
29 GTKLIBS=
30
31 LIBPNGINC=
32 LIBPNGCFLAGS=
33 LIBPNGLIBS=
34
35 LONGFILEDEF=
36 LONGFILEMOD=cfile
37
38 INSTALL=copy
39 INSTALL_EXE=copy
40
41 MAKE=nmake
42 EMXOMF=-Zomf -Zmts
43 CDEFS=-DOS2 -DNONAG $(LONGFILEDEF)
44 GSCDEBUG= -g
45 GSCFLAGS= $(CDEFS) $(EMXOMF) -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -fno-builtin -fno-common -Wcast-qual -Wwrite-strings $(CDEBUG) $(GSCDEBUG) $(RPM_OPT_FLAGS) $(XINCLUDE) $(PFLAGS) $(LIBPNGCFLAGS) $(GTKCFLAGS)
46 CCAUX=gcc
47 CC=gcc
48 LFLAGS=$(PLINK) $(LIBPNGLIBS) $(GTKLIBS)
49 CLINK=gcc $(LDFLAGS) $(EMXOMF)
50 LINK=gcc $(LDFLAGS) $(EMXOMF)
51
52 COMP=$(CC) -I$(SRCDIR) -I$(OBJDIR) $(CFLAGS) $(GSCFLAGS)
53
54 NUL=
55 DD=\$(NUL)
56 SRC=$(SRCDIR)\$(NUL)
57 SRCWIN=$(SRCWINDIR)\$(NUL)
58 OD=$(OBJDIR)\$(NUL)
59 BD=$(BINDIR)\$(NUL)
60 OBJ=.obj
61 #OBJ=.o
62 EXE=.exe
63 CO=-c
64
65 FE=-o $(NUL)
66 FO=-o $(NUL)
67 FEO=-o $(OD)
68 FOO=-o $(OD)
69
70 CP=cp -f
71 RM=rm -f
72 RMDIR=rm -rf
73
74 EPSOBJPLAT=$(OD)xnodll$(OBJ) $(OD)$(LONGFILEMOD)$(OBJ)
75 EPSLIB=$(LIBPNGLIBS)
76
77 BEGIN=$(OD)lib.rsp
78 TARGET=epstool
79
80 !include $(SRCDIR)/common.mak
81
82 EPSTOOL_ROOT=/usr/local
83 EPSTOOL_BASE=$(prefix)$(EPSTOOL_ROOT)
84 EPSTOOL_DOCDIR=$(EPSTOOL_BASE)/share/doc/epstool-$(EPSTOOL_VERSION)
85 EPSTOOL_MANDIR=$(EPSTOOL_BASE)/man
86 EPSTOOL_BINDIR=$(EPSTOOL_BASE)/bin
87
88 epstool: $(BD)epstool$(EXE)
89
90 epstest: epstool $(BD)epstest$(EXE)
91 $(BD)epstest$(EXE)
92
93 $(OD)lib.rsp: makefile
94 -mkdir $(BINDIR)
95 -mkdir $(OBJDIR)
96 echo "dummy" > $(OD)lib.rsp
97
98 install: $(TARGET)
99 -mkdir -p $(EPSTOOL_BASE)
100 chmod a+rx $(EPSTOOL_BASE)
101 -mkdir -p $(EPSTOOL_BINDIR)
102 chmod a+rx $(EPSTOOL_BINDIR)
103 $(INSTALL_EXE) $(BD)epstool$(EXE) $(EPSTOOL_BINDIR)$(DD)epstool$(EXE)
104 -strip $(EPSTOOL_BINDIR)$(DD)epstool$(EXE)
105 -mkdir -p $(EPSTOOL_MANDIR)
106 chmod a+rx $(EPSTOOL_MANDIR)
107 -mkdir -p $(EPSTOOL_MANDIR)$(DD)man1
108 chmod a+rx $(EPSTOOL_MANDIR)$(DD)man1
109 $(INSTALL) doc$(DD)epstool.1 $(EPSTOOL_MANDIR)$(DD)man1$(DD)epstool.1
110 -mkdir -p $(EPSTOOL_DOCDIR)
111 chmod a+rx $(EPSTOOL_DOCDIR)
112 $(INSTALL) doc$(DD)epstool.htm $(EPSTOOL_DOCDIR)$(DD)epstool.htm
113 $(INSTALL) doc$(DD)gsview.css $(EPSTOOL_DOCDIR)$(DD)gsview.css
114 $(INSTALL) LICENCE $(EPSTOOL_DOCDIR)$(DD)LICENCE
115
116
117
118 clean:
119 -$(RM) $(EPSOBJS)
120 -$(RM) $(EPSTESTOBJS)
121 -$(RM) $(OD)lib.rsp
122 -$(RM) $(BD)epstool$(EXE)
123 -$(RM) $(BD)epstest$(EXE)
124 -rmdir $(OBJDIR)
125