File: Makefile

package info (click to toggle)
traffic-vis 0.34-3
  • links: PTS
  • area: contrib
  • in suites: woody
  • size: 356 kB
  • ctags: 436
  • sloc: ansic: 4,029; makefile: 144; perl: 82; sh: 25
file content (22 lines) | stat: -rw-r--r-- 722 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
CFLAGS= -DVERSION="\"$(VERSION)\"" $(DEFINES) $(WARNFLAGS) $(DEBUGFLAGS) $(INCLUDES) -I.. $(OPT_FLAGS)
OBJS=
TARGETS=traffic-resolve traffic-exclude
LFLAGS=-L..
LIBS=-lreport $(GLIB) $(DEBUGLIBS)

all: $(OBJS) $(TARGETS)

traffic-exclude: traffic-exclude.o ../libreport.a
	$(CC) -o $@ traffic-exclude.o $(LFLAGS) $(LIBS)

traffic-resolve: traffic-resolve.o ../libreport.a
	$(CC) -o $@ traffic-resolve.o $(LFLAGS) $(LIBS)

install:
	install -m 755 -o root -g root traffic-resolve $(SBINDIR)
	install -m 644 -o root -g root traffic-resolve.8 $(MANDIR)/man8/
	install -m 755 -o root -g root traffic-exclude $(SBINDIR)
	install -m 644 -o root -g root traffic-exclude.8 $(MANDIR)/man8/

clean:
	-rm -f $(TARGETS) *.o core *.ps