File: Imakefile

package info (click to toggle)
plotmtv 1.4.1-4
  • links: PTS
  • area: main
  • in suites: slink
  • size: 4,024 kB
  • ctags: 5,006
  • sloc: ansic: 51,179; makefile: 1,976; fortran: 1,277; sh: 510; csh: 439
file content (59 lines) | stat: -rw-r--r-- 1,924 bytes parent folder | download | duplicates (6)
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
# @(#)Imakefile 2/3/93 
#
# Imakefile - Plotmtv V1.4.0 Utilities
#
# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose and without fee is hereby granted,
# provided that the above copyright notice appear in all copies and that
# both that copyright notice and this permission notice appear in
# supporting documentation.
#
# This file is provided AS IS with no warranties of any kind.  The author
# shall have no liability with respect to the infringement of copyrights,
# trade secrets or any patents by this file or any part thereof.  In no
# event will the author be liable for any lost revenue or profits or
# other special, indirect and consequential damages.
#
#
    LOCALBINDIR = ../Bin
       INCLUDES = -I../Lib
        PLOTLIB = ../Lib/libctr.a 
  SYS_LIBRARIES = -lm


#
# Conversion utilities
#
CONV1_SOURCES = ctr2mtv.c
CONV1_OBJECTS = ctr2mtv.o
CONV1_PROGRAM = ctr2mtv

CONV2_SOURCES = drawplot2mtv.c
CONV2_OBJECTS = drawplot2mtv.o
CONV2_PROGRAM = drawplot2mtv

CONV3_SOURCES = pdraw2mtv.c
CONV3_OBJECTS = pdraw2mtv.o
CONV3_PROGRAM = pdraw2mtv

CONV4_SOURCES = mtv2mtv.c
CONV4_OBJECTS = mtv2mtv.o
CONV4_PROGRAM = mtv2mtv

PROGRAMS      = $(CONV1_PROGRAM) $(CONV2_PROGRAM) \
                $(CONV3_PROGRAM) $(CONV4_PROGRAM) 

all:: $(PROGRAMS)

install.local:: $(PROGRAMS)
	$(INSTALL) -c $(INSTPGMFLAGS)  $(PROGRAMS) $(LOCALBINDIR)

SingleProgramTarget($(CONV1_PROGRAM),$(CONV1_OBJECTS), $(PLOTLIB), /**/)
SingleProgramTarget($(CONV2_PROGRAM),$(CONV2_OBJECTS), $(PLOTLIB), /**/)
SingleProgramTarget($(CONV3_PROGRAM),$(CONV3_OBJECTS), $(PLOTLIB), /**/)
SingleProgramTarget($(CONV4_PROGRAM),$(CONV4_OBJECTS), $(PLOTLIB), /**/)

InstallProgramWithFlags($(CONV1_PROGRAM),$(BINDIR), /**/)
InstallProgramWithFlags($(CONV2_PROGRAM),$(BINDIR), /**/)
InstallProgramWithFlags($(CONV3_PROGRAM),$(BINDIR), /**/)
InstallProgramWithFlags($(CONV4_PROGRAM),$(BINDIR), /**/)