File: Imakefile

package info (click to toggle)
xslideshow 3.1-7
  • links: PTS
  • area: non-free
  • in suites: sarge
  • size: 792 kB
  • ctags: 1,375
  • sloc: ansic: 14,006; makefile: 897; sh: 1
file content (95 lines) | stat: -rw-r--r-- 2,462 bytes parent folder | download | duplicates (2)
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
#include "./config.h"

#if defined HAS_XPM
          XPMLIB = -lXpm
     XPM_DEFINES = -D_HAS_XPM
#else
          XPMLIB =
     XPM_DEFINES =
#endif

#if defined IS_X11R4
   X11R4_DEFINES = -D_X11R4
#else
   X11R4_DEFINES =
#endif

#if defined HAS_MOTIF
       WIDGETLIB = $(XMLIB)
       WIDGETDEF = -D_MOTIF
#else
       WIDGETLIB = $(XAWLIB)
       WIDGETDEF =
#endif

#if defined DO_EDIT
         MISCDEF = -D_EDIT
 LOCAL_LIBRARIES = $(XPMLIB) $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB) -lm
#else
         MISCDEF =
 LOCAL_LIBRARIES = $(XPMLIB) $(XMULIB) $(XTOOLLIB) $(XLIB) -lm
#endif

         DEPLIBS = $(DEPXLIB)
        INCLUDES = -I. -I/usr/include -I/usr/local/include
   SYS_LIBRARIES =
       CCOPTIONS =


### gcc ###
#    CDEBUGFLAGS = -g -Wall -D_DEBUG
#    CDEBUGFLAGS = -O2
#        DEFINES = -ansi $(XPM_DEFINES) $(X11R4_DEFINES) $(WIDGETDEF) $(MISCDEF)
#             CC = gcc

### acc ###
#    CDEBUGFLAGS = -g -Xc -w
#    STD_DEFINES =
#        DEFINES = $(XPM_DEFINES) $(X11R4_DEFINES) $(WIDGETDEF) $(MISCDEF)
#            CC  = acc

### cc ###
#    CDEBUGFLAGS =
#        DEFINES = $(XPM_DEFINES) $(X11R4_DEFINES) $(WIDGETDEF) $(MISCDEF)
#             CC = /opt/SUNWspro/bin/cc

### cc ###
     CDEBUGFLAGS = -O2
         DEFINES = $(XPM_DEFINES) $(X11R4_DEFINES) $(WIDGETDEF) $(MISCDEF)
              CC = cc

        PROGRAMS = xslideshow xslideshow-control

        BSD_SRCS = random.c
        BSD_OBJS = random.o


          SRCS1 = window.c xslideshow.c comm.c\
		  gif2gimage.c jpg2gimage.c image.c\
		  zoom.c lg3zoom.c reduce.c mediancut.c quantize.c nquant.c clock.c biff.c\
		  slide.c fade.c flush.c monotone.c reverse.c\
		  wipe.c block.c mosaic.c coloranim.c coloranim2.c\
		  shuffle.c puzzle.c slit.c transparent.c\
		  move.c float24.c\
	      $(BSD_SRCS)

          OBJS1 = window.o xslideshow.o comm.o\
		  gif2gimage.o jpg2gimage.o image.o\
		  zoom.o lg3zoom.o reduce.o mediancut.o quantize.o nquant.o clock.o biff.o\
		  slide.o fade.o flush.o monotone.o reverse.o\
		  wipe.o block.o mosaic.o coloranim.o coloranim2.o\
		  shuffle.o puzzle.o slit.o transparent.o\
		  move.o float24.o\
	      $(BSD_OBJS)


       COMMLIBS = $(WIDGETLIB) $(XMULIB) $(XTOOLLIB) $(XLIB) -lm
      PROGRAMS2 = xslideshow-control
          SRCS2 = xslideshow-control.c
          OBJS2 = xslideshow-control.o

all:: $(PROGRAMS)

ComplexProgramTarget_1(xslideshow,$(LOCAL_LIBRARIES),)
ComplexProgramTarget_2(xslideshow-control,$(COMMLIBS),)