]> git.ipfire.org Git - thirdparty/cups.git/blob - notifier/Makefile
Load cups into easysw/current.
[thirdparty/cups.git] / notifier / Makefile
1 #
2 # "$Id: Makefile 4834 2005-11-12 21:55:57Z mike $"
3 #
4 # Notifier makefile for the Common UNIX Printing System (CUPS).
5 #
6 # Copyright 1997-2005 by Easy Software Products, all rights reserved.
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
25 include ../Makedefs
26
27
28 TARGETS = mailto testnotify
29 OBJS = mailto.o testnotify.o
30
31
32 #
33 # Make all targets...
34 #
35
36 all: $(TARGETS)
37
38
39 #
40 # Clean all object files...
41 #
42
43 clean:
44 $(RM) $(OBJS) $(TARGETS)
45
46
47 #
48 # Install all targets...
49 #
50
51 install:
52 $(INSTALL_DIR) $(SERVERBIN)/notifier
53 for file in $(TARGETS); do \
54 $(INSTALL_BIN) $$file $(SERVERBIN)/notifier; \
55 done
56
57
58 #
59 # Update dependencies (without system header dependencies...)
60 #
61
62 depend:
63 makedepend -Y -I.. -fDependencies $(OBJS:.o=.c) >/dev/null 2>&1
64
65
66 #
67 # mailto
68 #
69
70 mailto: mailto.o ../cups/$(LIBCUPS)
71 echo Linking $@...
72 $(CC) $(LDFLAGS) -o mailto mailto.o $(LIBS)
73
74
75 #
76 # testnotify
77 #
78
79 testnotify: testnotify.o ../cups/$(LIBCUPS)
80 echo Linking $@...
81 $(CC) $(LDFLAGS) -o testnotify testnotify.o $(LIBS)
82
83
84 $(OBJS): ../Makedefs
85
86 include Dependencies
87
88
89 #
90 # End of "$Id: Makefile 4834 2005-11-12 21:55:57Z mike $".
91 #