# doc/Makefile.in	-*- Makefile -*-
# $Id: Makefile.in,v 1.2 2005/01/11 19:05:17 sasha Exp $
# autoconf/Make.common.in	 -*- Makefile -*-
# release date (man), LSM date, version number/name, current maintainer
# $Id: Make.common.in,v 1.3 2005/05/26 16:44:49 sasha Exp $
DATE=01 August 2007
LSMDATE=01Aug07
VERSION=1.00.01
VERNAME=aterm-$(VERSION)#
MAINT=Sasha Vasko#
MAINTEMAIL=<sashav@users.sourceforge.net>#
WEBMAINT=Sasha Vasko#
WEBMAINTEMAIL=<sashav@users.sourceforge.net>#
WEBPAGE=<http://aterm.sourceforge.net>#
FTPSITENAME=ftp.afterstep.org#
FTPSITEDIR=/apps/aterm#
#-------------------------------------------------------------------------

SHELL = /bin/sh

# This variable makes it possible to move the installation root to another
# directory. This is useful when you're creating a binary distribution
# If empty, normal root will be used.
# You can run eg. 'make install DESTDIR=/packages/rxvt-xx' to accomplish
# that.
# DESTDIR = /usr/local/X11/$(VERNAME)

# Installation target directories & other installation stuff
prefix = /usr
exec_prefix = /usr
binprefix =
manprefix =
bindir = /usr/bin
mandir = /usr/share/man/man1
manext = 1

# Tools & program stuff
CC = gcc
CPP = gcc -E
MV = /bin/mv
RM = /bin/rm
RMF = /bin/rm -f
CP = /bin/cp
SED = /usr/bin/sed
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = /usr/bin/install -c -s -m 755
INSTALL_DATA = /usr/bin/install -c -m 644

# Flags & libs
# add -DBINDIR=\""$(bindir)/"\" to CPPFLAGS, if we need to spawn a program

CFLAGS = -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables   -DNO_DEBUG_OUTPUT 
CPPFLAGS = 
LDFLAGS =  -rdynamic
DEFS = -DHAVE_CONFIG_H
LIBS = 
DINCLUDE = 
DLIB = 

# X Include directory
CFLAGS_LIBAFTERIMAGE=
CFLAGS_LIBAFTERSTEP=
XINC = 

LIB_AFTERSTEP	= 
LIBS_AFTERIMAGE = 

# extra libraries needed by X on some systems, X library location
XLIB = $(LIB_AFTERSTEP) $(LIBS_AFTERIMAGE)   -L/usr/lib64  -lSM -lICE  -lX11 -lXext

# End of common section of the Makefile
#-------------------------------------------------------------------------

srcdir = .


basedir = ..
thisdir = doc

first_rule: all
dummy:

#
# Distribution variables
#

DIST_ETC  = etc/rxvt.termcap etc/rxvt.terminfo etc/XTerm.ad
DIST_MENU = menu/menu menu/example.menu menu/rxvt.menu menu/terminal.menu\
	    menu/jedmenu.sl
DIST	  = Makefile.in README.thai README.greek README.menu README.xvt FAQ aterm.1
	     

#-------------------------------------------------------------------------

all:

distclean:
	$(RMF) Makefile

install:
	$(INSTALL_DATA) aterm.1 $(DESTDIR)$(mandir)/$(manprefix)aterm.$(manext)

uninstall:
	-cd $(mandir); $(RMF) $(manprefix)aterm.$(manext)

distdirs:
	mkdir $(basedir)/../$(VERNAME)/$(thisdir)
	mkdir $(basedir)/../$(VERNAME)/$(thisdir)/etc
	mkdir $(basedir)/../$(VERNAME)/$(thisdir)/menu

distcopy: distdepend
	$(CP) -p $(basedir)/$(VERNAME).lsm $(basedir)/../$(VERNAME);
	$(CP) -p $(DIST)      $(basedir)/../$(VERNAME)/$(thisdir)
	$(CP) -p $(DIST_ETC)  $(basedir)/../$(VERNAME)/$(thisdir)/etc
	$(CP) -p $(DIST_MENU) $(basedir)/../$(VERNAME)/$(thisdir)/menu

distdepend: alldoc

# ------------------------------------------------------------------------
# DO NOT DELETE: ugly dependency list follows
