File: Imakefile

package info (click to toggle)
ghostview 1.5-27
  • links: PTS
  • area: main
  • in suites: woody
  • size: 736 kB
  • ctags: 960
  • sloc: ansic: 8,763; makefile: 310; sh: 81
file content (69 lines) | stat: -rw-r--r-- 2,441 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#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
#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 -lz

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
	sh ad2c Ghostview.ad > app-defaults.h

clean::
	$(RM) app-defaults.h