#!/usr/bin/make -f # ============================================================== # # DO NOT CHANGE ANYTHING IN THIS FILE !!!!!!!!!!!!!! # # ============================================================== # # (unless you know _exactly_ what you are doing) # # All local settings should go to the file ipkg/local_settings, # which will be automatically included if it exists. # # ============================================================== default: build # include file for local settings -include ipkg/local_settings # default settings ARM_ROOTFS ?= /tmp/ipkg-rootfs DESTDIR=/tmp/feeserver PREFIX=/usr configure Makefile.in: configure.ac Makefile.am ./bootstrap Makefile: Makefile.in configure ipkg/rules ./configure \ LDFLAGS="-L$(ARM_ROOTFS)/usr/lib" \ CPPFLAGS="-I$(ARM_ROOTFS)/usr/include -I$(ARM_ROOTFS)/usr/include/dim" \ --host=arm-linux-uclibc --prefix=$(PREFIX) build: Makefile $(MAKE) .PHONY: cfg cfg: Makefile clean: $(MAKE) distclean install: build rm -rf $(DESTDIR) $(MAKE) install-strip DESTDIR=$(DESTDIR) mkdir -p $(DESTDIR)/etc/init.d/rc/ install -o root -g root -m 755 ipkg/feeserver.sh \ $(DESTDIR)/etc/init.d/rc/feeserver.sh rm -rf $(DESTDIR)/$(PREFIX)/include rm -rf $(DESTDIR)/$(PREFIX)/lib/*.la rm -rf $(DESTDIR)/$(PREFIX)/lib/*.a