File: Makefile.inc.in

package info (click to toggle)
mpegdemux 0.1.4-4
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 448 kB
  • ctags: 225
  • sloc: ansic: 2,157; sh: 347; makefile: 181
file content (65 lines) | stat: -rw-r--r-- 1,532 bytes parent folder | download | duplicates (2)
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
# Makefile.inc

etcdir      = @sysconfdir@
datarootdir = @datarootdir@
datadir     = @datadir@

CC   = @CC@
LD   = @CC@
LN_S = @LN_S@

INSTALL         = @INSTALL@
INSTALL_PROGRAM = @INSTALL@

CFLAGS         = @CFLAGS@
CFLAGS_DEFAULT = $(CFLAGS) -Isrc

LDFLAGS         = @LDFLAGS@
LDFLAGS_DEFAULT = $(LDFLAGS)

EXEEXT := @EXEEXT@

LIBS = @LIBS@

ifneq "$(srcdir)" "."
CFLAGS_DEFAULT += -I$(srcdir)/src
endif

MPEGDEMUX_VERSION_MAJ := @MPEGDEMUX_VERSION_MAJ@
MPEGDEMUX_VERSION_MIN := @MPEGDEMUX_VERSION_MIN@
MPEGDEMUX_VERSION_MIC := @MPEGDEMUX_VERSION_MIC@
MPEGDEMUX_VERSION_STR := @MPEGDEMUX_VERSION_STR@

distdir := mpegdemux-$(MPEGDEMUX_VERSION_STR)

# ----------------------------------------------------------------------

DCL += Makefile Makefile.inc config.log config.status

DIST += AUTHORS COPYING ChangeLog INSTALL \
	Makefile.in Makefile.inc.in Makefile.tc \
	NEWS README TODO autogen.sh \
	configure configure.in install-sh

# ----------------------------------------------------------------------

include $(srcdir)/src/Makefile.inc

TARGETS += $(BIN) $(BINS) $(ETC) $(SHARE)

# ----------------------------------------------------------------------

%: %.sh
	$(QP)echo "  SED    $@"
	$(QR)rm -f $@
	$(QR)sed -e "s/%MPEGDEMUX_VERSION_STR/$(MPEGDEMUX_VERSION_STR)/g" < $< > $@
	$(QR)chmod a+x $@

install-extra:

dist-extra:

dist-version:
	$(QP)echo "  GEN    version"
	$(QR)echo "mpegdemux  $(MPEGDEMUX_VERSION_MAJ) $(MPEGDEMUX_VERSION_MIN) $(MPEGDEMUX_VERSION_MIC)  $(MPEGDEMUX_VERSION_STR)" \
		> "$(distdir)/version"