f68e96f599
Closes PR ports/2937. Submitted by: Taguchi Takeshi <taguchi@tohoku.iij.ad.jp>
61 lines
2.5 KiB
Makefile
61 lines
2.5 KiB
Makefile
NOPROFILE= yes
|
|
LIB= tk${VERSION}
|
|
TK_LIBRARY= ${PREFIX}/lib/tk${VERSION}
|
|
CFLAGS+= -I. -I./../generic -I../bitmaps \
|
|
-I${PREFIX}/include/tcl7.6jp \
|
|
-I/usr/X11R6/include \
|
|
-DKANJI -DKINPUT2 \
|
|
-DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 \
|
|
-DTK_LIBRARY=\"${TK_LIBRARY}\"
|
|
GENERIC_DIR= ../generic
|
|
UNIX_DIR= .
|
|
|
|
SRCS= \
|
|
$(GENERIC_DIR)/tkWStr.c $(GENERIC_DIR)/tkCtext.c \
|
|
$(UNIX_DIR)/tkKinput2.c \
|
|
$(GENERIC_DIR)/tk3d.c $(GENERIC_DIR)/tkArgv.c \
|
|
$(GENERIC_DIR)/tkAtom.c $(GENERIC_DIR)/tkBind.c \
|
|
$(GENERIC_DIR)/tkBitmap.c $(GENERIC_DIR)/tkClipboard.c \
|
|
$(GENERIC_DIR)/tkCmds.c $(GENERIC_DIR)/tkColor.c \
|
|
$(GENERIC_DIR)/tkConfig.c $(GENERIC_DIR)/tkCursor.c \
|
|
$(GENERIC_DIR)/tkError.c $(GENERIC_DIR)/tkEvent.c \
|
|
$(GENERIC_DIR)/tkFocus.c $(GENERIC_DIR)/tkFont.c \
|
|
$(GENERIC_DIR)/tkGet.c $(GENERIC_DIR)/tkGC.c \
|
|
$(GENERIC_DIR)/tkGeometry.c $(GENERIC_DIR)/tkGrab.c \
|
|
$(GENERIC_DIR)/tkGrid.c \
|
|
$(GENERIC_DIR)/tkMain.c $(GENERIC_DIR)/tkOption.c \
|
|
$(GENERIC_DIR)/tkPack.c $(GENERIC_DIR)/tkPlace.c \
|
|
$(GENERIC_DIR)/tkSelect.c \
|
|
$(GENERIC_DIR)/tkSend.c $(GENERIC_DIR)/tkUtil.c \
|
|
$(GENERIC_DIR)/tkVisual.c $(GENERIC_DIR)/tkWindow.c \
|
|
$(GENERIC_DIR)/tkButton.c \
|
|
$(GENERIC_DIR)/tkEntry.c $(GENERIC_DIR)/tkFrame.c \
|
|
$(GENERIC_DIR)/tkListbox.c $(GENERIC_DIR)/tkMenu.c \
|
|
$(GENERIC_DIR)/tkMenubutton.c $(GENERIC_DIR)/tkMessage.c \
|
|
$(GENERIC_DIR)/tkScale.c $(GENERIC_DIR)/tkScrollbar.c \
|
|
$(GENERIC_DIR)/tkCanvas.c $(GENERIC_DIR)/tkCanvArc.c \
|
|
$(GENERIC_DIR)/tkCanvBmap.c $(GENERIC_DIR)/tkCanvImg.c \
|
|
$(GENERIC_DIR)/tkCanvLine.c $(GENERIC_DIR)/tkCanvPoly.c \
|
|
$(GENERIC_DIR)/tkCanvPs.c $(GENERIC_DIR)/tkCanvText.c \
|
|
$(GENERIC_DIR)/tkCanvUtil.c \
|
|
$(GENERIC_DIR)/tkCanvWind.c $(GENERIC_DIR)/tkRectOval.c \
|
|
$(GENERIC_DIR)/tkTrig.c $(GENERIC_DIR)/tkImage.c \
|
|
$(GENERIC_DIR)/tkImgBmap.c $(GENERIC_DIR)/tkImgGIF.c \
|
|
$(GENERIC_DIR)/tkImgPPM.c \
|
|
$(GENERIC_DIR)/tkImgPhoto.c $(GENERIC_DIR)/tkText.c \
|
|
$(GENERIC_DIR)/tkTextBTree.c $(GENERIC_DIR)/tkTextDisp.c \
|
|
$(GENERIC_DIR)/tkTextIndex.c $(GENERIC_DIR)/tkTextMark.c \
|
|
$(GENERIC_DIR)/tkTextTag.c $(GENERIC_DIR)/tkTextWind.c \
|
|
$(GENERIC_DIR)/tkSquare.c $(GENERIC_DIR)/tkTest.c \
|
|
$(UNIX_DIR)/tkAppInit.c $(UNIX_DIR)/tkUnix.c \
|
|
$(UNIX_DIR)/tkUnixCursor.c \
|
|
$(UNIX_DIR)/tkUnixDialog.c $(UNIX_DIR)/tkUnixDraw.c \
|
|
$(UNIX_DIR)/tkUnixEvent.c $(UNIX_DIR)/tkUnixInit.c \
|
|
$(UNIX_DIR)/tkUnixSelect.c $(UNIX_DIR)/tkUnixWm.c \
|
|
$(UNIX_DIR)/tkUnixXId.c $(KANJISRCS)
|
|
|
|
install:
|
|
install -c libtk${VERSION}.a ${PREFIX}/lib/libtk42jp.a
|
|
|
|
.include <bsd.lib.mk>
|