File: Makefile.in

package info (click to toggle)
libuninameslist 0.0.20060907-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 4,132 kB
  • ctags: 305
  • sloc: ansic: 72,257; sh: 6,794; makefile: 103; csh: 5
file content (62 lines) | stat: -rw-r--r-- 1,592 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
srcdir = @srcdir@
top_srcdir = @top_srcdir@
top_builddir = .
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
libdir = @libdir@
incdir = @includedir@

UN_VERSION=0
UN_REVISION=1
UN_AGE=0

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

WFLAGS = -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses
CFLAGS = @CFLAGS@ $(WFLAGS)

both: libuninameslist.la libuninameslist-fr.la

libuninameslist.la: nameslist.lo
	$(LIBTOOL) $(CC) $(CFLAGS) -o libuninameslist.la nameslist.lo \
	    -rpath $(libdir) -version-info $(UN_VERSION):$(UN_REVISION):$(UN_AGE)

libuninameslist-fr.la: nameslist-fr.lo
	$(LIBTOOL) $(CC) $(CFLAGS) -o libuninameslist-fr.la nameslist-fr.lo \
	    -rpath $(libdir) -version-info $(UN_VERSION):$(UN_REVISION):$(UN_AGE)


%.lo: %.c
	$(LIBTOOL) $(CC) $(CFLAGS) -c $<

install: both
# You may need to be root to do the install
	mkdir -p $(libdir)
	$(LIBTOOL) $(INSTALL) -c libuninameslist.la $(libdir)/libuninameslist.la
	$(LIBTOOL) $(INSTALL) -c libuninameslist-fr.la $(libdir)/libuninameslist-fr.la
	$(LIBTOOL) --finish $(libdir)
	mkdir -p $(incdir)
	$(INSTALL_DATA) nameslist.h $(incdir)/uninameslist.h

clean:
	-rm -f *.lo *.o *.la

distclean cleaner:
	-rm -f *.lo *.o *.la libuninameslist.la Makefile


#nameslist.c nameslist-fr.c: buildnameslist NamesList.txt ListeDesNoms-4.0.0.txt
#	buildnameslist

buildnameslist: buildnameslist.c

NamesList.txt:
	wget http://www.unicode.org/Public/UNIDATA/NamesList.txt

ListeDesNoms-4.0.0.txt:
	wget http://cooptel.qc.ca/~pandries/ListeDesNoms-4.0.0.txt