wmaker: remove parameter 'which' from local function 'restoreMenu'
[wmaker-crm.git] / src / Makefile.am
blob78b0a75c74bfe0325b269ef267c6e2106365ba38
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         cycling.h \
28         def_pixmaps.h \
29         defaults.c \
30         defaults.h \
31         dialog.c \
32         dialog.h \
33         dock.c \
34         dockedapp.c \
35         dockedapp.h \
36         dock.h \
37         event.c \
38         event.h \
39         extend_pixmaps.h \
40         framewin.c \
41         framewin.h \
42         geomview.c \
43         geomview.h \
44         osdep.h \
45         icon.c \
46         icon.h \
47         keybind.h \
48         main.c \
49         main.h \
50         menu.c \
51         menu.h \
52         misc.h \
53         monitor.c \
54         monitor.h \
55         motif.c \
56         motif.h \
57         moveres.c \
58         pixmap.c \
59         pixmap.h \
60         placement.c \
61         placement.h \
62         properties.c \
63         properties.h \
64         resources.c \
65         resources.h \
66         rootmenu.c \
67         rootmenu.h \
68         screen.c \
69         screen.h \
70         session.h \
71         session.c \
72         shutdown.h \
73         shutdown.c \
74         switchpanel.c \
75         switchpanel.h \
76         stacking.c \
77         stacking.h \
78         startup.c \
79         startup.h \
80         superfluous.c \
81         superfluous.h \
82         switchmenu.c \
83         switchmenu.h \
84         texture.c \
85         texture.h \
86         usermenu.c \
87         usermenu.h \
88         xdnd.h \
89         xdnd.c \
90         xinerama.h \
91         xinerama.c \
92         xmodifier.h \
93         xutil.c \
94         xutil.h \
95         wconfig.h \
96         wcore.c \
97         wcore.h \
98         wdefaults.c \
99         wdefaults.h \
100         window.c \
101         window.h \
102         winmenu.c \
103         winmenu.h \
104         winspector.h \
105         winspector.c \
106         wmspec.h \
107         wmspec.c \
108         workspace.c \
109         workspace.h \
110         wsmap.c \
111         wsmap.h
113 if WM_OSDEP_BSD
114 wmaker_SOURCES += osdep_bsd.c
115 endif
116 if WM_OSDEP_DARWIN
117 wmaker_SOURCES += osdep_darwin.c
118 endif
119 if WM_OSDEP_LINUX
120 wmaker_SOURCES += osdep_linux.c
121 endif
122 if WM_OSDEP_GENERIC
123 wmaker_SOURCES += osdep_stub.c
124 endif
126 if USE_NESTED_FUNC
127 wmaker_SOURCES += misc.c \
128         xmodifier.c
129 else
130 nodist_wmaker_SOURCES = misc.hack_nf.c \
131         xmodifier.hack_nf.c
133 CLEANFILES = $(nodist_wmaker_SOURCES)
135 misc.hack_nf.c: misc.c $(top_srcdir)/script/nested-func-to-macro.sh
136         $(AM_V_GEN)$(top_srcdir)/script/nested-func-to-macro.sh \
137                 $(srcdir)/misc.c -o $(builddir)/misc.hack_nf.c \
138                 -f "append_string" -f "append_modifier"
140 xmodifier.hack_nf.c: xmodifier.c $(top_srcdir)/script/nested-func-to-macro.sh
141         $(AM_V_GEN)$(top_srcdir)/script/nested-func-to-macro.sh \
142                 $(srcdir)/xmodifier.c -o $(builddir)/xmodifier.hack_nf.c \
143                 -f "modwarn" -f "modbarf" -f "check_modifier" -f "store_modifier"
144 endif
147 AM_CFLAGS =
149 AM_CPPFLAGS = \
150         $(DFLAGS) -DLOCALEDIR=\"$(NLSDIR)\" \
151         -I$(top_srcdir)/wrlib \
152         -I$(top_srcdir)/WINGs @HEADER_SEARCH_PATH@ 
155 wmaker_LDADD = \
156         $(top_builddir)/WINGs/libWINGs.la\
157         $(top_builddir)/WINGs/libWUtil.la\
158         $(top_builddir)/wrlib/libwraster.la\
159         @XLFLAGS@ \
160         @LIBXRANDR@ \
161         @LIBXINERAMA@ \
162         @XLIBS@ \
163         @LIBM@ \
164         @INTLIBS@