File: Makefile.in

package info (click to toggle)
mlterm 3.8.6-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 22,296 kB
  • sloc: ansic: 128,888; sh: 9,881; makefile: 2,308; java: 2,158; objc: 1,448; perl: 1,201; cpp: 869; xml: 45; sed: 16
file content (53 lines) | stat: -rw-r--r-- 991 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
top_builddir = ../..
top_srcdir = @top_srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@

CC = @CC@
LIBTOOL = @LIBTOOL@
INSTALL = @INSTALL@

BINDIR = $(DESTDIR)$(bindir)

VPATH = $(top_srcdir)/tool/mlfc

OBJ = main.o

CFLAGS = $(CFLAGS_LOCAL) @CFLAGS@ @CPPFLAGS@ @FONTCONFIG_CFLAGS@ -I/usr/local/include

LIBS = $(LIBS_LOCAL) @FONTCONFIG_LIBS@ -L/usr/local/lib

PROG = mlfc

LIBTOOL_CC = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS)
LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC) @LDFLAGS@
LIBTOOL_INSTALL = $(LIBTOOL) --mode=install $(INSTALL)

all: $(PROG)

$(PROG): $(OBJ)
	$(LIBTOOL_LINK) $(CFLAGS) -o $(PROG) $(OBJ:.o=.lo) $(LIBS)

.SUFFIXES: .c .o

.c.o:
	$(LIBTOOL_CC) -c $<

$(BINDIR):
	mkdir -p $(BINDIR)

install: $(BINDIR)
	$(LIBTOOL_INSTALL) $(PROG) $(BINDIR)

uninstall:
	rm -f $(BINDIR)/$(PROG)

wc:
	find . -name "*.[ch]" -a \! -name "test_*" | xargs wc -l

clean:
	rm -rf $(PROG) $(PROG).exe *core $(OBJ) $(OBJ:.o=.lo) .libs

distclean: clean
	rm -f Makefile