delete project support
[geanyprj.git] / Makefile.am
blobd6bcf96ac1677b0c77796f873d785e2c1558126c
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 browser.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