mirror of
https://github.com/rofafor/vdr-plugin-femon.git
synced 2023-10-10 11:36:53 +00:00
Updated for vdr-1.5.8.
This commit is contained in:
8
Makefile
8
Makefile
@@ -67,6 +67,10 @@ all-redirect: all
|
||||
|
||||
OBJS = femon.o femonosd.o femonreceiver.o femoncfg.o femontools.o
|
||||
|
||||
### The main target:
|
||||
|
||||
all: libvdr-$(PLUGIN).so i18n
|
||||
|
||||
### Implicit rules:
|
||||
|
||||
%.o: %.c
|
||||
@@ -103,13 +107,11 @@ i18n: $(I18Nmo)
|
||||
@mkdir -p $(LOCALEDIR)
|
||||
for i in $(I18Ndirs); do\
|
||||
mkdir -p $(LOCALEDIR)/$$i/LC_MESSAGES;\
|
||||
cp $(PODIR)/$$i.mo $(LOCALEDIR)/$$i/LC_MESSAGES/$(PLUGIN).mo;\
|
||||
cp $(PODIR)/$$i.mo $(LOCALEDIR)/$$i/LC_MESSAGES/vdr-$(PLUGIN).mo;\
|
||||
done
|
||||
|
||||
### Targets:
|
||||
|
||||
all: libvdr-$(PLUGIN).so i18n
|
||||
|
||||
libvdr-$(PLUGIN).so: $(OBJS)
|
||||
$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
|
||||
ifndef FEMON_DEBUG
|
||||
|
||||
Reference in New Issue
Block a user