File: Makefile.am

package info (click to toggle)
gtkglextmm 1.2.0-8
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 5,248 kB
  • ctags: 4,387
  • sloc: sh: 8,904; cpp: 4,594; xml: 1,605; ansic: 832; makefile: 353; perl: 179
file content (78 lines) | stat: -rw-r--r-- 2,528 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
68
69
70
71
72
73
74
75
76
77
78
## -*- Makefile -*-
## Makefile.am for gtkglextmm

ACLOCAL_AMFLAGS = -I m4macros

SUBDIRS = tools gdkglext gtkglext m4macros docs
DIST_SUBDIRS = $(SUBDIRS) examples

EXTRA_DIST = \
	README.win32			\
	ChangeLog.pre-1-0		\
	gdkglextmm.pc.in		\
	gtkglextmm.pc.in		\
	gdkglextmm-uninstalled.pc.in	\
	gtkglextmm-uninstalled.pc.in	\
	gtkglextmm.spec.in		\
	gtkglextmm.spec			\
	gtkglextmm.nsi.in		\
	gtkglextmm.nsi			\
	setup-gtkglextmm.sh		\
	build_shared/Makefile_build.am_fragment		\
	build_shared/Makefile_build_gensrc.am_fragment	\
	build_shared/Makefile_gensrc.am_fragment

## Copy .pc files to target-specific names
GDK_TARGET = @gdktarget@
API_VER = @GTKGLEXTMM_API_VERSION@

gdkglextmm-$(GDK_TARGET)-$(API_VER).pc: gdkglextmm.pc gdkglextmm-$(GDK_TARGET)-$(API_VER)-uninstalled.pc
	rm -f $@ && cp gdkglextmm.pc $@

gdkglextmm-$(API_VER).pc: gdkglextmm.pc gdkglextmm-$(API_VER)-uninstalled.pc
	rm -f $@ && cp gdkglextmm.pc $@

gtkglextmm-$(GDK_TARGET)-$(API_VER).pc: gtkglextmm.pc gtkglextmm-$(GDK_TARGET)-$(API_VER)-uninstalled.pc
	rm -f $@ && cp gtkglextmm.pc $@

gtkglextmm-$(API_VER).pc: gtkglextmm.pc gtkglextmm-$(API_VER)-uninstalled.pc
	rm -f $@ && cp gtkglextmm.pc $@

gdkglextmm-$(GDK_TARGET)-$(API_VER)-uninstalled.pc: gdkglextmm-uninstalled.pc
	rm -f $@ && cp gdkglextmm-uninstalled.pc $@

gdkglextmm-$(API_VER)-uninstalled.pc: gdkglextmm-uninstalled.pc gdkglextmm-$(GDK_TARGET)-$(API_VER)-uninstalled.pc
	rm -f $@ && cp gdkglextmm-uninstalled.pc $@

gtkglextmm-$(GDK_TARGET)-$(API_VER)-uninstalled.pc: gtkglextmm-uninstalled.pc
	rm -f $@ && cp gtkglextmm-uninstalled.pc $@

gtkglextmm-$(API_VER)-uninstalled.pc: gtkglextmm-uninstalled.pc gtkglextmm-$(GDK_TARGET)-$(API_VER)-uninstalled.pc
	rm -f $@ && cp gtkglextmm-uninstalled.pc $@

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = \
	gdkglextmm-$(GDK_TARGET)-$(API_VER).pc	\
	gdkglextmm-$(API_VER).pc		\
	gtkglextmm-$(GDK_TARGET)-$(API_VER).pc	\
	gtkglextmm-$(API_VER).pc
$(pkgconfig_DATA): $(top_builddir)/config.status

DISTCLEANFILES = \
	gdkglextmm-$(GDK_TARGET)-$(API_VER).pc			\
	gdkglextmm-$(API_VER).pc				\
	gtkglextmm-$(GDK_TARGET)-$(API_VER).pc			\
	gtkglextmm-$(API_VER).pc				\
	gdkglextmm-$(GDK_TARGET)-$(API_VER)-uninstalled.pc	\
	gdkglextmm-$(API_VER)-uninstalled.pc			\
	gtkglextmm-$(GDK_TARGET)-$(API_VER)-uninstalled.pc	\
	gtkglextmm-$(API_VER)-uninstalled.pc

.PHONY: examples clean-examples

examples: all
	( cd $(top_builddir)/examples && $(MAKE) $(MFLAGS) )

clean-examples:
	( cd $(top_builddir)/examples && $(MAKE) $(MFLAGS) clean )