tkgoodstuff/libs/Makefile

60 lines
1.9 KiB
Makefile
Executable File

# Generated automatically from Makefile.in by configure.
# This file is a Makefile for tkgoodstuff. If it has the name
# "Makefile.in" then it is a template for a Makefile; to generate the
# actual Makefile, run "./configure", which is a configuration script
# generated by the "autoconf" program (constructs like "@foo@" will
# get replaced in the actual Makefile.
SHELL = /bin/sh
VERSION = 8.0
prefix = /usr
exec_prefix = ${prefix}
TK_PREFIX = /usr
# Where to put binaries and the scripts (tkgoodstuff, Dialer)
LIB_INSTALL_DIR = $(prefix)/lib/tkgoodstuff
BIN_INSTALL_DIR = $(exec_prefix)/bin
# Used on some platforms in TCL_LD_SEARCH_FLAGS
LIB_RUNTIME_DIR = $(LIB_INSTALL_DIR)
CC = gcc
TKGWISH_NAME = tkgwish$(VERSION)
LIBS = -L/usr/lib -ltk8.0 -L/usr/lib -ltcl8.0 -L/usr/X11R6/lib -lX11 -ldl -lm -lc
XINCLUDES = -I/usr/X11R6/include
SRCDIR = .
CFLAGS = -O -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -I$(SRCDIR) \
-I$(TK_PREFIX)/include -I$(TK_PREFIX)/include/tcl \
$(XINCLUDES)
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL} -m 644
OBJS = tkFvwm.o tixImgXpm.o tkXAccess.o clientWin.o \
tkgButton.o tkgUnixButton.o tkgFrame.o tkg.o tkAppInit.o
all: tkgwish
tkgwish: $(TKGWISH_NAME)
$(TKGWISH_NAME): $(OBJS)
$(CC) -o $@ -rdynamic $(OBJS) \
$(LIBS)
install: tkgwish
@echo "Installing $(BIN_INSTALL_DIR)/$(TKGWISH_NAME)"
@$(INSTALL_PROGRAM) $(TKGWISH_NAME) $(BIN_INSTALL_DIR)
clean:
@rm -f *.o tkgwish* *.so pkgIndex.tcl
distclean:
@rm -f *.a *.o core errs *~ \#* TAGS *.E config.* \
a.out errors tkgwish* Makefile *.so *.tmp