# Generated automatically from Makefile.in by configure.
# Makefile.in
#
# Copyright (C) 2001 QT4Linux and OpenQuicktime Teams
# File used to build a Makefile with the autoconf utility
# Used to configure the OpenQuicktime library
#
# This file is part of OpenQuicktime, a free QuickTime library.
#
# OpenQuicktime is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
# 
# Antoine Mine' 2001

# flags
CFLAGS=-I/users/absint/mine/solaris/lib/glib/include -I/users/absint/mine/solaris/include -KPIC -mt -I/users/absint/mine/solaris/include -xCC -xO4 -fsimple=2 -dalign -fsingle -xlibmil -DHAVE_CONFIG_H  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I. -DBUILDDATE="\"Thu Jul 26 16:50:48 MEST 2001\""
LDFLAGS= -L/users/absint/mine/solaris/lib
SHARED=-G

OBJS= codec_jpeg.o


# libs
LIBS= -ljpeg -ldl -lz -L/users/absint/mine/solaris/lib -lglib  -lm

# compilation
CC=cc



# install
prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
bindir=${exec_prefix}/bin

# implicit rules

%.o: %.c
	$(CC) $(CFLAGS) -I../.. -I. -c $< -o $@


all: quicktime_codec_jpeg.so

clean:
	rm -f $(OBJS)
	rm -f quicktime_codec_jpeg.so

dep:
	@makedepend *.c *.h >/dev/null 2>&1


install: all
	-cp -f  quicktime_codec_jpeg.so $(libdir)


quicktime_codec_jpeg.so: $(OBJS)
	$(CC) $(SHARED) $(LDFLAGS) -o $@ $(OBJS) \
		 -L../.. -lopenquicktime $(LIBS)



