diff options
author | Jean-Marc Zucconi <jmz@FreeBSD.org> | 1998-03-18 00:56:29 +0000 |
---|---|---|
committer | Jean-Marc Zucconi <jmz@FreeBSD.org> | 1998-03-18 00:56:29 +0000 |
commit | e7952443b39c52e7ac24f085dc8283fca206b2a1 (patch) | |
tree | 88445c9c817ca5f321bd6eb1ee7b8ce4fb14a8fc /lang/tcl80/files | |
parent | upgrade to 0.99.21, there'll be another port containing the ``unstable'' (diff) |
Do the Right Thing when building static libraries.
Diffstat (limited to 'lang/tcl80/files')
-rw-r--r-- | lang/tcl80/files/Makefile.lib | 49 | ||||
-rw-r--r-- | lang/tcl80/files/makefile | 8 |
2 files changed, 57 insertions, 0 deletions
diff --git a/lang/tcl80/files/Makefile.lib b/lang/tcl80/files/Makefile.lib new file mode 100644 index 000000000000..aa89c9ecf2e8 --- /dev/null +++ b/lang/tcl80/files/Makefile.lib @@ -0,0 +1,49 @@ +NOPROFILE= yes +LIB= tcl80 +TCL_LIBRARY= ${PREFIX}/lib/tcl8.0 +CFLAGS+= -I. -I./../generic \ + -DHAVE_GETCWD=1 -DNO_VALUES_H=1 -DHAVE_UNISTD_H=1 -DUSE_TERMIOS=1\ + -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1\ + -DHAVE_TM_GMTOFF=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1\ + -DNEED_MATHERR=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1\ + -DHAVE_SYS_FILIO_H=1 \ + -DTCL_LIBRARY=\"${TCL_LIBRARY}\" \ + -DTCL_PACKAGE_PATH="\"${PREFIX}/lib\"" + + + +GENERIC_DIR= ../generic +UNIX_DIR= . + +SRCS= \ + $(GENERIC_DIR)/panic.c $(GENERIC_DIR)/regexp.c\ + $(GENERIC_DIR)/tclAsync.c $(GENERIC_DIR)/tclBasic.c \ + $(GENERIC_DIR)/tclCkalloc.c $(GENERIC_DIR)/tclClock.c \ + $(GENERIC_DIR)/tclCmdAH.c $(GENERIC_DIR)/tclCmdIL.c \ + $(GENERIC_DIR)/tclCmdMZ.c $(GENERIC_DIR)/tclDate.c \ + $(GENERIC_DIR)/tclEnv.c $(GENERIC_DIR)/tclEvent.c \ + $(GENERIC_DIR)/tclFCmd.c \ + $(GENERIC_DIR)/tclFileName.c \ + $(GENERIC_DIR)/tclGet.c $(GENERIC_DIR)/tclHash.c \ + $(GENERIC_DIR)/tclHistory.c $(GENERIC_DIR)/tclInterp.c \ + $(GENERIC_DIR)/tclIO.c $(GENERIC_DIR)/tclIOCmd.c \ + $(GENERIC_DIR)/tclIOSock.c $(GENERIC_DIR)/tclIOUtil.c \ + $(GENERIC_DIR)/tclLink.c $(GENERIC_DIR)/tclLoad.c \ + $(GENERIC_DIR)/tclMain.c $(GENERIC_DIR)/tclNotify.c \ + $(GENERIC_DIR)/tclParse.c $(GENERIC_DIR)/tclPkg.c \ + $(GENERIC_DIR)/tclPosixStr.c $(GENERIC_DIR)/tclPreserve.c \ + $(GENERIC_DIR)/tclProc.c $(GENERIC_DIR)/tclUtil.c \ + $(GENERIC_DIR)/tclVar.c $(UNIX_DIR)/tclMtherr.c \ + $(GENERIC_DIR)/tclCompile.c $(GENERIC_DIR)/tclExecute.c\ + $(GENERIC_DIR)/tclBinary.c $(GENERIC_DIR)/tclCompExpr.c\ + $(GENERIC_DIR)/tclIndexObj.c $(GENERIC_DIR)/tclListObj.c\ + $(GENERIC_DIR)/tclNamesp.c\ + $(GENERIC_DIR)/tclObj.c $(GENERIC_DIR)/tclPipe.c\ + $(GENERIC_DIR)/tclStringObj.c $(GENERIC_DIR)/tclTimer.c\ + $(UNIX_DIR)/tclUnixChan.c $(UNIX_DIR)/tclUnixFCmd.c \ + $(UNIX_DIR)/tclUnixFile.c $(UNIX_DIR)/tclUnixNotfy.c \ + $(UNIX_DIR)/tclUnixPipe.c $(UNIX_DIR)/tclUnixSock.c \ + $(UNIX_DIR)/tclUnixTime.c $(UNIX_DIR)/tclUnixInit.c \ + $(UNIX_DIR)/tclLoadDl.c $(UNIX_DIR)/tclUnixEvent.c + +.include <bsd.lib.mk> diff --git a/lang/tcl80/files/makefile b/lang/tcl80/files/makefile new file mode 100644 index 000000000000..4f51bb5255f1 --- /dev/null +++ b/lang/tcl80/files/makefile @@ -0,0 +1,8 @@ +all: + for f in ../generic/*.o; do ln -sf $$f; done + make -f Makefile tclsh +test: + make -f Makefile test +install: + make -f Makefile install + |