#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 #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 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 SELFILE_DEFINE = -DSELFILE -DHOME_ON_DEMAND #else SRCS = main.c misc.c callbacks.c actions.c dialogs.c \ Ghostview.c ps.c getenv.c setenv.c strcasecmp.c OBJS = main.o misc.o callbacks.o actions.o dialogs.o \ Ghostview.o ps.o getenv.o setenv.o strcasecmp.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() DEFINES = -DNON_BLOCKING_IO $(SIGNAL_DEFINES) $(SELFILE_DEFINE) .NOEXPORT: AllTarget(ghostview) depend:: app-defaults.h ComplexProgramTarget(ghostview) InstallAppDefaults(Ghostview) main.o: app-defaults.h app-defaults.h: Ghostview.ad ./ad2c Ghostview.ad > app-defaults.h clean:: $(RM) app-defaults.h