From 84d2f627359db0eaf11bd9a8087466c6523cfa35 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Tue, 10 Feb 2009 01:48:42 +0000 Subject: Kamikaze Makefile cleanup --- openwrt/kamikaze/uanytun/Makefile | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'openwrt') diff --git a/openwrt/kamikaze/uanytun/Makefile b/openwrt/kamikaze/uanytun/Makefile index 784fc94..809ed89 100644 --- a/openwrt/kamikaze/uanytun/Makefile +++ b/openwrt/kamikaze/uanytun/Makefile @@ -35,30 +35,30 @@ define Package/uanytun endef define Build/Configure - (cd $(PKG_BUILD_DIR)/src; \ - touch include.mk; \ + (cd $(PKG_BUILD_DIR)/src; \ + touch include.mk; \ ln -s linux/tun.c . \ - ) + ) endef define Build/Compile - rm -rf $(PKG_INSTALL_DIR) - mkdir -p $(PKG_INSTALL_DIR) - $(MAKE) -C $(PKG_BUILD_DIR)/src \ - $(TARGET_CONFIGURE_OPTS) \ - TARGET=Linux \ - CFLAGS="$(TARGET_CFLAGS) -DUSE_SSL_CRYPTO -I$(STAGING_DIR)/usr/include" \ - LDFLAGS="$(TARGET_LDFLAGS) -ldl -lcrypto" - $(STRIP) $(PKG_BUILD_DIR)/src/uanytun + rm -rf $(PKG_INSTALL_DIR) + mkdir -p $(PKG_INSTALL_DIR) + $(MAKE) -C $(PKG_BUILD_DIR)/src \ + $(TARGET_CONFIGURE_OPTS) \ + TARGET=Linux \ + CFLAGS="$(TARGET_CFLAGS) -DUSE_SSL_CRYPTO -I$(STAGING_DIR)/usr/include" \ + LDFLAGS="$(TARGET_LDFLAGS) -ldl -lcrypto" + $(STRIP) $(PKG_BUILD_DIR)/src/uanytun endef define Package/uanytun/install - $(INSTALL_DIR) $(1)/etc/config - $(INSTALL_DATA) ./files/uanytun.config $(1)/etc/config/uanytun - $(INSTALL_DIR) $(1)/usr/sbin - $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/uanytun $(1)/usr/sbin/ - $(INSTALL_DIR) $(1)/etc/init.d - $(INSTALL_BIN) ./files/uanytun.init $(1)/etc/init.d/uanytun + $(INSTALL_DIR) $(1)/etc/config + $(INSTALL_DATA) ./files/uanytun.config $(1)/etc/config/uanytun + $(INSTALL_DIR) $(1)/usr/sbin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/uanytun $(1)/usr/sbin/ + $(INSTALL_DIR) $(1)/etc/init.d + $(INSTALL_BIN) ./files/uanytun.init $(1)/etc/init.d/uanytun endef -- cgit v1.2.3