mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
44 lines
1.8 KiB
Makefile
44 lines
1.8 KiB
Makefile
|
NOPROFILE= yes
|
||
|
LIB= tcl${VERSION}
|
||
|
TCL_LIBRARY= ${PREFIX}/lib/tcl${VERSION}
|
||
|
CFLAGS+= -I. -I./../generic \
|
||
|
-DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 \
|
||
|
-DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 \
|
||
|
-DHAVE_TM_GMTOFF=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1 \
|
||
|
-DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DKANJI \
|
||
|
-DTCL_LIBRARY=\"${TCL_LIBRARY}\" \
|
||
|
-DTCL_PACKAGE_PATH="\"/usr/local/lib\""
|
||
|
GENERIC_DIR= ../generic
|
||
|
UNIX_DIR= .
|
||
|
|
||
|
SRCS= \
|
||
|
$(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)/tclExpr.c \
|
||
|
$(GENERIC_DIR)/tclFHandle.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)/tclTest.c \
|
||
|
$(GENERIC_DIR)/tclUtil.c $(GENERIC_DIR)/tclVar.c \
|
||
|
$(GENERIC_DIR)/tclKanjiUtil.c \
|
||
|
$(UNIX_DIR)/tclAppInit.c $(UNIX_DIR)/tclMtherr.c \
|
||
|
$(UNIX_DIR)/tclUnixChan.c $(UNIX_DIR)/tclUnixFile.c \
|
||
|
$(UNIX_DIR)/tclUnixNotfy.c $(UNIX_DIR)/tclUnixPipe.c \
|
||
|
$(UNIX_DIR)/tclUnixSock.c $(UNIX_DIR)/tclUnixTest.c \
|
||
|
$(UNIX_DIR)/tclUnixTime.c $(UNIX_DIR)/tclUnixInit.c \
|
||
|
$(UNIX_DIR)/tclLoadDl2.c $(UNIX_DIR)/tclUnixFCmd.c
|
||
|
|
||
|
install:
|
||
|
install -c libtcl${VERSION}.a ${PREFIX}/lib/libtcl76jp.a
|
||
|
|
||
|
.include <bsd.lib.mk>
|