changeset 1202:4122a358d1b6 trunk

[svn] - temporal: copy the original Makefile as a template for OMKizing.
author nenolod
date Tue, 13 Jun 2006 23:57:16 -0700
parents 673b2e43ba96
children a09393433f83
files ChangeLog audtool/Makefile.in.standalone
diffstat 2 files changed, 56 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Jun 13 23:56:06 2006 -0700
+++ b/ChangeLog	Tue Jun 13 23:57:16 2006 -0700
@@ -1,3 +1,16 @@
+2006-06-14 06:56:06 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [1316]
+  - remove build environment
+  
+
+  Changes:        Modified:
+  +0 -14          trunk/audtool/aclocal.m4  
+  +0 -49          trunk/audtool/config.h.in  
+  +0 -5394        trunk/audtool/configure  
+  +0 -35          trunk/audtool/configure.ac  
+  +0 -323         trunk/audtool/install-sh  
+
+
 2006-06-14 06:54:53 +0000  William Pitcock <nenolod@nenolod.net>
   revision [1314]
   - prepare to ship audtool with audacious SVN
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/audtool/Makefile.in.standalone	Tue Jun 13 23:57:16 2006 -0700
@@ -0,0 +1,43 @@
+CC		= @CC@
+RM		= @RM@
+MV		= @MV@
+CP		= @CP@
+INSTALL		= @INSTALL@
+PREFIX		= @prefix@
+BIN		= audtool
+LDFLAGS		= @LDFLAGS@
+CPPFLAGS	= @CPPFLAGS@
+
+# enforce -pthread on systems for now, some systems seem not to pick
+# it up automatically. --nenolod
+LIBS		= -pthread @LIBS@ @AUDACIOUS_LIBS@
+CFLAGS		= -pthread @CFLAGS@ @AUDACIOUS_CFLAGS@
+
+default: all
+
+BASE_SRCS = audtool.c
+
+SRCS = ${BASE_SRCS}
+
+OBJS = ${SRCS:.c=.o}
+
+all: audtool
+
+build: all
+
+audtool: $(OBJS)
+	${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS}
+
+install:
+	$(INSTALL) -m 755 -d $(DESTDIR)$(PREFIX)
+	$(INSTALL) -m 755 -d $(DESTDIR)$(PREFIX)/bin
+	$(INSTALL) -m 755 -c $(BIN) $(DESTDIR)$(PREFIX)/bin
+
+.c.o:
+	${CC} ${CPPFLAGS} ${CFLAGS} -c $< -o $@
+
+clean:
+	${RM} -f *.o audtool.core core audtool
+
+distclean: clean
+	${RM} -f Makefile config.h config.status config.log