This commit was manufactured by cvs2svn to create branch 'uc'.
[gnokii.git] / utils / Makefile
diff --git a/utils/Makefile b/utils/Makefile
new file mode 100644 (file)
index 0000000..04af119
--- /dev/null
@@ -0,0 +1,57 @@
+
+#
+# Makefile for the GNOKII tool suite.
+#
+# Copyright (C) 1999 Hugh Blemings & Pavel Janík ml.
+#               2000 Karel Zak
+#
+
+TOPDIR=..
+include $(TOPDIR)/Makefile.global
+
+OBJS = mgnokiidev.o
+
+all: mgnokiidev
+
+mgnokiidev: $(OBJS) 
+
+makelib: $(OBJS)
+       $(CC) $(LDFLAGS) $(OBJS) -o mgnokiidev
+       
+clean:
+       $(RM) $(OBJS) *~ depend mgnokiidev *.exe core *.bak
+
+install: all
+       $(INSTALL) -d $(sbindir)
+       $(INSTALL) mgnokiidev $(sbindir)
+       $(INSTALL) todologo $(bindir)
+       $(INSTALL) sendsms $(bindir)
+       
+install-strip: all
+       $(INSTALL) -d $(sbindir)
+       $(INSTALL) -s mgnokiidev $(sbindir)
+       $(INSTALL) todologo $(bindir)
+       $(INSTALL) sendsms $(bindir)
+       
+install-suid: all
+       $(INSTALL) -d $(sbindir)
+       $(INSTALL) -o root -g gnokii -m 4750 mgnokiidev $(sbindir)
+       $(INSTALL) todologo $(bindir)
+       $(INSTALL) sendsms $(bindir)
+       
+install-ss: all
+       $(INSTALL) -d $(sbindir)
+       $(INSTALL) -o root -g gnokii -m 4750 -s mgnokiidev $(sbindir)
+       $(INSTALL) todologo $(bindir)
+       $(INSTALL) sendsms $(bindir)    
+       
+depend dep:
+       $(CC) $(CFLAGS) -MM *.c >depend
+
+ifeq (depend,$(wildcard depend))
+include depend
+endif
+
+
+.PHONY: all install clean dep depend
+