File: Makefile.in

package info (click to toggle)
fvwm95 2.0.43ba-8
  • links: PTS
  • area: main
  • in suites: slink
  • size: 5,892 kB
  • ctags: 4,679
  • sloc: ansic: 45,549; makefile: 1,541; sh: 798; perl: 328
file content (114 lines) | stat: -rw-r--r-- 2,146 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
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
111
112
113
114
#
SHELL=/bin/sh

@SET_MAKE@

top_srcdir=@top_srcdir@
srcdir=@srcdir@
prefix=@prefix@
exec_prefix=@exec_prefix@
bin_dir=@exec_prefix@/bin
x_includes=@x_includes@
x_libraries=@x_libraries@
fvwm_icons=@fvwm_icons@
fvwm_rc=@fvwm_rc@
fvwm_name=@fvwm_name@
#
# This is where the modules will be installed
fvwm_dir=${prefix}/lib/X11/@fvwm_name@
man_dir=${prefix}/man/man1

#
# Libs
X_LIBRARY=-lX11 @LIBS@
XEXT_LIBRARY=-lXext
XPM_LIBRARY=-lXpm
FVWM_LIBRARY=-l${fvwm_name}
LIBS=-L${top_srcdir}/libs ${x_libraries} ${FVWM_LIBRARY} ${XPM_LIBRARY} ${XEXT_LIBRARY} ${X_LIBRARY}

PATH_DEFINES=-DFVWM_ICONDIR=\"${fvwm_icons}\" \
               -DFVWMDIR=\"${fvwm_dir}\" \
               -DFVWMRC=\"${fvwm_rc}\"

EXTRA_DEFINES=-DXPM -DSHAPE ${PATH_DEFINES}

CC=@CC@
INCLUDES=-I${top_srcdir}/include ${x_includes}
CFLAGS=${INCLUDES} @CFLAGS@ ${EXTRA_DEFINES} 
MAKEDEPEND=@MAKEDEPEND@
INSTALL=@INSTALL@
INSTALL_PROGRAM=@INSTALL_PROGRAM@
INSTALL_DATA=@INSTALL_DATA@
RM=@RM@

PROG=${fvwm_name}

SRCS=add_window.c \
       bindings.c \
       borders.c \
       builtins.c \
       colormaps.c \
       colors.c \
       complex.c \
       decorations.c \
       events.c \
       focus.c \
       functions.c \
       fvwm.c \
       icons.c \
       menus.c \
       misc.c \
       module.c \
       move.c \
       placement.c \
       read.c \
       resize.c \
       style.c \
       virtual.c \
       windows.c
 
OBJS=add_window.o \
       bindings.o \
       borders.o \
       builtins.o \
       colormaps.o \
       colors.o \
       complex.o \
       decorations.o \
       events.o \
       focus.o \
       functions.o \
       fvwm.o \
       icons.o \
       menus.o \
       misc.o \
       module.o \
       move.o \
       placement.o \
       read.o \
       resize.o \
       style.o \
       virtual.o \
       windows.o

all: ${PROG}

depend:
	${MAKEDEPEND} ${CFLAGS} ${SRCS}

install: all
	mkdir -p ${bin_dir}
	${INSTALL_PROGRAM} ${PROG} ${bin_dir}
	mkdir -p ${man_dir}
	${INSTALL_DATA} ${PROG}.man ${man_dir}/${PROG}.1 

clean:
	${RM} ${PROG} ${OBJS} *~ core *.bak

distclean: clean


${PROG}: ${OBJS}
	${CC} -o ${PROG} ${OBJS} ${LIBS}

#