File: Makefile.am

package info (click to toggle)
odin 2.0.5-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,196 kB
  • sloc: cpp: 62,638; sh: 4,541; makefile: 779
file content (38 lines) | stat: -rw-r--r-- 802 bytes parent folder | download | duplicates (4)
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
26
27
28
29
30
31
32
33
34
35
36
37
38

if GUI_ENABLED

AM_CPPFLAGS = $(all_includes)


# Auto-generate any needed moc files
%_moc.cpp: %.h
	$(MOC) -o $@ $<


bin_PROGRAMS = geoedit

geoedit_SOURCES = \
  main.cpp \
  geoedit.cpp  geoedit.h geoedit_moc.cpp \
  geoeditlabel.cpp  geoeditlabel.h geoeditlabel_moc.cpp \
  geoeditview.cpp  geoeditview.h geoeditview_moc.cpp

geoedit_LDADD = ../odindata/libodindata.la $(DATALIBS) ../odinqt/libodinqt.la ../odinpara/libodinpara.la ../tjutils/libtjutils.la $(GUILIBS) $(BASELIBS)

# Auto-generate manual pages, only if not in srcdir
%.1: %
	if test ! -f $(srcdir)/$@ ; then $(HELP2MAN) --name="$$(./$< --help | grep $<: | sed s/'$<: '//)" ./$< > $@ ; fi

# Manual pages for distribution
dist_man_MANS = geoedit.1


dist-hook:
	-rm -rf $(distdir)/*_moc.cpp

endif

clean-local:
	-rm -f *_moc.cpp