Add .gitattributes and .gitignore files and normalize line endings in the repository (#10)

This commit is contained in:
Colin Finck 2017-10-04 20:37:32 +02:00 committed by GitHub
parent c609406c2f
commit 9ebf43567d
309 changed files with 66975 additions and 66873 deletions

View file

@ -1,5 +1,5 @@
# -*- makefile -*- Time-stamp: <02/04/17 11:04:32 ptr>
# $Id$
PRGNAME = prog
SRC_CC = prog.cc
# -*- makefile -*- Time-stamp: <02/04/17 11:04:32 ptr>
# $Id$
PRGNAME = prog
SRC_CC = prog.cc

View file

@ -1,26 +1,26 @@
# -*- Makefile -*- Time-stamp: <03/07/09 18:08:47 ptr>
# $Id$
SRCROOT := ../../..
COMPILER_NAME := gcc
include Makefile.inc
include ${SRCROOT}/Makefiles/top.mak
INCLUDES += -I$(SRCROOT)/include -I$(STLPORT_INCLUDE_DIR)
release-shared: LDSEARCH = -L${STLPORT_LIB_DIR} -L${CoMT_LIB_DIR}
stldbg-shared: LDSEARCH = -L${STLPORT_LIB_DIR} -L${CoMT_LIB_DIR_STLDBG}
dbg-shared: LDSEARCH = -L${STLPORT_LIB_DIR} -L${CoMT_LIB_DIR_DBG}
ifeq ($(OSNAME),sunos)
release-shared : LDLIBS = -lstlport_gcc -lrt
stldbg-shared : LDLIBS = -lstlport_gcc_stldebug -lrt
dbg-shared : LDLIBS = -lstlport_gcc -lrt
else
release-shared : LDLIBS = -lstlport_gcc -lxmt_gcc
stldbg-shared : LDLIBS = -lstlport_gcc_stldebug -lxmt_gcc_stl-g
dbg-shared : LDLIBS = -lstlport_gcc -lxmt_gcc-g
endif
# -*- Makefile -*- Time-stamp: <03/07/09 18:08:47 ptr>
# $Id$
SRCROOT := ../../..
COMPILER_NAME := gcc
include Makefile.inc
include ${SRCROOT}/Makefiles/top.mak
INCLUDES += -I$(SRCROOT)/include -I$(STLPORT_INCLUDE_DIR)
release-shared: LDSEARCH = -L${STLPORT_LIB_DIR} -L${CoMT_LIB_DIR}
stldbg-shared: LDSEARCH = -L${STLPORT_LIB_DIR} -L${CoMT_LIB_DIR_STLDBG}
dbg-shared: LDSEARCH = -L${STLPORT_LIB_DIR} -L${CoMT_LIB_DIR_DBG}
ifeq ($(OSNAME),sunos)
release-shared : LDLIBS = -lstlport_gcc -lrt
stldbg-shared : LDLIBS = -lstlport_gcc_stldebug -lrt
dbg-shared : LDLIBS = -lstlport_gcc -lrt
else
release-shared : LDLIBS = -lstlport_gcc -lxmt_gcc
stldbg-shared : LDLIBS = -lstlport_gcc_stldebug -lxmt_gcc_stl-g
dbg-shared : LDLIBS = -lstlport_gcc -lxmt_gcc-g
endif

View file

@ -1,30 +1,30 @@
# -*- Makefile -*- Time-stamp: <03/07/09 18:08:47 ptr>
# $Id$
SRCROOT := ../..
COMPILER_NAME := gcc
STLPORT_LIB_DIR = /export/home/ptr/STLport.lab/STLport/lib
STLPORT_INCLUDE_DIR = /export/home/ptr/STLport.lab/STLport/stlport
include Makefile.inc
include ${SRCROOT}/Makefiles/top.mak
INCLUDES += -I$(SRCROOT)/include -I$(STLPORT_INCLUDE_DIR)
ifeq ($(OSNAME),linux)
release-shared: LDSEARCH = -L${STLPORT_LIB_DIR}
stldbg-shared: LDSEARCH = -L${STLPORT_LIB_DIR}
dbg-shared: LDSEARCH = -L${STLPORT_LIB_DIR}
endif
ifeq ($(OSNAME),sunos)
release-shared : LDLIBS = -lstlport_gcc -lrt
stldbg-shared : LDLIBS = -lstlport_gcc_stldebug -lrt
dbg-shared : LDLIBS = -lstlport_gcc -lrt
else
release-shared : LDLIBS = -lstlport_gcc
stldbg-shared : LDLIBS = -lstlport_gcc_stldebug
dbg-shared : LDLIBS = -lstlport_gcc
endif
# -*- Makefile -*- Time-stamp: <03/07/09 18:08:47 ptr>
# $Id$
SRCROOT := ../..
COMPILER_NAME := gcc
STLPORT_LIB_DIR = /export/home/ptr/STLport.lab/STLport/lib
STLPORT_INCLUDE_DIR = /export/home/ptr/STLport.lab/STLport/stlport
include Makefile.inc
include ${SRCROOT}/Makefiles/top.mak
INCLUDES += -I$(SRCROOT)/include -I$(STLPORT_INCLUDE_DIR)
ifeq ($(OSNAME),linux)
release-shared: LDSEARCH = -L${STLPORT_LIB_DIR}
stldbg-shared: LDSEARCH = -L${STLPORT_LIB_DIR}
dbg-shared: LDSEARCH = -L${STLPORT_LIB_DIR}
endif
ifeq ($(OSNAME),sunos)
release-shared : LDLIBS = -lstlport_gcc -lrt
stldbg-shared : LDLIBS = -lstlport_gcc_stldebug -lrt
dbg-shared : LDLIBS = -lstlport_gcc -lrt
else
release-shared : LDLIBS = -lstlport_gcc
stldbg-shared : LDLIBS = -lstlport_gcc_stldebug
dbg-shared : LDLIBS = -lstlport_gcc
endif

View file

@ -1,8 +1,8 @@
# -*- Makefile -*- Time-stamp: <03/07/05 21:43:31 ptr>
# $Id$
LIBNAME = mylib
MAJOR = 1
MINOR = 0
PATCH = 0
SRC_CC = file1.cc file2.cc
# -*- Makefile -*- Time-stamp: <03/07/05 21:43:31 ptr>
# $Id$
LIBNAME = mylib
MAJOR = 1
MINOR = 0
PATCH = 0
SRC_CC = file1.cc file2.cc

View file

@ -1,52 +1,52 @@
# -*- 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
# Check that we really use C compiler here
define ldd_check
r=`ldd $(1) | grep $(2)`; if [ "$$r" != "" ]; then exit 1; fi
endef
checks:
file ${PRG} | grep ELF >/dev/null || exit 1
${call ldd_check,${PRG},stlport}
${call ldd_check,${PRG},stdc++}
${call ldd_check,${PRG},gcc_s}
@echo
@echo release ok
@echo
checks-dbg:
file ${PRG_DBG} | grep ELF >/dev/null || exit 1
${call ldd_check,${PRG_DBG},stlport}
${call ldd_check,${PRG_DBG},stdc++}
${call ldd_check,${PRG_DBG},gcc_s}
@echo
@echo dbg ok
@echo
ifndef WITHOUT_STLPORT
checks-stldbg:
file ${PRG_STLDBG} | grep ELF >/dev/null || exit 1
${call ldd_check,${PRG_STLDBG},stlport}
${call ldd_check,${PRG_STLDBG},stdc++}
${call ldd_check,${PRG_STLDBG},gcc_s}
@echo
@echo stldbg ok
@echo
endif
PHONY += checks checks-dbg checks-stldbg
# -*- 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
# Check that we really use C compiler here
define ldd_check
r=`ldd $(1) | grep $(2)`; if [ "$$r" != "" ]; then exit 1; fi
endef
checks:
file ${PRG} | grep ELF >/dev/null || exit 1
${call ldd_check,${PRG},stlport}
${call ldd_check,${PRG},stdc++}
${call ldd_check,${PRG},gcc_s}
@echo
@echo release ok
@echo
checks-dbg:
file ${PRG_DBG} | grep ELF >/dev/null || exit 1
${call ldd_check,${PRG_DBG},stlport}
${call ldd_check,${PRG_DBG},stdc++}
${call ldd_check,${PRG_DBG},gcc_s}
@echo
@echo dbg ok
@echo
ifndef WITHOUT_STLPORT
checks-stldbg:
file ${PRG_STLDBG} | grep ELF >/dev/null || exit 1
${call ldd_check,${PRG_STLDBG},stlport}
${call ldd_check,${PRG_STLDBG},stdc++}
${call ldd_check,${PRG_STLDBG},gcc_s}
@echo
@echo stldbg ok
@echo
endif
PHONY += checks checks-dbg checks-stldbg

View file

@ -1,4 +1,4 @@
# -*- makefile -*- Time-stamp: <04/01/12 15:37:40 ptr>
PRGNAME = test
SRC_C = test.c
# -*- makefile -*- Time-stamp: <04/01/12 15:37:40 ptr>
PRGNAME = test
SRC_C = test.c

View file

@ -1,36 +1,36 @@
# -*- 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
@echo
@echo release ok
@echo
checks-dbg:
file ${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
@echo
@echo stldbg ok
@echo
endif
PHONY += checks checks-dbg checks-stldbg
# -*- 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
@echo
@echo release ok
@echo
checks-dbg:
file ${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
@echo
@echo stldbg ok
@echo
endif
PHONY += checks checks-dbg checks-stldbg

View file

@ -1,5 +1,5 @@
# -*- makefile -*- Time-stamp: <04/01/12 15:37:40 ptr>
PRGNAME = test
#SRC_C = test.c
SRC_CC = test.cc
# -*- makefile -*- Time-stamp: <04/01/12 15:37:40 ptr>
PRGNAME = test
#SRC_C = test.c
SRC_CC = test.cc

View file

@ -1,4 +1,4 @@
int main()
{
return 0;
}
int main()
{
return 0;
}

View file

@ -1,38 +1,38 @@
# -*- Makefile -*- Time-stamp: <06/11/13 23:03:45 ptr>
SRCROOT := ../../..
# EXTRA_POST := check-release-shared
# EXTRA_POST_DBG := check-dbg-shared
# EXTRA_POST_STLDBG := check-stldbg-shared
include Makefile.inc
include ${SRCROOT}/Makefiles/gmake/top.mak
ifndef WITHOUT_STLPORT
LDFLAGS += -Wl,-rpath=${STLPORT_LIB_DIR}
endif
check: check-release-shared check-dbg-shared check-stldbg-shared
check-release-shared: release-shared
@echo Running 2 test cases...
@file ${test2_PRG} | grep ELF >/dev/null || exit 1
@file ${test3_PRG} | grep ELF >/dev/null || exit 1
@echo "*** No errors detected"
check-dbg-shared: dbg-shared
@echo Running 2 test cases...
@file ${test2_PRG_DBG} | grep ELF >/dev/null || exit 1
@file ${test3_PRG_DBG} | grep ELF >/dev/null || exit 1
@echo "*** No errors detected"
ifndef WITHOUT_STLPORT
check-stldbg-shared: stldbg-shared
@echo Running 2 test cases...
@file ${test2_PRG_STLDBG} | grep ELF >/dev/null || exit 1
@file ${test3_PRG_STLDBG} | grep ELF >/dev/null || exit 1
@echo "*** No errors detected"
endif
PHONY += check check-release-shared check-dbg-shared check-stldbg-shared
# -*- Makefile -*- Time-stamp: <06/11/13 23:03:45 ptr>
SRCROOT := ../../..
# EXTRA_POST := check-release-shared
# EXTRA_POST_DBG := check-dbg-shared
# EXTRA_POST_STLDBG := check-stldbg-shared
include Makefile.inc
include ${SRCROOT}/Makefiles/gmake/top.mak
ifndef WITHOUT_STLPORT
LDFLAGS += -Wl,-rpath=${STLPORT_LIB_DIR}
endif
check: check-release-shared check-dbg-shared check-stldbg-shared
check-release-shared: release-shared
@echo Running 2 test cases...
@file ${test2_PRG} | grep ELF >/dev/null || exit 1
@file ${test3_PRG} | grep ELF >/dev/null || exit 1
@echo "*** No errors detected"
check-dbg-shared: dbg-shared
@echo Running 2 test cases...
@file ${test2_PRG_DBG} | grep ELF >/dev/null || exit 1
@file ${test3_PRG_DBG} | grep ELF >/dev/null || exit 1
@echo "*** No errors detected"
ifndef WITHOUT_STLPORT
check-stldbg-shared: stldbg-shared
@echo Running 2 test cases...
@file ${test2_PRG_STLDBG} | grep ELF >/dev/null || exit 1
@file ${test3_PRG_STLDBG} | grep ELF >/dev/null || exit 1
@echo "*** No errors detected"
endif
PHONY += check check-release-shared check-dbg-shared check-stldbg-shared

View file

@ -1,7 +1,7 @@
# -*- makefile -*- Time-stamp: <04/01/12 15:37:40 ptr>
PRGNAMES = test2 test3
#SRC_C = test.c
SRC_CC = test.cc
test2_SRC_CC = test2.cc
test3_SRC_CC = test3.cc test31.cc
# -*- makefile -*- Time-stamp: <04/01/12 15:37:40 ptr>
PRGNAMES = test2 test3
#SRC_C = test.c
SRC_CC = test.cc
test2_SRC_CC = test2.cc
test3_SRC_CC = test3.cc test31.cc

View file

@ -1,4 +1,4 @@
int main()
{
return 2;
}
int main()
{
return 2;
}

View file

@ -1,4 +1,4 @@
int main()
{
return 3;
}
int main()
{
return 3;
}

View file

@ -1,4 +1,4 @@
int f()
{
return 3;
}
int f()
{
return 3;
}

View file

@ -1,42 +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
# -*- 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

View file

@ -1,8 +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
# -*- 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

View file

@ -1,4 +1,4 @@
int main()
{
return 0;
}
int main()
{
return 0;
}

View file

@ -1,4 +1,4 @@
int main()
{
return 2;
}
int main()
{
return 2;
}

View file

@ -1,4 +1,4 @@
int main()
{
return 3;
}
int main()
{
return 3;
}

View file

@ -1,4 +1,4 @@
int f()
{
return 3;
}
int f()
{
return 3;
}

View file

@ -1,18 +1,18 @@
# -*- Makefile -*- Time-stamp: <06/11/10 16:23:01 ptr>
SRCROOT := ../../..
EXTRA_POST := checks
include Makefile.inc
include ${SRCROOT}/Makefiles/gmake/top.mak
INCLUDES += -I./include
checks:
file ${SO_NAME_OUTxxx} | grep ELF >/dev/null || exit 1
file ${SO_NAME_OUTxx} | grep link >/dev/null || exit 1
file ${SO_NAME_OUTx} | grep link >/dev/null || exit 1
file ${SO_NAME_OUT} | grep link >/dev/null || exit 1
PHONY += checks
# -*- Makefile -*- Time-stamp: <06/11/10 16:23:01 ptr>
SRCROOT := ../../..
EXTRA_POST := checks
include Makefile.inc
include ${SRCROOT}/Makefiles/gmake/top.mak
INCLUDES += -I./include
checks:
file ${SO_NAME_OUTxxx} | grep ELF >/dev/null || exit 1
file ${SO_NAME_OUTxx} | grep link >/dev/null || exit 1
file ${SO_NAME_OUTx} | grep link >/dev/null || exit 1
file ${SO_NAME_OUT} | grep link >/dev/null || exit 1
PHONY += checks

View file

@ -1,8 +1,8 @@
# -*- Makefile -*- Time-stamp: <06/11/29 01:59:50 ptr>
LIBNAME = test
MAJOR = 0
MINOR = 1
PATCH = 2
SRC_CC = test_cc.cc
SRC_C = test_c.c
# -*- Makefile -*- Time-stamp: <06/11/29 01:59:50 ptr>
LIBNAME = test
MAJOR = 0
MINOR = 1
PATCH = 2
SRC_CC = test_cc.cc
SRC_C = test_c.c

View file

@ -1,4 +1,4 @@
int g()
{
return 0;
}
int g()
{
return 0;
}

View file

@ -1,4 +1,4 @@
int f()
{
return 0;
}
int f()
{
return 0;
}