# Makefile.plg.in -- default rules for plugins		-*- makefile -*-
# 
#   Copyright (C) 1996-2004 by Ian Piumarta and other authors/contributors
#                              listed elsewhere in this file.
#   All rights reserved.
#   
#   This file is part of Unix Squeak.
# 
#   Permission is hereby granted, free of charge, to any person obtaining a copy
#   of this software and associated documentation files (the "Software"), to deal
#   in the Software without restriction, including without limitation the rights
#   to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
#   copies of the Software, and to permit persons to whom the Software is
#   furnished to do so, subject to the following conditions:
# 
#   The above copyright notice and this permission notice shall be included in
#   all copies or substantial portions of the Software.
# 
#   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
#   IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
#   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
#   AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
#   LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
#   OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
#   SOFTWARE.
# 
# Author: ian.piumarta@inria.fr
# 
# Last edited: 2006-10-18 10:13:37 by piumarta on emilia.local


# make.cfg.in -- mf fragment for configured variables		-*- makefile -*-
# 
#   Copyright (C) 1996-2004 by Ian Piumarta and other authors/contributors
#                              listed elsewhere in this file.
#   All rights reserved.
#   
#   This file is part of Unix Squeak.
# 
#   Permission is hereby granted, free of charge, to any person obtaining a copy
#   of this software and associated documentation files (the "Software"), to deal
#   in the Software without restriction, including without limitation the rights
#   to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
#   copies of the Software, and to permit persons to whom the Software is
#   furnished to do so, subject to the following conditions:
# 
#   The above copyright notice and this permission notice shall be included in
#   all copies or substantial portions of the Software.
# 
#   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
#   IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
#   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
#   AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
#   LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
#   OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
#   SOFTWARE.

# Author: Ian.Piumarta@inria.fr
# 
# Last edited: 2006-10-18 10:13:59 by piumarta on emilia.local

MAKEFLAGS=	--no-print-directory



VM_MAJOR=	3
VM_MINOR=	10
VM_RELEASE=	3
VM_VERSION=	3.10-3

SQ_MAJOR=	3
SQ_MINOR=	10
SQ_UPDATE=	7159
SQ_VERSION=	3.10-7159

DEVEL=		@DEVEL@

host=		i686-pc-linux-gnu
host_cpu=	i686
host_vendor=	pc
host_os=	linux-gnu

topdir=		/home/bryce/squeak/exupery
cfgdir=		/home/bryce/squeak/exupery/platforms/unix/config
srcdir=		/home/bryce/squeak/exupery/src
blddir=		/home/bryce/squeak/exupery/build

top_builddir=	/home/bryce/squeak/exupery/build

prefix=		/usr/local
exec_prefix=	${prefix}

bindir=		${exec_prefix}/bin
libdir=		${exec_prefix}/lib
datadir=	${prefix}/share
mandir=		${prefix}/share/man
imgdir=		${prefix}/lib/squeak
plgdir=		/usr/local/lib/squeak/3.10-3
docdir=		$(prefix)/doc/squeak

SHELL=		/bin/sh
MKINSTALLDIRS=	$(SHELL) $(cfgdir)/mkinstalldirs
INSTALL=	/usr/bin/install -c
INSTALL_PROG=	${INSTALL} $(INSTALL_ARGS)
INSTALL_DATA=	${INSTALL} -m 644 $(INSTALL_ARGS)
UNINSTALL=	$(SHELL) $(cfgdir)/uninstall
AS=		as
AWK=		gawk
RANLIB=		ranlib
LIBTOOL=	$(SHELL) $(top_builddir)/libtool
NM=		/usr/bin/nm -B
LN=		ln
LN_S=		ln -s

CC=		gcc
DEFS=		-DHAVE_CONFIG_H
INCLUDES=	-I/home/bryce/squeak/exupery/build -I/home/bryce/squeak/exupery/platforms/unix/vm -I/home/bryce/squeak/exupery/platforms/Cross/vm -I/home/bryce/squeak/exupery/src/vm
CPPFLAGS=	
CFLAGS=		 -g -O2 -fomit-frame-pointer -DLSB_FIRST=1
WFLAGS=		-Wall -Wno-unknown-pragmas
LDFLAGS=	 -Wl,--hash-style=sysv
SOFLAGS=	@SOFLAGS@
LIBM_CFLAGS=	-O -fomit-frame-pointer

LIBS=		-lutil -ldl -lm -lnsl 

X_CFLAGS=	 -g -O2 -fomit-frame-pointer -DLSB_FIRST=1
X_INCLUDES=	-I/home/bryce/squeak/exupery/build -I/home/bryce/squeak/exupery/platforms/unix/vm -I/home/bryce/squeak/exupery/platforms/Cross/vm -I/home/bryce/squeak/exupery/src/vm
X_LIBS=		-lXrender -lGL -lXext  -lSM -lICE   -ldl -lm -lnsl  -lX11

LIB_UUID=	-luuid

FFI_DIR=	/home/bryce/squeak/exupery/platforms/unix/plugins/SqueakFFIPrims
FFI_C=		x86-sysv
FFI_S=		x86-sysv-asm
FFI_O=		x86-sysv$o x86-sysv-asm$o

INTERP=		gnu-interp

VM_APP_ICONS=	

npsqueak=	npsqueak
install_nps=	install-npsqueak
uninstall_nps=	uninstall-npsqueak

# make.ext.in -- mf fragment for external plugins		-*- makefile -*-
# 
# Author: Ian.Piumarta@inria.fr
# 
# Last edited: 2003-08-07 09:09:59 by piumarta on emilia.inria.fr

o		= .lo
a		= .la
COMPILE		= $(LIBTOOL) --mode=compile \
		  $(CC) $(CFLAGS) $(XCFLAGS) $(DEFS) $(XDEFS) \
		  $(INCLUDES) $(XINCLUDES) $(CPPFLAGS) $(XCPPFLAGS) -c -o
LINK		= $(LIBTOOL) --mode=link \
		  $(CC) $(CFLAGS) $(XCFLAGS) \
		  $(LDFLAGS) $(XLDFLAGS) -avoid-version -module -rpath $(plgdir) -o
RANLIB		= :

XINCLUDES	=  -I/home/bryce/squeak/exupery/platforms/Cross/plugins/DropPlugin 
OBJS		=  DropPlugin$o sqUnixDragDrop$o
TARGET		= DropPlugin$a
PLIBS		= 


XCPPFLAGS=	-I$(topdir)/platforms/Cross/plugins/FilePlugin

$(TARGET) : $(OBJS) Makefile
	$(LINK) $(TARGET) $(OBJS) $(PLIBS)
	$(RANLIB) $(TARGET)




DropPlugin$o : /home/bryce/squeak/exupery/src/plugins/DropPlugin/DropPlugin.c
	$(COMPILE) DropPlugin$o /home/bryce/squeak/exupery/src/plugins/DropPlugin/DropPlugin.c

sqUnixDragDrop$o : /home/bryce/squeak/exupery/platforms/unix/plugins/DropPlugin/sqUnixDragDrop.c
	$(COMPILE) sqUnixDragDrop$o /home/bryce/squeak/exupery/platforms/unix/plugins/DropPlugin/sqUnixDragDrop.c

.force :
