first commit
This commit is contained in:
42
extern/STLport/5.2.1/build/Makefiles/ut/app2/Makefile
vendored
Normal file
42
extern/STLport/5.2.1/build/Makefiles/ut/app2/Makefile
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
# -*- Makefile -*- Time-stamp: <06/11/13 23:03:45 ptr>
|
||||
|
||||
SRCROOT := ../../..
|
||||
|
||||
EXTRA_POST := checks
|
||||
EXTRA_POST_DBG := checks-dbg
|
||||
EXTRA_POST_STLDBG := checks-stldbg
|
||||
|
||||
include Makefile.inc
|
||||
include ${SRCROOT}/Makefiles/gmake/top.mak
|
||||
|
||||
ifndef WITHOUT_STLPORT
|
||||
LDFLAGS += -Wl,-rpath=${STLPORT_LIB_DIR}
|
||||
endif
|
||||
|
||||
checks:
|
||||
file ${PRG} | grep ELF >/dev/null || exit 1
|
||||
file ${test2_PRG} | grep ELF >/dev/null || exit 1
|
||||
file ${test3_PRG} | grep ELF >/dev/null || exit 1
|
||||
@echo
|
||||
@echo release ok
|
||||
@echo
|
||||
|
||||
checks-dbg:
|
||||
file ${PRG_DBG} | grep ELF >/dev/null || exit 1
|
||||
file ${test2_PRG_DBG} | grep ELF >/dev/null || exit 1
|
||||
file ${test3_PRG_DBG} | grep ELF >/dev/null || exit 1
|
||||
@echo
|
||||
@echo dbg ok
|
||||
@echo
|
||||
|
||||
ifndef WITHOUT_STLPORT
|
||||
checks-stldbg:
|
||||
file ${PRG_STLDBG} | grep ELF >/dev/null || exit 1
|
||||
file ${test2_PRG_STLDBG} | grep ELF >/dev/null || exit 1
|
||||
file ${test3_PRG_STLDBG} | grep ELF >/dev/null || exit 1
|
||||
@echo
|
||||
@echo stldbg ok
|
||||
@echo
|
||||
endif
|
||||
|
||||
PHONY += checks checks-dbg checks-stldbg
|
||||
8
extern/STLport/5.2.1/build/Makefiles/ut/app2/Makefile.inc
vendored
Normal file
8
extern/STLport/5.2.1/build/Makefiles/ut/app2/Makefile.inc
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
# -*- makefile -*- Time-stamp: <04/01/12 15:37:40 ptr>
|
||||
|
||||
PRGNAME = test
|
||||
PRGNAMES = test2 test3
|
||||
#SRC_C = test.c
|
||||
SRC_CC = test.cc
|
||||
test2_SRC_CC = test2.cc
|
||||
test3_SRC_CC = test3.cc test31.cc
|
||||
4
extern/STLport/5.2.1/build/Makefiles/ut/app2/test.cc
vendored
Normal file
4
extern/STLport/5.2.1/build/Makefiles/ut/app2/test.cc
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
int main()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
4
extern/STLport/5.2.1/build/Makefiles/ut/app2/test2.cc
vendored
Normal file
4
extern/STLport/5.2.1/build/Makefiles/ut/app2/test2.cc
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
int main()
|
||||
{
|
||||
return 2;
|
||||
}
|
||||
4
extern/STLport/5.2.1/build/Makefiles/ut/app2/test3.cc
vendored
Normal file
4
extern/STLport/5.2.1/build/Makefiles/ut/app2/test3.cc
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
int main()
|
||||
{
|
||||
return 3;
|
||||
}
|
||||
4
extern/STLport/5.2.1/build/Makefiles/ut/app2/test31.cc
vendored
Normal file
4
extern/STLport/5.2.1/build/Makefiles/ut/app2/test31.cc
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
int f()
|
||||
{
|
||||
return 3;
|
||||
}
|
||||
Reference in New Issue
Block a user