]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - monitor/Makefile
License change: Apache License, Version 2.0.
[thirdparty/cups.git] / monitor / Makefile
index a1c75b65db32c9d98ad294046082780b6c9d0257..2631f09a75686b7d74daa1f6c3cda41c19e6ec45 100644 (file)
@@ -1,18 +1,10 @@
 #
-# "$Id: Makefile 6649 2007-07-11 21:46:42Z mike $"
+# Port monitor makefile for CUPS.
 #
-#   Port monitor makefile for the Common UNIX Printing System (CUPS).
+# Copyright 2007-2017 by Apple Inc.
+# Copyright 2006 by Easy Software Products.
 #
-#   Copyright 2007-2008 by Apple Inc.
-#   Copyright 2006 by Easy Software Products.
-#
-#   These coded instructions, statements, and computer programs are the
-#   property of Apple Inc. and are protected by Federal copyright
-#   law.  Distribution and use rights are outlined in the file "LICENSE.txt"
-#   which should have been included with this file.  If this file is
-#   file is missing or damaged, see the license at "http://www.cups.org/".
-#
-#   This file is subject to the Apple OS-Developed Software exception.
+# Licensed under Apache License v2.0.  See the file "LICENSE" for more information.
 #
 
 include ../Makedefs
@@ -29,6 +21,20 @@ OBJS =       bcp.o tbcp.o
 all:   $(TARGETS)
 
 
+#
+# Make library targets...
+#
+
+libs:
+
+
+#
+# Make unit tests...
+#
+
+unittests:
+
+
 #
 # Clean all object files...
 #
@@ -42,7 +48,7 @@ clean:
 #
 
 depend:
-       makedepend -Y -I.. -fDependencies $(OBJS:.o=.c) >/dev/null 2>&1
+       $(CC) -MM $(ALL_CFLAGS) $(OBJS:.o=.c) >Dependencies
 
 
 #
@@ -72,6 +78,7 @@ install-exec:
                $(INSTALL_DIR) $(SYMROOT); \
                for file in $(TARGETS); do \
                        cp $$file $(SYMROOT); \
+                       dsymutil $(SYMROOT)/$$file; \
                done \
        fi
 
@@ -108,7 +115,7 @@ uninstall:
 
 bcp:   bcp.o ../cups/$(LIBCUPS)
        echo Linking $@...
-       $(CC) $(LDFLAGS) -o $@ bcp.o $(LIBS)
+       $(LD_CC) $(LDFLAGS) -o $@ bcp.o $(LIBS)
 
 
 #
@@ -117,16 +124,11 @@ bcp:      bcp.o ../cups/$(LIBCUPS)
 
 tbcp:  tbcp.o ../cups/$(LIBCUPS)
        echo Linking $@...
-       $(CC) $(LDFLAGS) -o $@ tbcp.o $(LIBS)
+       $(LD_CC) $(LDFLAGS) -o $@ tbcp.o $(LIBS)
 
 
 #
 # Dependencies...
 #
-  
-include Dependencies
 
-
-#
-# End of "$Id: Makefile 6649 2007-07-11 21:46:42Z mike $".
-#
+include Dependencies