summaryrefslogtreecommitdiff
path: root/v4l2-apps/libv4l/libv4l1/Makefile
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-03-13 18:17:30 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-13 18:17:30 -0300
commitbd5114e836d5c39563589881b3d9da0cf06624f1 (patch)
treee5992f2b624f9178321dddba59e394af5e4da7cc /v4l2-apps/libv4l/libv4l1/Makefile
parent043985e41c1b3527cb1574753b3fd71c707a3d39 (diff)
parent9840199e825a71000f4d87e61380867fe3dc7f80 (diff)
downloadmediapointer-dvb-s2-bd5114e836d5c39563589881b3d9da0cf06624f1.tar.gz
mediapointer-dvb-s2-bd5114e836d5c39563589881b3d9da0cf06624f1.tar.bz2
merge: http://linuxtv.org/hg/~tap/v4l-dvb
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'v4l2-apps/libv4l/libv4l1/Makefile')
-rw-r--r--v4l2-apps/libv4l/libv4l1/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/v4l2-apps/libv4l/libv4l1/Makefile b/v4l2-apps/libv4l/libv4l1/Makefile
index 27848477e..9f30cbb0f 100644
--- a/v4l2-apps/libv4l/libv4l1/Makefile
+++ b/v4l2-apps/libv4l/libv4l1/Makefile
@@ -3,7 +3,7 @@ override CPPFLAGS += -I../include -I../../../include -fvisibility=hidden
CFLAGS := -g -O1
CFLAGS += -Wall -Wno-unused -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-LIBS = -lpthread
+LIBS_libv4l1 = -lpthread
V4L1_OBJS = libv4l1.o log.o
V4L1COMPAT = v4l1compat.so
@@ -46,7 +46,7 @@ libv4l1.pc:
@echo 'Name: libv4l1' >> libv4l1.pc
@echo 'Description: v4l1 compatibility library' >> libv4l1.pc
@echo 'Version: '$(V4L2_LIB_VERSION) >> libv4l1.pc
- @echo 'Requires: libv4l2' >> libv4l1.pc
+ @echo 'Requires.private: libv4l2' >> libv4l1.pc
@echo 'Libs: -L$${libdir} -lv4l1' >> libv4l1.pc
@echo 'Libs.private: -lpthread' >> libv4l1.pc
@echo 'Cflags: -I$${prefix}/include' >> libv4l1.pc
@@ -69,13 +69,13 @@ endif
install -m 644 libv4l1.pc $(DESTDIR)$(LIBDIR)/pkgconfig
clean::
- rm -f *.a *.so* *.o *.d libv4l1.pc log *~
+ rm -f *.a *.so* *.o *.d libv4l1.pc log *~ *.orig *.rej
%.o: %.c
$(CC) -c -MMD $(CPPFLAGS) $(CFLAGS) -o $@ $<
%.so:
- $(CC) -shared $(LDFLAGS) -Wl,-soname,$@.$(LIB_RELEASE) -o $@.$(LIB_RELEASE) $^ $(LIBS)
+ $(CC) -shared $(LDFLAGS) -Wl,-soname,$@.$(LIB_RELEASE) -o $@.$(LIB_RELEASE) $^ $(LIBS_$*)
ln -f -s $@.$(LIB_RELEASE) $@
%.a: