Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Bugreport: Games-Plugin



Clemens Kirchgatterer wrote:
> Juri Haberland <juri@koschikode.com> wrote:
> 
> > Commenting out the "include (VDRDIR)/Make.config" in the Makefile
> > let's the plugin compile.
> > 
> > There seems to be a fundamental design flaw in either the idea to
> > include the Make.config in plugins or the template for the Make.config
> > as distributed with VDR is plain wrong.
> 
> I looked at other plugins and they seem to include Make.config without
> problems. on the other side my games plugin can be compiled within its
> own source directory, a feature others do not provide (what i find very
> annoying). i can imagine that these two things are related.

You can compile any plugin separate from vdr with a command line
like "make VDRDIR=/usr/include/vdr LIBDIR=. all"

> in the meantime, i would recommend to just comment out the -include
> within vdr-games/Makefile. maybe somebody with more "make" experience
> could have a look at it. i'm a little bit short of time 'til the end of
> the month.

Move the include before your local modifications of CFLAGS etc.

--- Makefile.orig       2003-09-13 11:06:33.000000000 +0200
+++ Makefile    2003-09-20 09:38:30.000000000 +0200
@@ -34,13 +34,13 @@
 
 else
 
+       -include $(VDRDIR)/Make.config
+
        TARGET    = libvdr-games.so
        OBJS     += $(VDROBJS)
        CFLAGS   += -I$(VDRDIR) -I$(DVBDIR)/include
        LFLAGS   += -shared --whole-archive
 
--include $(VDRDIR)/Make.config
-
 endif
 
 all:


Why do you hide the compiler calls?

cu
Ludwig

-- 
(o_  Ludwig.Nussel@gmx.de
//\  PGP Key ID: FF8135CE
V_/_ ICQ:        52166811


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index