]> git.ipfire.org Git - thirdparty/cups.git/blame - notifier/Makefile
Load cups into easysw/current.
[thirdparty/cups.git] / notifier / Makefile
CommitLineData
ef416fc2 1#
f7faf1f5 2# "$Id: Makefile 5229 2006-03-05 16:48:12Z mike $"
ef416fc2 3#
4# Notifier makefile for the Common UNIX Printing System (CUPS).
5#
bd7854cb 6# Copyright 1997-2006 by Easy Software Products, all rights reserved.
ef416fc2 7#
8# These coded instructions, statements, and computer programs are the
9# property of Easy Software Products and are protected by Federal
10# copyright law. Distribution and use rights are outlined in the file
11# "LICENSE.txt" which should have been included with this file. If this
12# file is missing or damaged please contact Easy Software Products
13# at:
14#
15# Attn: CUPS Licensing Information
16# Easy Software Products
17# 44141 Airport View Drive, Suite 204
18# Hollywood, Maryland 20636 USA
19#
20# Voice: (301) 373-9600
21# EMail: cups-info@cups.org
22# WWW: http://www.cups.org
23#
24
25include ../Makedefs
26
27
28TARGETS = mailto testnotify
29OBJS = mailto.o testnotify.o
30
31
32#
33# Make all targets...
34#
35
36all: $(TARGETS)
37
38
39#
40# Clean all object files...
41#
42
43clean:
44 $(RM) $(OBJS) $(TARGETS)
45
46
47#
48# Install all targets...
49#
50
fa73b229 51install: all
bd7854cb 52 $(INSTALL_DIR) -m 755 $(SERVERBIN)/notifier
ef416fc2 53 for file in $(TARGETS); do \
54 $(INSTALL_BIN) $$file $(SERVERBIN)/notifier; \
55 done
56
57
757d2cad 58#
59# Uninstall all targets...
60#
61
62uninstall:
63 for file in $(TARGETS); do \
64 $(RM) $(SERVERBIN)/notifier/$$file; \
65 done
66 -$(RMDIR) $(SERVERBIN)/notifier
67 -$(RMDIR) $(SERVERBIN)
68
69
ef416fc2 70#
71# Update dependencies (without system header dependencies...)
72#
73
74depend:
75 makedepend -Y -I.. -fDependencies $(OBJS:.o=.c) >/dev/null 2>&1
76
77
78#
79# mailto
80#
81
82mailto: mailto.o ../cups/$(LIBCUPS)
83 echo Linking $@...
84 $(CC) $(LDFLAGS) -o mailto mailto.o $(LIBS)
85
86
87#
88# testnotify
89#
90
91testnotify: testnotify.o ../cups/$(LIBCUPS)
92 echo Linking $@...
93 $(CC) $(LDFLAGS) -o testnotify testnotify.o $(LIBS)
94
95
96$(OBJS): ../Makedefs
97
98include Dependencies
99
100
101#
f7faf1f5 102# End of "$Id: Makefile 5229 2006-03-05 16:48:12Z mike $".
ef416fc2 103#