Prevent crash when switchpanel is not initialised.
[wmaker-crm.git] / src / Makefile.am
blob2d1bd2bbc3ff37780314f3d846252cc1c2c587ff
1 AUTOMAKE_OPTIONS =
3 BUILT_SOURCES = wconfig.h
5 bin_PROGRAMS = wmaker
7 EXTRA_DIST = 
9 wmaker_SOURCES =        \
10         GNUstep.h \
11         WindowMaker.h \
12         actions.c \
13         actions.h \
14         appicon.c \
15         appicon.h \
16         application.c \
17         application.h \
18         appmenu.c \
19         appmenu.h \
20         balloon.c \
21         balloon.h \
22         client.c \
23         client.h \
24         colormap.c \
25         colormap.h \
26         cycling.c \
27         def_pixmaps.h \
28         defaults.c \
29         defaults.h \
30         dialog.c \
31         dialog.h \
32         dock.c \
33         dockedapp.c \
34         dockedapp.h \
35         dock.h \
36         event.c \
37         extend_pixmaps.h \
38         framewin.c \
39         framewin.h \
40         geomview.c \
41         geomview.h \
42         funcs.h \
43         icon.c \
44         icon.h \
45         keybind.h \
46         main.c \
47         main.h \
48         menu.c \
49         menu.h \
50         misc.c \
51         misc.h \
52         monitor.c \
53         motif.c \
54         motif.h \
55         moveres.c \
56         pixmap.c \
57         pixmap.h \
58         placement.c \
59         placement.h \
60         properties.c \
61         properties.h \
62         resources.c \
63         resources.h \
64         rootmenu.c \
65         rootmenu.h \
66         screen.c \
67         screen.h \
68         session.h \
69         session.c \
70         shutdown.h \
71         shutdown.c \
72         switchpanel.c \
73         switchpanel.h \
74         stacking.c \
75         stacking.h \
76         startup.c \
77         superfluous.c \
78         superfluous.h \
79         switchmenu.c \
80         texture.c \
81         texture.h \
82         usermenu.c \
83         usermenu.h \
84         xdnd.h \
85         xdnd.c \
86         xinerama.h \
87         xinerama.c \
88         xmodifier.h \
89         xmodifier.c \
90         xutil.c \
91         xutil.h \
92         wconfig.h \
93         wcore.c \
94         wcore.h \
95         wdefaults.c \
96         wdefaults.h \
97         window.c \
98         window.h \
99         winmenu.c \
100         winspector.h \
101         winspector.c \
102         wmspec.h \
103         wmspec.c \
104         workspace.c \
105         workspace.h
107 if WM_OSDEP_BSD
108 wmaker_SOURCES += osdep_bsd.c
109 endif
110 if WM_OSDEP_DARWIN
111 wmaker_SOURCES += osdep_darwin.c
112 endif
113 if WM_OSDEP_LINUX
114 wmaker_SOURCES += osdep_linux.c
115 endif
116 if WM_OSDEP_GENERIC
117 wmaker_SOURCES += osdep_stub.c
118 endif
120 AM_CFLAGS =
122 AM_CPPFLAGS = \
123         $(DFLAGS) -DLOCALEDIR=\"$(NLSDIR)\" \
124         -I$(top_srcdir)/wrlib \
125         -I$(top_srcdir)/WINGs @HEADER_SEARCH_PATH@ 
128 wmaker_LDADD = \
129         $(top_builddir)/WINGs/libWINGs.la\
130         $(top_builddir)/WINGs/libWUtil.la\
131         $(top_builddir)/wrlib/libwraster.la\
132         @XLFLAGS@ \
133         @LIBXRANDR@ \
134         @LIBXINERAMA@ \
135         @XLIBS@ \
136         @LIBM@ \
137         @INTLIBS@