summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-08-11 19:01:12 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-08-11 19:01:12 +0000
commit6d5a835fb7f5fbd9c3b31c405751d481504a2f2f (patch)
treef667c8b0fd4da2d41c0752edb51d9f835c99c664
parentcdb736cea0363f6057853e424bf2e49acb9039f9 (diff)
Move newt files from /lib to /usr/lib etc.
-rw-r--r--package/newt/newt.mk28
1 files changed, 14 insertions, 14 deletions
diff --git a/package/newt/newt.mk b/package/newt/newt.mk
index 1e1b62deb..588aacb28 100644
--- a/package/newt/newt.mk
+++ b/package/newt/newt.mk
@@ -48,27 +48,27 @@ $(NEWT_DIR)/.configured: $(NEWT_DIR)/.source
$(NEWT_DIR)/libnewt.so.$(NEWT_VERSION): $(NEWT_DIR)/.configured
$(MAKE) CFLAGS="$(TARGET_CFLAGS) $(NEWT_CFLAGS)" CC=$(TARGET_CC) -C $(NEWT_DIR)
- touch -c $(NEWT_DIR)/libnewt.so.$(NEWT_VERSION)
+ touch -c $@
-$(STAGING_DIR)/lib/libnewt.a: $(NEWT_DIR)/libnewt.so.$(NEWT_VERSION)
- cp -a $(NEWT_DIR)/libnewt.a $(STAGING_DIR)/lib;
- cp -a $(NEWT_DIR)/newt.h $(STAGING_DIR)/include;
- cp -a $(NEWT_DIR)/libnewt.so* $(STAGING_DIR)/lib;
- (cd $(STAGING_DIR)/lib; ln -fs libnewt.so.$(NEWT_VERSION) libnewt.so);
- (cd $(STAGING_DIR)/lib; ln -fs libnewt.so.$(NEWT_VERSION) libnewt.so.0.51);
- touch -c $(STAGING_DIR)/lib/libnewt.a
+$(STAGING_DIR)/usr/lib/libnewt.a: $(NEWT_DIR)/libnewt.so.$(NEWT_VERSION)
+ cp -a $(NEWT_DIR)/libnewt.a $(STAGING_DIR)/usr/lib/;
+ cp -a $(NEWT_DIR)/newt.h $(STAGING_DIR)/usr/include/;
+ cp -a $(NEWT_DIR)/libnewt.so* $(STAGING_DIR)/usr/lib/;
+ (cd $(STAGING_DIR)/usr/lib; ln -fs libnewt.so.$(NEWT_VERSION) libnewt.so);
+ (cd $(STAGING_DIR)/usr/lib; ln -fs libnewt.so.$(NEWT_VERSION) libnewt.so.0.51);
+ touch -c $@
-$(TARGET_DIR)/lib/libnewt.so.$(NEWT_VERSION): $(STAGING_DIR)/lib/libnewt.a
- cp -a $(STAGING_DIR)/lib/libnewt.so* $(TARGET_DIR)/lib;
- -$(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libnewt.so*
- touch -c $(TARGET_DIR)/lib/libnewt.so.$(NEWT_VERSION)
+$(TARGET_DIR)/usr/lib/libnewt.so.$(NEWT_VERSION): $(STAGING_DIR)/usr/lib/libnewt.a
+ cp -a $(STAGING_DIR)/usr/lib/libnewt.so* $(TARGET_DIR)/usr/lib/;
+ -$(STRIP) --strip-unneeded $(TARGET_DIR)/usr/lib/libnewt.so*
+ touch -c $@
-newt: uclibc slang $(TARGET_DIR)/lib/libnewt.so.$(NEWT_VERSION)
+newt: uclibc slang $(TARGET_DIR)/usr/lib/libnewt.so.$(NEWT_VERSION)
newt-source: $(DL_DIR)/$(NEWT_SOURCE)
newt-clean:
- rm -f $(TARGET_DIR)/lib/libnewt.so*
+ rm -f $(TARGET_DIR)/usr/lib/libnewt.so*
-$(MAKE) -C $(NEWT_DIR) clean
newt-dirclean: slang-dirclean