File: Makefile.am

package info (click to toggle)
goplay 0.9.1%2Bnmu1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 728 kB
  • ctags: 453
  • sloc: cpp: 3,431; ansic: 996; makefile: 88; sh: 35
file content (67 lines) | stat: -rw-r--r-- 1,501 bytes parent folder | download
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
## Process this file with automake to produce Makefile.in

bin_PROGRAMS = goplay
noinst_PROGRAMS = manpage

BUILT_SOURCES = goweb gonet goadmin gooffice golearn gosafe goscience
CLEANFILES = $(BUILT_SOURCES)

goweb gonet goadmin gooffice golearn gosafe goscience:
	ln -fs goplay $@

dist_noinst_HEADERS = \
	aux.h \
	common.h \
	Engine.h \
	Environment.h \
	URLFetcher.h \
	filter.h \
	GamesOptions.h \
	pkgbrowser.h \
	taghandler.h \
	windows.h

goplay_SOURCES = \
	Environment.cpp \
	Engine.cpp \
	URLFetcher.cpp \
	ui.cpp \
	pkgbrowser.cpp \
	filter.cpp \
	taghandler.cpp \
	windows.cpp \
	aux.cpp \
	goplay.cpp
goplay_LDFLAGS = \
	`fltk-config --ldflags --use-images` \
	`curl-config --libs`
goplay_LDADD = \
	../libxdgutils/libxdgutils.a \
	$(LIBEPT_LIBS) \
	$(LIBWIBBLE_LIBS) \
	$(LIBTAGCOLL2_LIBS)

manpage_SOURCES = manpage.cpp
manpage_LDADD = $(LIBEPT_LIBS) $(LIBWIBBLE_LIBS) $(LIBTAGCOLL2_LIBS)

ui.h ui.cpp: ui.fld
	fluid -c -o ui.cpp -h ui.h ui.fld

WARNFLAGS = \
  -Wall \
  -Wextra \
  -Wcast-align \
  -Wcast-qual \
  -Wpointer-arith \
  -Wreturn-type \
  -Wmissing-declarations \
  -Wformat \
  -Werror=format-security

INCLUDES = -I.. $(LIBEPT_CFLAGS) `fltk-config --cxxflags --use-images` `curl-config --cflags` $(WARNFLAGS) -ggdb

EXTRA_DIST = GamesOptions.h Environment.h Engine.h ui.fld ui.h ui.cpp pkgbrowser.h LICENSE \
	     Makefile.test CuTest.h CuTest.c CuTest.sh CuTest.txt \
	     CuTest.example/example.c \
	     CuTest.example/Makefile \
	     CuTest.example/runtests.c