File: Makefile.noimake

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 (110 lines) | stat: -rw-r--r-- 3,143 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# Default definitions
          TOPDIR = /usr
          LIBDIR = $(TOPDIR)/lib/X11
         INCLUDE = $(TOPDIR)/include
   X11_LIBRARIES = -lXmu -lXt -lXext -lX11
         SYSVLIB =
          XPMLIB =
       X11R4DEFS =
         XPMDEFS =
        SYSVDEFS =
       WIDGETLIB = -lXaw
      WIDGETDEFS =
       MISCLIBS  =
        MISCDEFS =


# Uncomment the following line if your machine is SystemV
        SYSVDEFS = -DSVR4 -DSYSV

# Uncomment the following line if your machine needs -lbsd library.
#        SYSVLIB = -lbsd

# Uncomment the following line if you compile with SunOS4.x
#  X11_LIBRARIES = -lXt -lXext -lX11
#      X11R4DEFS = -D_X11R4
#         LIBDIR = /usr/openwin/lib/X11
#        INCLUDE = /usr/openwin/include

# Uncomment the following line if you compile with openwin library.
#         LIBDIR = /usr/openwin/lib/X11
#        INCLUDE = /usr/openwin/include

# Uncomment the following line if you compile with X11R5 library.
          LIBDIR = /usr/X11R5/lib
         INCLUDE = /usr/X11R5/include

# Uncomment the following line if you have the XPM library.
#        XPMDEFS = -D_HAS_XPM
#         XPMLIB = -lXpm

# Uncomment the following line if you have the Motif library.
#      WIDGETLIB = -lXm
#     WIDGETDEFS = -D_MOTIF

# Uncomment the following line if you want to edit (move or remove).
        MISCDEFS = -D_EDIT
        MISCLIBS = -lXaw



# gcc
#        CFLAGS = -ansi -O $(SYSVDEFS) $(X11R4DEFS) $(XPMDEFS) $(WIDGETDEFS) $(MISCDEFS)
#            CC = gcc -I$(INCLUDE)

# acc
#        CFLAGS = -O -Xc -w $(SYSVDEFS) $(X11R4DEFS) $(XPMDEFS) $(WIDGETDEFS) $(MISCDEFS)
#            CC = acc -I$(INCLUDE)

# cc
         CFLAGS = -O $(SYSVDEFS) $(X11R4DEFS) $(XPMDEFS) $(WIDGETDEFS) $(MISCDEFS)
             CC = cc -I$(INCLUDE)


EXTRA_LIBRARIES = $(XPMLIB) $(MISCLIBS) $(X11_LIBRARIES) -lm $(SYSVLIB)

       BSD_SRCS = random.c
       BSD_OBJS = random.o

           SRCS = 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)

           OBJS = 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) $(EXTRA_LIBRARIES)
          SRCS2 = xslideshow-control.c
          OBJS2 = xslideshow-control.o


all:: xslideshow xslideshow-control

xslideshow: $(OBJS)
	$(CC) -o xslideshow $(OBJS) -L$(LIBDIR) $(EXTRA_LIBRARIES)

xslideshow-control: $(OBJS2)
	$(CC) -o xslideshow-control $(OBJS2) -L$(LIBDIR) $(COMMLIBS)

clean:
	rm -f xslideshow xslideshow-control $(OBJS)

depend:
	@$(CC) -M $(SRCS) >DependList

###
include DependList