You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.6 KiB
33 lines
1.6 KiB
#
|
|
# makefile to build plugins (currently unused in ni-image)
|
|
#
|
|
# -----------------------------------------------------------------------------
|
|
|
|
#logoview
|
|
logoview: $(SOURCE_DIR)/$(TUXBOX_PLUGINS) $(D)/neutrino $(BIN)/logoview
|
|
$(BIN)/logoview: $(BIN)
|
|
pushd $(SOURCE_DIR)/$(TUXBOX_PLUGINS)/logoview && \
|
|
$(MAKE) logoview CROSS_CDK=$(CROSS_DIR) BUILDSYSTEM=$(BASE_DIR) N_HD_SOURCE=$(SOURCE_DIR)/$(NI_NEUTRINO) TARGET=$(TARGET) && \
|
|
install -m 0755 logoview $@ && \
|
|
$(MAKE) clean
|
|
|
|
#blockads
|
|
blockads: $(SOURCE_DIR)/$(TUXBOX_PLUGINS) $(BIN)/blockad $(LIBPLUGINS)/blockads.so
|
|
$(BIN)/blockad: $(D)/freetype $(BIN) $(VARCONFIG)
|
|
pushd $(SOURCE_DIR)/$(TUXBOX_PLUGINS)/blockads && \
|
|
$(TARGET)-gcc $(TARGET_CFLAGS) $(TARGET_LDFLAGS) -I$(TARGET_INCLUDE_DIR)/freetype2 -lfreetype -lz $(CORTEX-STRINGS) -o $@ blockad.c globals.c http.c && \
|
|
install -m 0644 blockads.conf $(VARCONFIG)/
|
|
|
|
$(LIBPLUGINS)/blockads.so: $(LIBPLUGINS)
|
|
pushd $(SOURCE_DIR)/$(TUXBOX_PLUGINS)/blockads && \
|
|
$(TARGET)-gcc $(TARGET_CFLAGS) $(TARGET_LDFLAGS) -I$(TARGET_INCLUDE_DIR)/freetype2 -lfreetype -lz $(CORTEX-STRINGS) -o $@ blockads.c gfx.c io.c text.c globals.c http.c && \
|
|
install -m 0644 blockads.cfg $(LIBPLUGINS)/
|
|
|
|
stbup: $(BIN)/stbup
|
|
$(BIN)/stbup: $(SOURCE_DIR)/$(NI_NEUTRINO-PLUGINS) $(BIN)
|
|
pushd $(SOURCE_DIR)/$(NI_NEUTRINO-PLUGINS)/stbup && \
|
|
$(TARGET)-gcc $(TARGET_CFLAGS) $(TARGET_LDFLAGS) stbup.c -o $@ && \
|
|
install -m 0644 stbup.conf $(TARGET_DIR)/etc && \
|
|
install -m 0755 stbup.init $(TARGET_DIR)/etc/init.d/stbup
|
|
ln -s stbup $(TARGET_DIR)/etc/init.d/S99stbup
|
|
ln -s stbup $(TARGET_DIR)/etc/init.d/K01stbup
|
|
|