sys-fs/tux3progs: update makefile add bin and tesbin target
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1226 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
@@ -3,11 +3,11 @@ Date: 2009-05-18
|
||||
Initial Package Version: changeset cb5655728089
|
||||
Origin: me
|
||||
Upstream Status: unknown
|
||||
Description: add install target and add LDFLAGS for overwrite
|
||||
Description: add new targets bin: testbin: install: install-bin: install-test: and add LDFLAGS
|
||||
|
||||
diff -Naur tux3.orig/user/Makefile tux3/user/Makefile
|
||||
--- tux3.orig/user/Makefile 2009-05-17 20:13:43.438558904 +0000
|
||||
+++ tux3/user/Makefile 2009-05-18 04:44:55.927761560 +0000
|
||||
+++ tux3/user/Makefile 2009-05-18 05:06:31.057509039 +0000
|
||||
@@ -11,20 +11,30 @@
|
||||
CFLAGS += -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers
|
||||
CFLAGS += $(UCFLAGS)
|
||||
@@ -41,7 +41,17 @@ diff -Naur tux3.orig/user/Makefile tux3/user/Makefile
|
||||
endif
|
||||
|
||||
tuxdeps = Makefile trace.h kernel/trace.h
|
||||
@@ -93,8 +103,8 @@
|
||||
@@ -53,6 +63,9 @@
|
||||
tests: test_buffer test_balloc test_commit test_dleaf test_ileaf \
|
||||
test_btree test_dir test_iattr test_xattr test_filemap test_inode
|
||||
|
||||
+bin: $(tux3bin)
|
||||
+testbin: $(testbin)
|
||||
+
|
||||
# standalone and library
|
||||
buffer.o: $(tuxdeps) $(bufferdeps)
|
||||
diskio.o: $(tuxdeps) $(diskiodeps)
|
||||
@@ -93,8 +106,8 @@
|
||||
$(CHECKER) $(CFLAGS) -Dbuild_$(<:.c=) $(CHECKFLAGS) -c $<
|
||||
endif
|
||||
|
||||
@@ -52,7 +62,7 @@ diff -Naur tux3.orig/user/Makefile tux3/user/Makefile
|
||||
|
||||
test_buffer: buffer
|
||||
$(VG) ./buffer
|
||||
@@ -130,7 +140,7 @@
|
||||
@@ -130,7 +143,7 @@
|
||||
$(VG) ./commit foodev
|
||||
|
||||
tux3fuse: utility.o tux3fuse.o
|
||||
@@ -61,7 +71,7 @@ diff -Naur tux3.orig/user/Makefile tux3/user/Makefile
|
||||
ifeq ($(CHECK),1)
|
||||
$(CHECKER) $(CFLAGS) $(CHECKFLAGS) $$(pkg-config --cflags fuse) tux3fuse.c
|
||||
endif
|
||||
@@ -160,3 +170,13 @@
|
||||
@@ -160,3 +173,13 @@
|
||||
|
||||
distclean: clean
|
||||
rm -f *.orig kernel/*.orig
|
||||
|
||||
Reference in New Issue
Block a user