]>
Commit | Line | Data |
---|---|---|
0bc26a84 | 1 | # |
8784b6a6 | 2 | # "$Id: Makefile,v 1.12 1999/06/18 18:36:42 mike Exp $" |
0bc26a84 | 3 | # |
a9de544f | 4 | # Scheduler Makefile for the Common UNIX Printing System (CUPS). |
0bc26a84 | 5 | # |
a9de544f | 6 | # Copyright 1997-1999 by Easy Software Products, all rights reserved. |
0bc26a84 | 7 | # |
a9de544f | 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 | |
0bc26a84 | 16 | # Easy Software Products |
8784b6a6 | 17 | # 44141 Airport View Drive, Suite 204 |
0bc26a84 | 18 | # Hollywood, Maryland 20636-3111 USA |
19 | # | |
20 | # Voice: (301) 373-9603 | |
21 | # EMail: cups-info@cups.org | |
22 | # WWW: http://www.cups.org | |
23 | # | |
0bc26a84 | 24 | |
25 | include ../Makedefs | |
26 | ||
e82646f2 | 27 | CUPSDOBJS = auth.o classes.o client.o conf.o dirsvc.o main.o ipp.o \ |
28 | listen.o job.o printers.o | |
85a106ae | 29 | OBJS = $(CUPSDOBJS) testspeed.o |
0bc26a84 | 30 | |
b14d90ba | 31 | # |
53e4c17e | 32 | # Make everything... |
b14d90ba | 33 | # |
34 | ||
85a106ae | 35 | all: cupsd testspeed |
0bc26a84 | 36 | |
37 | # | |
b14d90ba | 38 | # Clean all object files... |
39 | # | |
40 | ||
41 | clean: | |
85a106ae | 42 | rm -f $(OBJS) cupsd testspeed |
b14d90ba | 43 | |
44 | # | |
45 | # Install the scheduler... | |
46 | # | |
47 | ||
48 | install: | |
53e4c17e | 49 | -$(MKDIR) $(SBINDIR) |
50 | $(CP) cupsd $(SBINDIR) | |
3270670b | 51 | -$(MKDIR) $(SERVERROOT)/interfaces |
53e4c17e | 52 | -$(MKDIR) $(SERVERROOT)/logs |
3270670b | 53 | -$(MKDIR) $(SERVERROOT)/ppd |
53e4c17e | 54 | -$(MKDIR) $(SERVERROOT)/requests |
55 | ||
56 | # | |
57 | # Make the scheduler executable, "cupsd". | |
58 | # | |
59 | ||
85a106ae | 60 | cupsd: $(CUPSDOBJS) ../cups/libcups.a |
61 | $(CC) $(LDFLAGS) -o cupsd $(CUPSDOBJS) $(LIBS) | |
53e4c17e | 62 | |
85a106ae | 63 | $(CUPSDOBJS): auth.h classes.h client.h conf.h cupsd.h dirsvc.h job.h \ |
53e4c17e | 64 | printers.h ../cups/cups.h ../cups/http.h ../cups/ipp.h \ |
85a106ae | 65 | ../cups/language.h ../cups/mime.h ../cups/string.h |
b14d90ba | 66 | |
67 | # | |
85a106ae | 68 | # Make the test program, "testspeed". |
69 | # | |
70 | ||
71 | testspeed: testspeed.o ../cups/libcups.a | |
72 | $(CC) $(LDFLAGS) -o testspeed testspeed.o $(LIBS) | |
73 | ||
74 | testspeed.o: ../cups/cups.h ../cups/http.h ../cups/ipp.h ../cups/language.h | |
75 | ||
76 | $(OBJS): ../config.h ../Makedefs | |
77 | ||
78 | # | |
8784b6a6 | 79 | # End of "$Id: Makefile,v 1.12 1999/06/18 18:36:42 mike Exp $". |
0bc26a84 | 80 | # |