]>
Commit | Line | Data |
---|---|---|
7d7af39c | 1 | # |
c9d3f842 | 2 | # "$Id$" |
7d7af39c | 3 | # |
4 | # Notifier makefile for the Common UNIX Printing System (CUPS). | |
5 | # | |
c9d3f842 | 6 | # Copyright 1997-2005 by Easy Software Products, all rights reserved. |
7d7af39c | 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 | |
c9d3f842 | 18 | # Hollywood, Maryland 20636 USA |
7d7af39c | 19 | # |
9639c4de | 20 | # Voice: (301) 373-9600 |
7d7af39c | 21 | # EMail: cups-info@cups.org |
22 | # WWW: http://www.cups.org | |
23 | # | |
24 | ||
25 | include ../Makedefs | |
26 | ||
a260549b | 27 | TARGETS = indp mailto |
28 | OBJS = indp.o mailto.o | |
7d7af39c | 29 | |
30 | ||
31 | # | |
32 | # Make all targets... | |
33 | # | |
34 | ||
35 | all: $(TARGETS) | |
36 | ||
37 | ||
38 | # | |
39 | # Clean all object files... | |
40 | # | |
41 | ||
42 | clean: | |
43 | $(RM) $(OBJS) $(TARGETS) | |
44 | ||
45 | ||
46 | # | |
47 | # Install all targets... | |
48 | # | |
49 | ||
50 | install: | |
51 | -$(MKDIR) $(SERVERBIN)/notifier | |
52 | $(CHMOD) ugo+rx $(SERVERBIN) | |
53 | $(CHMOD) ugo+rx $(SERVERBIN)/notifier | |
54 | $(INSTALL_BIN) $(TARGETS) $(SERVERBIN)/notifier | |
55 | ||
56 | ||
77425121 | 57 | # |
58 | # indp | |
59 | # | |
60 | ||
61 | indp: indp.o ../cups/$(LIBCUPS) | |
62 | echo Linking $@... | |
63 | $(CC) $(LDFLAGS) -o indp indp.o $(LIBS) | |
64 | ||
65 | indp.o: ../cups/cups.h ../cups/ipp.h ../cups/language.h \ | |
66 | ../cups/string.h | |
67 | ||
68 | ||
7d7af39c | 69 | # |
70 | # mailto | |
71 | # | |
72 | ||
73 | mailto: mailto.o ../cups/$(LIBCUPS) | |
74 | echo Linking $@... | |
75 | $(CC) $(LDFLAGS) -o mailto mailto.o $(LIBS) | |
76 | ||
77 | mailto.o: ../cups/cups.h ../cups/ipp.h ../cups/language.h \ | |
78 | ../cups/string.h | |
79 | ||
80 | ||
81 | $(OBJS): ../config.h ../Makedefs | |
82 | ||
83 | # | |
c9d3f842 | 84 | # End of "$Id$". |
7d7af39c | 85 | # |