Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.1
pdftk
Makefile.SUSE
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Makefile.SUSE of Package pdftk
# -*- Mode: Makefile -*- # Makefile.SUSE # Makefile for pdftk 1.44 on SUSE # brian@aljex.com # fastjar never has a suffix # libgcj suffix sometimes does not match g* binaries suffix # g* binaries sometimes must not have any suffix # un-hardcode /usr/share/java, see %_javadir in /usr/lib/rpm/macros # remove unrecognized "-Wextra" from *FLAGS # allow rpm to set CXXFLAGS from %optflags or %configure # allow GJAR to be overridden, ex: gjar-4.5 instead of fastjar etc # Backwards compatibility with generic pdftk build directions. # .spec file does not use VERSUFF, and it's not technically correct # for the older versions, although it works anyways. # It works on the new versions because the suffix in libgcj*.jar # and on g++/gcj/gcjh is the same. # It works on the old versions only because they happen to use gcjh 4.1 # or lower, which does not need libgcj*.jar in --classpath, and so you # can just set VERSUFF to match the executables (empty in all those cases), # and ignore the fact that this will set LIBGCJ wrong. # This allows the Makefile to be included in the upstream pdftk source, # and the generic manual build instructions should work for most versions of openSUSE. # The .spec however sets GXXV, JARV, _JAVADIR, and/or LIBGCJ explicitly as needed. # Here are the correct values to use for several versions of openSUSE: # 10.0 : make -f Makefile.SUSE # 10.1 : make -f Makefile.SUSE # 10.2 : make -f Makefile.SUSE # 10.3 : make -f Makefile.SUSE VERSUFF=-4.3 # 11.0 : make -f Makefile.SUSE VERSUFF=-4.3 # 11.1 : make -f Makefile.SUSE VERSUFF=-4.3 # 11.2 : make -f Makefile.SUSE VERSUFF=-4.4 # 11.3 : make -f Makefile.SUSE VERSUFF=-4.5 # 11.4 : make -f Makefile.SUSE VERSUFF=-4.5 ifdef VERSUFF GXXV := $(VERSUFF) export JARV := $(VERSUFF) endif export CXX := g++$(GXXV) export GCJ := gcj$(GXXV) export GCJH := gcjh$(GXXV) export GJAR ?= fastjar export AR = ar export RM = rm export ARFLAGS = rs export RMFLAGS = -vf # Allow .spec to supply "/usr/share/java" from rpm macro. # ( %_javadir = %{_datadir}/java ;%_datadir = %{_prefix}/share ;%_prefix = /usr ) export _JAVADIR ?= /usr/share/java # Allow .spec to supply entire path/filename for libgcj.jar export LIBGCJ ?= $(_JAVADIR)/libgcj$(JARV).jar # Allow .spec to supply CXXFLAGS from rpm macro (%optflags or %configure) export CXXFLAGS ?= -Wall -O2 export GCJFLAGS ?= -Wall -O2 export CPPFLAGS = -DPATH_DELIM=0x2f -DASK_ABOUT_WARNINGS=false -DUNBLOCK_SIGNALS -fdollars-in-identifiers export GCJHFLAGS = -force export LDLIBS = -lgcj include Makefile.Base
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor