diff options
Diffstat (limited to 'third_party/resample/sndlib-20/sndins')
-rw-r--r-- | third_party/resample/sndlib-20/sndins/Makefile.in | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/third_party/resample/sndlib-20/sndins/Makefile.in b/third_party/resample/sndlib-20/sndins/Makefile.in new file mode 100644 index 00000000..1c2837c2 --- /dev/null +++ b/third_party/resample/sndlib-20/sndins/Makefile.in @@ -0,0 +1,61 @@ +# Makefile for libsndins.so + +prefix = @prefix@ +srcdir = @srcdir@ +libdir = $(prefix)/lib +top_builddir = .. +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ +includedir = @includedir@ +SHELL = @SHELL@ +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + +CC = @CC@ +DEFS = @DEFS@ +CFLAGS = @CFLAGS@ -fPIC +LDFLAGS = @LDFLAGS@ +LIBS = @LIBS@ +XEN_CFLAGS = @GUILE_CFLAGS@ +XEN_LIBS = @GUILE_LIBS@ +GSL_FLAGS = @GSL_CFLAGS@ +GSL_LIBS = @GSL_LIBS@ + +INSTALL = @INSTALL@ +SO_INSTALL = @SO_INSTALL@ +SO_LD = @SO_LD@ +A_LD = ar +A_LD_FLAGS = cr +LD_FLAGS = @LD_FLAGS@ +LDSO_FLAGS = @LDSO_FLAGS@ + +OBJS = sndins.o $(top_builddir)/sndlib.a +SO_TARGET = libsndins.so +A_TARGET = libsndins.a +LIB_TARGET = sndins.so + +.c.o: + $(CC) -c $(DEFS) $(CFLAGS) $(XEN_CFLAGS) $(GSL_FLAGS) -I$(top_builddir) -I$(top_srcdir) $< + +sndins: $(OBJS) + $(SO_LD) $(LDSO_FLAGS) $(LDFLAGS) -o $(SO_TARGET) $(OBJS) $(XEN_LIBS) $(GSL_LIBS) $(LIBS) + $(A_LD) $(A_LD_FLAGS) $(A_TARGET) $(OBJS) + ranlib $(A_TARGET) + cp $(SO_TARGET) $(LIB_TARGET) + +install: sndins + $(mkinstalldirs) $(libdir) + $(mkinstalldirs) $(includedir) + $(INSTALL) $(A_TARGET) $(libdir)/$(A_TARGET) + $(SO_INSTALL) $(SO_TARGET) $(libdir)/$(SO_TARGET) + +uninstall: + rm -f $(libdir)/$(A_TARGET) + rm -f $(libdir)/$(SO_TARGET) + +clean: + rm -f *.so *.a *.o *.core core 0 + +distclean: clean + rm -f Makefile *~ + +# Makefile ends here |