geany_project_save implementation
[geanyprj.git] / Makefile.am
blob5deec7f1075d9632bb3b107f2d1228b407719b1a
1 ## Makefile.am -- Process this file with automake to produce Makefile.in
2 #SUBDIRS = tests
4 EXTRA_DIST = THANKS
6 dist_noinst_SCRIPTS = indent-all.sh
8 noinst_HEADERS = makefile.win32 prgen.py
10 lib_LTLIBRARIES = geanyprj.la
11 geanyprj_la_SOURCES = geanyprj.c utils.c sidebar.c project.c xproject.c
12 geanyprj_la_LDFLAGS = -module -avoid-version
13 geanyprj_la_LIBADD  = @GTK_LIBS@
15 AM_CPPFLAGS = @GTK_CFLAGS@ \
16                 -I$(GEANY_SRC)/src \
17                 -I$(GEANY_SRC)/plugins \
18                 -I$(GEANY_SRC)/tagmanager/include \
19                 -I$(GEANY_SRC)/scintilla/include
22 if UNITTESTS
23 TESTS=unittests
24 noinst_PROGRAMS=unittests
25 unittests_SOURCES = unittests.c
26 unittests_INCLUDES = @CHECK_CFLAGS@ unittests.c
27 unittests_LDADD  = @GTK_LIBS@ @CHECK_LIBS@ .libs/geanyprj.a
28 endif
30 install: .libs/geanyprj.so
31         mkdir -p $(HOME)/.geany/plugins
32         cp $< $(HOME)/.geany/plugins/
34 .PHONY: ChangeLog mrproper
36 ChangeLog:
37         git log > ChangeLog
39 mrproper:
40         cat .gitignore | xargs rm -rf