prefix = @prefix@
includedir = @includedir@
exec_prefix = @exec_prefix@
libdir = @libdir@
bindir = @bindir@
datadir = @datadir@
swarmdatadir = $(datadir)/swarm
sysconfdir = @sysconfdir@
swarmsysconfdir = $(sysconfdir)/swarm

swarm_prefix=@swarm_prefix@
swarm_exec_prefix=@swarm_exec_prefix@
swarm_libdir=@swarm_libdir@

xpmlibdir = @xpmlibdir@
bltlibdir = @bltlibdir@
ffilibdir = @ffilibdir@
zliblibdir = @zliblibdir@
pnglibdir = @pnglibdir@
hdf5libdir = @hdf5libdir@

LIBOBJCDIR = @LIBOBJCDIR@

CC = @CC@
CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@
EXPORT_EXTERN = @EXPORT_EXTERN@
IMPORT_EXTERN = @IMPORT_EXTERN@
SED = @SED@

OBJC=@OBJC@
OBJCFLAGS=@OBJCFLAGS@ $(EXTRAOBJCFLAGS)

GNUSTEPLIBINCLUDES = @GNUSTEPLIBINCLUDES@
GNUSTEPLIBLDFLAGS = @GNUSTEPLIBLDFLAGS@
GNUSTEPLIBLIBS = @GNUSTEPLIBLIBS@

SWARMINCLUDES = -I$(includedir)

SWARMLDFLAGS = @SWARMLDFLAGS@ @NESTLDFLAGS@
XPMLDFLAGS = @XPMLDFLAGS@
TCLLDFLAGS = @TCLLDFLAGS@
TKLDFLAGS = @TKLDFLAGS@
BLTLDFLAGS = @BLTLDFLAGS@
FFILDFLAGS = @FFILDFLAGS@
PNGLDFLAGS = @PNGLDFLAGS@
ZLIBLDFLAGS = @ZLIBLDFLAGS@
HDF5LDFLAGS = @HDF5LDFLAGS@

ifeq ($(USE_EXTRALDFLAGS),)
EXTRALDFLAGS =
else
EXTRALDFLAGS = @EXTRALDFLAGS@
endif

INSTALL = @INSTALL@
INSTALL_PROGRAM = @SWARM_INSTALL_PROGRAM@
INSTALL_DATA = @SWARM_INSTALL_DATA_@

XPMLIB = @XPMLIB@
TCLLIB = @TCLLIB@
TKLIB = @TKLIB@
BLTLIB = @BLTLIB@
FFILIB = @FFILIB@
HDF5LIB = @HDF5LIB@

PNGLIB = @PNGLIB@
ZLIBLIB = @ZLIBLIB@

X_LIBS = @X_LIBS@
GUILIBS = @GUILIBS@

DLLIB = @DLLIB@

SUPPORTLDFLAGS = $(HDF5LDFLAGS) $(FFILDFLAGS) $(PNGLDFLAGS) $(ZLIBLDFLAGS) $(BLTLDFLAGS) $(TCLLDFLAGS) $(XPMLDFLAGS) $(TKLDFLAGS) $(X_LIBS)

SYSLIBS = $(BLTLIB) $(TKLIB) $(TCLLIB) $(XPMLIB) $(PNGLIB) $(HDF5LIB) $(ZLIBLIB) $(GUILIBS) -lm $(DLLIB)

SWARMMODULES = $(shell cat $(top_builddir)/etc/modules)

USEDLL=@USEDLL@
ONELIB=@ONELIB@

ifeq ($(USEDLL),yes) 
	ifneq ($(USESTATIC),)
		DLLCPPFLAGS = -DDLL
	endif
	SWARMLIBS = -lswarm
	OBJCLIBS = 
else
	ifeq ($(ONELIB),yes)
		SWARMLIBS = -lswarm
		OBJCLIBS =
	else
		SWARMLIBS = -lswarm
                ifeq ($(LIBOBJCDIR),libobjc)
		  OBJCLIBS = -lswarmobjc
                endif
	endif
endif

# Local variables:
# mode: makefile
# End:
