base reset polarity off initial readings
[openwrt.git] / package / cifsmount / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=cifsmount
6 PKG_VERSION:=1.5
7 PKG_RELEASE:=2
8
9 PKG_BUILD_DIR:=$(BUILD_DIR)/cifsmount
10 PKG_IPK_DIR:=$(PKG_BUILD_DIR)
11 PKG_IPK:=$(PACKAGE_DIR)/$(PKG_NAME)_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk
12
13 $(PKG_BUILD_DIR)/sbin/mount.cifs:
14 mkdir -p $(PKG_BUILD_DIR)/sbin
15 $(TARGET_CC) -o $@ mount.cifs.c
16 $(STRIP) $@
17
18 $(PKG_IPK): $(PKG_BUILD_DIR)/sbin/mount.cifs
19 $(SCRIPT_DIR)/make-ipkg-dir.sh $(PKG_IPK_DIR) $(PKG_NAME).control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)
20 $(IPKG_BUILD) $(PKG_IPK_DIR) $(PACKAGE_DIR)
21
22 $(IPKG_STATE_DIR)/info/$(PKG_NAME).list:
23 $(IPKG) install $(PKG_IPK)
24
25 source:
26 prepare:
27 compile: $(PKG_IPK)
28 install: $(IPKG_STATE_DIR)/info/$(PKG_NAME).list
29
30 clean:
31 rm -rf $(PKG_BUILD_DIR)
32 rm -f $(PKG_IPK)
This page took 0.050047 seconds and 5 git commands to generate.