File: Makefile.in

package info (click to toggle)
snd 25.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 44,016 kB
  • sloc: ansic: 291,818; lisp: 260,387; ruby: 71,134; sh: 3,293; fortran: 2,342; csh: 1,062; cpp: 294; makefile: 294; python: 87; xml: 27; javascript: 1
file content (57 lines) | stat: -rw-r--r-- 1,245 bytes parent folder | download | duplicates (6)
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
# Makefile for libsndins.so

prefix		= @prefix@
srcdir		= @srcdir@
libdir		= $(prefix)/lib
top_builddir	= ..
top_srcdir	= @top_srcdir@
VPATH		= @srcdir@
includedir	= @includedir@
SHELL		= @SHELL@
mkinstalldirs	= $(SHELL) $(top_srcdir)/mkinstalldirs

CC		= @CC@
DEFS		= -DUSE_SND=0 @DEFS@
LDFLAGS		= @LDFLAGS@
CFLAGS		= @CFLAGS@ -fPIC @XEN_CFLAGS@ @GSL_CFLAGS@
LIBS		= @LIBS@ @XEN_LIBS@ @GSL_LIBS@

INSTALL		= @INSTALL@
SO_INSTALL	= @SO_INSTALL@
SO_LD		= @SO_LD@
A_LD		= ar
A_LD_FLAGS	= cr
LD_FLAGS	= @LD_FLAGS@
LDSO_FLAGS	= @LDSO_FLAGS@

OBJS		= sndins.o $(top_builddir)/sndlib.a
SO_TARGET	= libsndins.so
A_TARGET	= libsndins.a
LIB_TARGET	= sndins.so

.c.o:
	$(CC) -c $(DEFS) $(CFLAGS) -I$(top_builddir) -I$(top_srcdir) $<

sndins: $(OBJS)
	$(SO_LD) $(LDSO_FLAGS) $(LDFLAGS) -o $(SO_TARGET) $(OBJS) $(LIBS)
	$(A_LD) $(A_LD_FLAGS) $(A_TARGET) $(OBJS)
	ranlib $(A_TARGET)
	cp $(SO_TARGET) $(LIB_TARGET)

install: sndins
	$(mkinstalldirs) $(libdir)
	$(mkinstalldirs) $(includedir)
	$(INSTALL) $(A_TARGET) $(libdir)/$(A_TARGET)
	$(SO_INSTALL) $(SO_TARGET) $(libdir)/$(SO_TARGET)

uninstall:
	rm -f $(libdir)/$(A_TARGET)
	rm -f $(libdir)/$(SO_TARGET)

clean:
	rm -f *.so *.a *.o *.core core

distclean: clean
	rm -f Makefile *~

# Makefile ends here