blob: 40b6fef3d4de2ec535339d3d4b40a66e84e1e1ce (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- a/Makefile
+++ b/Makefile
@@ -54,6 +54,12 @@ DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I
DEFINES += -DREMOTE_FEATURE_LIRC
DEFINES += -DREMOTE_FEATURE_TCPIP
+ifeq ($(OSTYPE),FreeBSD)
+DEFINES += -DREMOTE_FEATURE_UHID
+else
+DEFINES += -DREMOTE_FEATURE_DEVINPUT
+endif
+
### The object files (add further files here):
OBJS = $(PLUGIN).o ttystatus.o
@@ -126,3 +132,6 @@ dist: clean
clean:
@-rm -f $(PODIR)/*.mo $(PODIR)/*.pot
@-rm -f *.o $(DEPFILE) *.so *.tgz core* *~
+
+install:
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|