Sha256: 4ef853f00af2767a22e79654166ebf779757a45c137c69bfe699e6f01b5ece2a

Contents?: true

Size: 1.6 KB

Versions: 2

Compression:

Stored size: 1.6 KB

Contents

#========================================================================
#
# Goo library Makefile
#
# Copyright 1996-2003 Glyph & Cog, LLC
#
#========================================================================

SHELL = /bin/sh

srcdir = .


CFLAGS = -g -O2 -DHAVE_CONFIG_H -I.. -I$(srcdir)
CXXFLAGS = -I/usr/local/include -g -O2 -DHAVE_CONFIG_H -I.. -I$(srcdir)

CC = gcc
CXX = g++
AR = ar rc
RANLIB = ranlib

LIBPREFIX = lib

#------------------------------------------------------------------------

.SUFFIXES: .cc

.cc.o:
	$(CXX) $(CXXFLAGS) -c $<

#------------------------------------------------------------------------

CXX_SRC = \
	$(srcdir)/GHash.cc \
	$(srcdir)/GList.cc \
	$(srcdir)/GString.cc \
	$(srcdir)/gmem.cc \
	$(srcdir)/gmempp.cc \
	$(srcdir)/gfile.cc \
	$(srcdir)/FixedPoint.cc

C_SRC = \
	$(srcdir)/parseargs.c

#------------------------------------------------------------------------

all: $(LIBPREFIX)Goo.a

#------------------------------------------------------------------------

GOO_CXX_OBJS = GHash.o GList.o GString.o gmem.o gmempp.o gfile.o FixedPoint.o
GOO_C_OBJS = parseargs.o
GOO_OBJS = $(GOO_CXX_OBJS) $(GOO_C_OBJS)
GOO_WINOBJS = libGoo.lib

$(LIBPREFIX)Goo.a: $(GOO_OBJS)
	rm -f $(LIBPREFIX)Goo.a
	$(AR) $(LIBPREFIX)Goo.a $(GOO_OBJS)
	$(RANLIB) $(LIBPREFIX)Goo.a

#------------------------------------------------------------------------

clean:
	rm -f $(GOO_OBJS) $(LIBPREFIX)Goo.a $(GOO_WINOBJS)

#------------------------------------------------------------------------

depend:
	$(CXX) $(CXXFLAGS) -MM $(CXX_SRC) >Makefile.dep
	$(CC) $(CFLAGS) -MM $(C_SRC) >>Makefile.dep

include Makefile.dep

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pdf2json-0.2.0 pdf2json-0.52-source/goo/Makefile
pdf2json-0.1.0 pdf2json-0.52-source/goo/Makefile