File: perl-binding-common.mk

package info (click to toggle)
redhat-cluster 3.0.12-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 10,620 kB
  • ctags: 14,431
  • sloc: ansic: 150,556; sh: 10,974; perl: 4,383; python: 3,022; makefile: 2,253; xml: 61
file content (30 lines) | stat: -rw-r--r-- 515 bytes parent folder | download | duplicates (3)
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
TARGET += Makefile \
	  META.yml

all: $(TARGET)
	${MAKE} LD_RUN_PATH="";

%.pm: $(S)/%.pm.in
	cat $< | \
	sed \
		-e 's/@VERSION@/${RELEASE_VERSION}/g' \
	> $@

%.yml: $(S)/%.yml.in
	cat $< | \
	sed \
		-e 's/@VERSION@/${RELEASE_VERSION}/g' \
	> $@

Makefile: META.yml $(PMTARGET)
	perl Makefile.PL INC='$(CFLAGS)' LIBS='$(LDFLAGS)' INSTALLDIRS=vendor

install:
	${MAKE} -f Makefile install

uninstall:
	echo uninstall target not supported yet

clean:
	-${MAKE} -f Makefile clean
	rm -f $(TARGET) Makefile.old *.d