head	1.4;
access;
symbols
	start:1.1.1.1 uadedev:1.1.1;
locks; strict;
comment	@# @;


1.4
date	2001.12.06.01.18.20;	author shd;	state dead;
branches;
next	1.3;

1.3
date	2001.12.05.19.44.55;	author shd;	state Exp;
branches;
next	1.2;

1.2
date	2001.12.05.05.14.43;	author shd;	state Exp;
branches;
next	1.1;

1.1
date	2001.12.03.23.27.59;	author shd;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2001.12.03.23.27.59;	author shd;	state Exp;
branches;
next	;


desc
@@


1.4
log
@*** empty log message ***
@
text
@# EDIT FOLLOWING VARIABLES

#dir containing Input plugins for XMMS, if you don't have xmms-config
#utility for some reason, you can insert it here manually:
#I had /usr/local/lib/xmms/Input here originally

VERSION = "0.52"

XMMSLIBDIR = `xmms-config --input-plugin-dir`

DELIDEPS = deli.h ../config.h gui.h ../src/decrunch/decrunch.h
INCLUDEFLAGS = -I. `glib-config --cflags` `gtk-config --cflags` `xmms-config --cflags`
CFLAGS = -O2 -DHAVE_CONFIG_H -D_REENTRANT -DVERSION=\"$(VERSION)\" -W -Wall
LDFLAGS = `glib-config --libs` `xmms-config --libs`
LIBTOOL = libtool
INSTALLER = `cat ../uadeinstall`

# THERE SHOULDN'T BE ANYTHING TO EDIT AFTER THIS LINE

OBJS = .libs/libdeli.so .libs/libdeli.la
DMODS = ../src/decrunch/decrunch.lo ../src/decrunch/depack.lo ../src/decrunch/unsqsh.lo ../src/decrunch/crc32.lo ../src/decrunch/mmcmp.lo
DOBJS = ../src/decrunch/decrunch.o ../src/decrunch/depack.o ../src/decrunch/unsqsh.o ../src/decrunch/crc32.o ../src/decrunch/mmcmp.o
MODS = deli.lo configure.lo about.lo fileinfo.lo subsongseek.lo scanfile.lo checksum.lo btree.lo md5c.lo

$(OBJS):	$(MODS) decrgood
	$(LIBTOOL) --mode=link gcc $(CFLAGS) $(INCLUDEFLAGS) $(LDFLAGS) -o libdeli.la -rpath $(XMMSLIBDIR) -module -avoid-version $(MODS) $(DMODS) -pthread
	rm -f $(DOBJS)

deli.lo:	deli.c $(DELIDEPS)
	$(LIBTOOL) --mode=compile gcc $(CFLAGS) $(INCLUDEFLAGS) -c deli.c

fileinfo.lo:	fileinfo.c $(DELIDEPS)
	$(LIBTOOL) --mode=compile gcc $(CFLAGS) $(INCLUDEFLAGS) -c fileinfo.c

subsongseek.lo:	subsongseek.c $(DELIDEPS)
	$(LIBTOOL) --mode=compile gcc $(CFLAGS) $(INCLUDEFLAGS) -c subsongseek.c

about.lo:	about.c $(DELIDEPS)
	$(LIBTOOL) --mode=compile gcc $(CFLAGS) $(INCLUDEFLAGS) -c about.c

configure.lo:	configure.c $(DELIDEPS)
	$(LIBTOOL) --mode=compile gcc $(CFLAGS) $(INCLUDEFLAGS) -c configure.c

scanfile.lo:	scanfile.c $(DELIDEPS)
	$(LIBTOOL) --mode=compile gcc $(CFLAGS) $(INCLUDEFLAGS) -c scanfile.c

checksum.lo:	checksum.c checksum.h md5.h
	$(LIBTOOL) --mode=compile gcc $(CFLAGS) $(INCLUDEFLAGS) -c checksum.c

md5c.lo:	md5c.c md5.h
	$(LIBTOOL) --mode=compile gcc $(CFLAGS) $(INCLUDEFLAGS) -c md5c.c

btree.lo:	btree.c btree.h
	$(LIBTOOL) --mode=compile gcc $(CFLAGS) $(INCLUDEFLAGS) -c btree.c


decrgood:	$(DMODS)
	touch decrgood

$(DMODS):	
	cd ../src/decrunch/; $(MAKE) lobjects


clean:	
	rm -f *.la
	rm -f *.lo
	rm -f *.o
	rm -f .libs/lib*

install:	$(OBJS)
	mkdir -p $(HOME)/.xmms/Plugins/Input
	$(INSTALLER) -c .libs/libdeli.la $(HOME)/.xmms/Plugins/Input
	$(INSTALLER) -c .libs/libdeli.so $(HOME)/.xmms/Plugins/Input
	@@echo "Local user installation: xmms plugin installed to:"
	@@echo "	" $(HOME)/.xmms/Plugins/Input

sysinstall:	$(OBJS)
	$(INSTALLER) -c .libs/libdeli.la $(XMMSLIBDIR)
	$(INSTALLER) -c .libs/libdeli.so $(XMMSLIBDIR)
	@@echo ""
	@@echo "Global installation: xmms plugin installed to:"
	@@echo "	" $(XMMSLIBDIR)
@


1.3
log
@*** empty log message ***
@
text
@@


1.2
log
@*** empty log message ***
@
text
@d16 1
d72 2
a73 2
	install -c .libs/libdeli.la $(HOME)/.xmms/Plugins/Input
	install -c .libs/libdeli.so $(HOME)/.xmms/Plugins/Input
d78 2
a79 2
	install -c .libs/libdeli.la $(XMMSLIBDIR)
	install -c .libs/libdeli.so $(XMMSLIBDIR)
@


1.1
log
@Initial revision
@
text
@d7 1
a7 1
VERSION = "0.51"
@


1.1.1.1
log
@wheeeee...
@
text
@@
