Found in "gnokii-working" directory, some November-patches version
[gnokii.git] / utils / Makefile
1
2 #
3 # Makefile for the GNOKII tool suite.
4 #
5 # Copyright (C) 1999 Hugh Blemings & Pavel Janík ml.
6 #               2000 Karel Zak
7 #
8
9 TOPDIR=..
10 include $(TOPDIR)/Makefile.global
11
12 OBJS = mgnokiidev.o
13
14 all: mgnokiidev
15
16 mgnokiidev: $(OBJS)
17
18 clean:
19         $(RM) $(OBJS) *~ depend mgnokiidev *.exe core *.bak
20
21 install:
22         $(INSTALL) -d $(sbindir)
23         $(INSTALL) mgnokiidev $(sbindir)
24         $(INSTALL) todologo $(bindir)
25
26 install-strip:
27         $(INSTALL) -d $(sbindir)
28         $(INSTALL) -s mgnokiidev $(sbindir)
29         $(INSTALL) todologo $(bindir)
30
31 install-suid:
32         $(INSTALL) -d $(sbindir)
33         $(INSTALL) -o root -g gnokii -m 4750 mgnokiidev $(sbindir)
34         $(INSTALL) todologo $(bindir)
35
36 install-ss:
37         $(INSTALL) -d $(sbindir)
38         $(INSTALL) -o root -g gnokii -m 4750 -s mgnokiidev $(sbindir)
39         $(INSTALL) todologo $(bindir)
40
41 depend dep:
42         $(CC) $(CFLAGS) -MM *.c >depend
43
44 ifeq (depend,$(wildcard depend))
45 include depend
46 endif
47
48
49 .PHONY: all install clean dep depend
50