Browse files

come on, man

  • Loading branch information...
1 parent 1698b30 commit f25da040a4278160c9bbb01d2b13befbe3d15424 @josephholsten committed Jun 27, 2009
Showing with 6 additions and 65 deletions.
  1. +6 −0 src/libdecodeqr/Makefile.am
  2. +0 −65 src/libdecodeqr/Makefile.in
View
6 src/libdecodeqr/Makefile.am
@@ -0,0 +1,6 @@
+AM_CPPFLAGS = $(DEPS_CFLAGS)
+lib_LTLIBRARIES = libdecodeqr.la
+libdecodeqr_la_SOURCES = bitstream.cpp codedata.cpp container.cpp ecidecoder.cpp formatinfo.cpp galois.cpp imagereader.cpp libdecodeqr.cpp
+libdecodeqr_la_LIBADD = $(DEPS_LIBS)
+include_HEADERS = decodeqr.h qrerror.h qrtypes.h
+
View
65 src/libdecodeqr/Makefile.in
@@ -1,65 +0,0 @@
-#
-# Makefile.in -- a part of libdecodeqr
-#
-# Copyright(C) 2007 NISHI Takao <zophos@koka-in.org>
-# JMA (Japan Medical Association)
-# NaCl (Network Applied Communication Laboratory Ltd.)
-#
-# This is free software with ABSOLUTELY NO WARRANTY.
-# You can redistribute and/or modify it under the terms of LGPL.
-#
-# $Id: Makefile 20 2006-11-20 03:26:52Z zophos $
-#
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-libdir = @libdir@
-includedir = @includedir@
-
-MAJOR=@MAJOR@
-MINOR=@MINOR@
-TEENY=@TEENY@
-
-BASENAME=libdecodeqr
-LIBNAME_A=$(BASENAME).a
-SONAME=$(BASENAME).so.$(MAJOR)
-LIBNAME_SO=$(BASENAME).so.$(MAJOR).$(MINOR).$(TEENY)
-
-CXX=@CXX@
-CPPFLAGS=@CPPFLAGS@ @CXXFLAGS@ -fPIC -c
-
-AR=@AR@
-ARFLAGS=rcs
-
-LD=@LD@
-LDFLAGS=@LDFLAGS@ -shared -soname $(SONAME)
-LIBCV=@LIBCV@
-LIBS=$(LIBCV)
-
-INSTALL=@INSTALL@
-LDCONFIG=/sbin/ldconfig
-LN=@LN@
-
-.SUFFIXES: .cpp .o
-.cpp.o:
- $(CXX) $(CPPFLAGS) $<
-
-sources:=$(wildcard *.cpp)
-objs:=$(patsubst %.cpp,%.o,$(wildcard *.cpp))
-dsts:=$(LIBNAME_A) $(LIBNAME_SO) decodeqr.h
-
-all: $(dsts)
-
-$(LIBNAME_A): $(objs)
- $(AR) $(ARFLAGS) $@ $(objs)
-
-$(LIBNAME_SO): $(objs)
- $(LD) -o $@ $(objs) $(LDFLAGS) $(LIBS)
-
-install: $(dsts)
- $(INSTALL) -m 0755 $(LIBNAME_A) $(LIBNAME_SO) $(libdir)
- $(LDCONFIG) -n $(libdir)
- $(LN) -sf $(libdir)/$(LIBNAME_SO) $(libdir)/$(BASENAME).so
- $(INSTALL) -m 0644 decodeqr.h qrerror.h qrtypes.h $(includedir)
-
-clean:
- -rm *.a *.o *.so.*

0 comments on commit f25da04

Please sign in to comment.