fieker-DuValspielwiese
Last change
on this file since f78374 was
a708e0,
checked in by Olaf Bachmann <obachman@…>, 27 years ago
|
This commit was generated by cvs2svn to compensate for changes in r441,
which included commits to RCS files with non-trunk default branches.
git-svn-id: file:///usr/local/Singular/svn/trunk@442 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100644
|
File size:
1.7 KB
|
Line | |
---|
1 | ## file: Makefile.in |
---|
2 | ## directory: mpviewer |
---|
3 | ## makefile creates the mpview -- a viewer for .mp files |
---|
4 | ## |
---|
5 | |
---|
6 | srcdir = @srcdir@ |
---|
7 | top_srcdir = @top_srcdir@ |
---|
8 | prefix = @prefix@ |
---|
9 | exec_prefix = @exec_prefix@ |
---|
10 | libdir = @libdir@ |
---|
11 | bindir = @bindir@ |
---|
12 | includedir = $(prefix)/include |
---|
13 | |
---|
14 | CC = @CC@ |
---|
15 | SHELL = /bin/sh |
---|
16 | CFLAGS = @CFLAGS@ |
---|
17 | CPPFLAGS = -I. @CPPFLAGS@ |
---|
18 | |
---|
19 | INCLUDES = -I$(includedir) |
---|
20 | LIBS = @LIBS@ -lMP -lgmp |
---|
21 | LIBDIR = $(libdir) |
---|
22 | |
---|
23 | CLEAN = @CLEAN@ |
---|
24 | INSTALL = ../install-sh -c |
---|
25 | INSTALL_PROGRAM = ${INSTALL} |
---|
26 | |
---|
27 | |
---|
28 | COMPILE = $(CC) $(DEFS) -L$(LIBDIR) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $@.c -o $@ $(LIBS) |
---|
29 | |
---|
30 | .SUFFIXES: |
---|
31 | .SUFFIXES: .c .o |
---|
32 | |
---|
33 | .c.o: |
---|
34 | ${CC} $(INCLUDES) ${CFLAGS} ${CPPFLAGS} ${DEFS} -c $< |
---|
35 | |
---|
36 | HEADER = label.h leaf.h node.h ${prefix}/include/MP.h |
---|
37 | |
---|
38 | SRC = infix.c latex.c leaf.c mpview.c node.c prefix.c util.c |
---|
39 | |
---|
40 | OBJ = infix.o latex.o leaf.o mpview.o node.o prefix.o util.o |
---|
41 | |
---|
42 | DISTFILES = ${SRC} ${HEADER} Makefile.in displaymp testall README |
---|
43 | |
---|
44 | all: mpview |
---|
45 | |
---|
46 | install: mk-bindir mpview |
---|
47 | ${INSTALL_PROGRAM} mpview ${bindir} |
---|
48 | |
---|
49 | mk-bindir: |
---|
50 | ${top_srcdir}/mkinstalldirs ${bindir} |
---|
51 | |
---|
52 | |
---|
53 | mpview: ${OBJ} |
---|
54 | ${CC} -o $@ $(INCLUDES) ${CFLAGS} ${DEFS} -L$(LIBDIR) ${OBJ} $(LIBS) |
---|
55 | |
---|
56 | ${OBJ}: ${HEADER} |
---|
57 | infix.o: infix.h |
---|
58 | prefix.o: prefix.h |
---|
59 | latex.o: latex.h |
---|
60 | |
---|
61 | TAGS: |
---|
62 | etags *.c *.h |
---|
63 | |
---|
64 | test: |
---|
65 | ./testall > testall.out |
---|
66 | |
---|
67 | dist: |
---|
68 | rm -f mpview.tar* |
---|
69 | tar cf mpview.tar ${DISTFILES} data |
---|
70 | gzip -9 mpview.tar |
---|
71 | |
---|
72 | clean: |
---|
73 | rm -f ${OBJ} |
---|
74 | |
---|
75 | distclean: clean |
---|
76 | rm -f mpview |
---|
77 | rm -f Makefile |
---|
78 | |
---|
79 | tar: clean |
---|
80 | /bin/rm -f mime.tar* |
---|
81 | tar cvf mime.tar Makefile README data displaymp* infix.c \ |
---|
82 | infix.h label.h latex.c latex.h leaf.c leaf.h mpview.c \ |
---|
83 | my.mp node.c node.h prefix.c prefix.h testall testall.out |
---|
84 | uuencode mime.tar mime.tar > mime.tar.uue |
---|
Note: See
TracBrowser
for help on using the repository browser.