--- Tgif.tmpl.orig Mon Dec 3 09:25:01 2001 +++ Tgif.tmpl Mon Dec 3 09:28:36 2001 @@ -41,6 +41,9 @@ XIMPDEFINES = #endif +#define IHaveSubdirs +SUBDIRS = po + PROGRAMS = tgif XCOMM prtgif frontend11.o testdrive TGIFDIR = $(LIBDIR)/tgif XCOMM CDEBUGFLAGS= -g -Wall @@ -48,7 +51,7 @@ XCOMM BINDIR = /u/halfmoon/bin XCOMM MANPATH = /u/halfmoon/man XCOMM TGIFDIR = /u/halfmoon/lib/X11/tgif -LOCALEDIR = /usr/share/locale +LOCALEDIR = $(PREFIX)/share/locale DIRDEFINES = -DTGIF_PATH=\"$(TGIFDIR)\" -DPSFILE_MOD=0664 \@@\ -DLOCALEDIR=\"$(LOCALEDIR)\" \@@\ -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" \@@\ @@ -61,14 +64,16 @@ MISCDEFINES = -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT \@@\ -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP \@@\ -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -MOREDEFINES = +MOREDEFINES = -DUSE_XT_INITIALIZE -D_ENABLE_NLS -DA4PAPER XCOMM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ XCOMM Please see Imakefile for more defines to be added to MOREDEFINES above XCOMM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ DEPLIBS = $(DEPXLIB) -LOCAL_LIBRARIES = $(XLIB) +LOCAL_LIBRARIES = $(XLIB) $(XTOOLLIB) $(XLIB) XCOMM LOCAL_LIBRARIES = $(XMULIB) $(XTOOLLIB) $(XLIB) XCOMM SYS_LIBRARIES = -ldl -lm SYS_LIBRARIES = -lm +EXTRA_INCLUDES += -I$(LOCALBASE)/include +EXTRA_LIBRARIES += -L$(LOCALBASE)/lib -lintl