#
-# "$Id: Makefile 4804 2005-10-20 14:05:42Z mike $"
+# "$Id: Makefile 5192 2006-02-27 03:08:47Z mike $"
#
# Filter makefile for the Common UNIX Printing System (CUPS).
#
-# Copyright 1997-2005 by Easy Software Products.
+# Copyright 1997-2006 by Easy Software Products.
#
# These coded instructions, statements, and computer programs are the
# property of Easy Software Products and are protected by Federal
# Install all targets...
#
-install: all installhdrs
- $(INSTALL_DIR) $(SERVERBIN)/filter
+install: all installhdrs $(INSTALLSTATIC)
+ $(INSTALL_DIR) -m 755 $(SERVERBIN)/filter
for file in $(FILTERS); do \
$(INSTALL_BIN) $$file $(SERVERBIN)/filter; \
done
$(RM) $(SERVERBIN)/filter/rastertodymo
$(LN) rastertolabel $(SERVERBIN)/filter/rastertodymo
- $(INSTALL_DIR) $(LIBDIR)
+ $(INSTALL_DIR) -m 755 $(LIBDIR)
$(INSTALL_LIB) $(LIBCUPSIMAGE) $(LIBDIR)
-if test $(LIBCUPSIMAGE) = "libcupsimage.so.2" -o $(LIBCUPSIMAGE) = "libcupsimage.sl.2"; then \
$(RM) $(LIBDIR)/`basename $(LIBCUPSIMAGE) .2`; \
$(RM) $(LIBDIR)/libcupsimage.dylib; \
$(LN) $(LIBCUPSIMAGE) $(LIBDIR)/libcupsimage.dylib; \
fi
+
+installstatic:
+ $(INSTALL_DIR) -m 755 $(LIBDIR)
-if test $(LIBCUPSIMAGE) != "libcupsimage.a"; then \
$(INSTALL_LIB) libcupsimage.a $(LIBDIR); \
$(RANLIB) $(LIBDIR)/libcupsimage.a; \
fi
installhdrs:
- $(INSTALL_DIR) $(INCLUDEDIR)/cups
+ $(INSTALL_DIR) -m 755 $(INCLUDEDIR)/cups
$(INSTALL_DATA) image.h $(INCLUDEDIR)/cups
$(INSTALL_DATA) raster.h $(INCLUDEDIR)/cups
+#
+# Automatic API help files...
+#
+
+apihelp:
+ echo Generating CUPS API help files...
+ mxmldoc --section "Programming" --title "Raster API" \
+ --intro api-raster.shtml \
+ raster.h interpret.c raster.c >../doc/help/api-raster.html
+
+
#
# formtops
#
libcupsimage.2.dylib: $(IMAGEOBJS)
echo Linking $@...
$(DSO) $(DSOFLAGS) -o $@ \
- -install_name $(libdir)/libcupsimage.dylib \
+ -install_name $(libdir)/$@ \
-current_version 2.2.0 \
-compatibility_version 2.0.0 \
$(IMAGEOBJS) $(DSOLIBS) -L../cups $(LINKCUPS) -lm
pstops: pstops.o common.o ../cups/$(LIBCUPS)
echo Linking $@...
- $(CC) $(LDFLAGS) -o $@ pstops.o common.o $(LIBS)
+ $(CC) $(LDFLAGS) -o $@ pstops.o common.o $(LIBS) -lm
#
#
-# End of "$Id: Makefile 4804 2005-10-20 14:05:42Z mike $".
+# End of "$Id: Makefile 5192 2006-02-27 03:08:47Z mike $".
#