File: Makefile.in

package info (click to toggle)
nawm 0.0.20030130-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 360 kB
  • ctags: 496
  • sloc: ansic: 3,158; sh: 1,582; yacc: 408; lex: 406; makefile: 153
file content (45 lines) | stat: -rw-r--r-- 829 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
SHELL=/bin/sh

INSTALL=@INSTALL@
INSTALL_PROGRAM=@INSTALL_PROGRAM@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@

top_srcdir=@top_srcdir@
srcdir=@srcdir@
VPATH=@srcdir@

CC=@CC@
CPPFLAGS=@CPPFLAGS@
DEFS=@DEFS@
CFLAGS=@CFLAGS@
MODULE_CFLAGS=@MODULE_CFLAGS@
X_CFLAGS=@X_CFLAGS@
ALL_CFLAGS=-I$(top_srcdir) $(DEFS) $(CPPFLAGS) $(CFLAGS) $(MODULE_CFLAGS) $(X_CFLAGS)
LDFLAGS=-shared -lc

RM=rm -f

.SUFFIXES: .so

SRCS=	string.c icon.c
OBJS=	string.o icon.o
SOBJS=	string.so icon.so

all: $(SOBJS)

.c.so:
	$(CC) -fPIC -c -I. -I$(srcdir) $(ALL_CFLAGS) $<
	$(CC) $(LDFLAGS) -o $@ $*.o

clean:
	-$(RM) $(OBJS) $(SOBJS)
	-$(RM) *~ so_locations

distclean: clean
	-$(RM) Makefile

install: all
	${top_srcdir}/mkinstalldirs $(DESTDIR)$(libdir)/nawm
	for so in $(SOBJS); do $(INSTALL) -m 755 $$so $(DESTDIR)$(libdir)/nawm; done