summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
blob: 8a6d32406dd37239bf1c407ed8d4219d17ec65ce (plain)
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

EXTRA_DIST = npapi.h npunix.c npupp.h plugin.c plugin.h

AM_CFLAGS = @CFLAGS@ $(X_CFLAGS) $(NSPR_CFLAGS)


lib_LTLIBRARIES = kaffeineplugin.la

libdir = $(prefix)/plugins

kaffeineplugin_la_SOURCES = plugin.c npunix.c
kaffeineplugin_la_LDFLAGS = -avoid-version -module
kaffeineplugin_la_LIBADD  = $(X_PRE_LIBS) -lm $(X_LIBS) $(X_EXTRA_LIBS) -lX11 -lXt -lXaw $(DYNAMIC_LD_LIBS)

noinst_HEADERS = npapi.h \
		 npupp.h \
		 plugin.h



debug:
	@$(MAKE) CFLAGS="$(DEBUG_CFLAGS) $(X_CFLAGS)"

install-debug: debug
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am