#ifndef XCOMM #define XCOMM # #endif XCOMM Imakefile -- Imakefile for ghostview. XCOMM Copyright (C) 1992 Timothy O. Theisen XCOMM XCOMM This program is free software; you can redistribute it and/or modify XCOMM it under the terms of the GNU General Public License as published by XCOMM the Free Software Foundation; either version 2 of the License, or XCOMM (at your option) any later version. XCOMM XCOMM This program is distributed in the hope that it will be useful, XCOMM but WITHOUT ANY WARRANTY; without even the implied warranty of XCOMM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the XCOMM GNU General Public License for more details. XCOMM XCOMM You should have received a copy of the GNU General Public License XCOMM along with this program; if not, write to the Free Software XCOMM Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. XCOMM XCOMM Author: Tim Theisen Systems Programmer XCOMM Internet: tim@cs.wisc.edu Department of Computer Sciences XCOMM UUCP: uwvax!tim University of Wisconsin-Madison XCOMM Phone: (608)262-0438 1210 West Dayton Street XCOMM FAX: (608)262-9777 Madison, WI 53706 XCOMM This file is part of the hacked version of the ghostview package XCOMM which is distributed under the terms of the gnu license. The XCOMM modification referred to above is by Tanmoy Bhattacharya, XCOMM on Nov 17, 1994. Neither the modification, XCOMM nor the original program provides any warranty. GS_DIR = /usr/local/lib/ghostscript #define Use_SelFile #ifdef Use_SelFile SRCS = main.c misc.c callbacks.c actions.c dialogs.c \ Ghostview.c ps.c getenv.c setenv.c strcasecmp.c \ SelFile.c Dir.c Path.c Draw.c pdf.c OBJS = main.o misc.o callbacks.o actions.o dialogs.o \ Ghostview.o ps.o getenv.o setenv.o strcasecmp.o \ SelFile.o Dir.o Path.o Draw.o pdf.o SELFILE_DEFINE = -DSELFILE #else SRCS = main.c misc.c callbacks.c actions.c dialogs.c \ Ghostview.c ps.c getenv.c setenv.c strcasecmp.c pdf.c OBJS = main.o misc.o callbacks.o actions.o dialogs.o \ Ghostview.o ps.o getenv.o setenv.o strcasecmp.o pdf.o SELFILE_DEFINE = #endif DEPLIBS = XawClientDepLibs LOCAL_LIBRARIES = XawClientLibs SYS_LIBRARIES = -lm XCOMM Add -DBSD4_2 to DEFINES if you system does not have memset() and memcpy() XCOMM Remove -DNOMEMMOVE if memmove exists. DEFINES = -DNON_BLOCKING_IO -DNOMEMMOVE \ $(SIGNAL_DEFINES) $(SELFILE_DEFINE) .NOEXPORT: AllTarget(ghostview) depend:: app-defaults.h ComplexProgramTarget(ghostview) InstallAppDefaults(Ghostview) InstallNonExec(gvpdf.pro,$(GS_DIR)) main.o: app-defaults.h app-defaults.h: Ghostview.ad ad2c sh ad2c Ghostview.ad > app-defaults.h clean:: $(RM) app-defaults.h