summaryrefslogtreecommitdiff
path: root/icc/Makefile
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-09-01 13:56:46 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-09-01 13:56:46 +0200
commit22f703cab05b7cd368f4de9e03991b7664dc5022 (patch)
tree6f4d50beaa42328e24b1c6b56b6ec059e4ef21a5 /icc/Makefile
Initial import of argyll version 1.5.1-8debian/1.5.1-8
Diffstat (limited to 'icc/Makefile')
-rw-r--r--icc/Makefile82
1 files changed, 82 insertions, 0 deletions
diff --git a/icc/Makefile b/icc/Makefile
new file mode 100644
index 0000000..dbb9992
--- /dev/null
+++ b/icc/Makefile
@@ -0,0 +1,82 @@
+# UNIX style makefile, for icclib and friends.
+# "include" the right environment for your system,
+# by uncommenting the appropriate line:
+
+# Microsoft C++, WinNT setup
+include Makefile.WNT
+
+# IBM C++, WinNT setup
+#include Makefile.IBMNT
+
+# Generic UNIX setup
+#include Makefile.UNIX
+
+# Apple OSX
+#include Makefile.OSX
+
+###############################
+
+#Compile with separate stdio
+#CCDEFINES = $(DEFFLAG)SEPARATE_STD
+
+#Set optimisation on
+CCFLAGS = $(CCFLAGSDEF) $(CCOPTFLAG) $(CCDEFINES)
+
+#Set debugging on
+#CCFLAGS = $(CCFLAGSDEF) $(CCDEBUGFLAG) $(CCDEFINES)
+
+STDHDRS = $(STDHDRSDEF)
+LINKFLAGS = $(LINKFLAGSDEF) $(LINKDEBUGFLAG)
+
+all:: libicc$(SUFLIB) icctest$(SUFEXE) lutest$(SUFEXE) icclu$(SUFEXE) iccdump$(SUFEXE) iccrw$(SUFEXE)
+
+
+icc$(SUFOBJ): icc.c icc.h
+ $(CC) $(CCOF)icc$(SUFOBJ) icc.c
+
+libicc$(SUFLIB): icc$(SUFOBJ)
+ $(LIBU) $(LIBOF)libicc$(SUFLIB) icc$(SUFOBJ)
+ $(RANLIB) libicc$(SUFLIB)
+
+
+# Separate for executables
+iccstd$(SUFOBJ): iccstd.c icc.h
+ $(CC) $(CCOF)iccstd$(SUFOBJ) iccstd.c
+
+
+icctest$(SUFOBJ): icctest.c icc.h
+ $(CC) $(CCOF)icctest$(SUFOBJ) icctest.c
+
+icctest$(SUFEXE): icctest$(SUFOBJ) iccstd$(SUFOBJ) libicc$(SUFLIB)
+ $(LINK) $(LINKOF)icctest$(SUFEXE) icctest$(SUFOBJ) iccstd$(SUFOBJ) libicc$(SUFLIB)
+
+
+lutest$(SUFOBJ): lutest.c icc.h
+ $(CC) $(CCOF)lutest$(SUFOBJ) lutest.c
+
+lutest$(SUFEXE): lutest$(SUFOBJ) iccstd$(SUFOBJ) libicc$(SUFLIB)
+ $(LINK) $(LINKOF)lutest$(SUFEXE) lutest$(SUFOBJ) iccstd$(SUFOBJ) libicc$(SUFLIB)
+
+
+icclu$(SUFOBJ): icclu.c icc.h
+ $(CC) $(CCOF)icclu$(SUFOBJ) icclu.c
+
+icclu$(SUFEXE): icclu$(SUFOBJ) iccstd$(SUFOBJ) libicc$(SUFLIB)
+ $(LINK) $(LINKOF)icclu$(SUFEXE) icclu$(SUFOBJ) iccstd$(SUFOBJ) libicc$(SUFLIB)
+
+
+iccdump$(SUFOBJ): iccdump.c icc.h
+ $(CC) $(CCOF)iccdump$(SUFOBJ) iccdump.c
+
+iccdump$(SUFEXE): iccdump$(SUFOBJ) iccstd$(SUFOBJ) libicc$(SUFLIB)
+ $(LINK) $(LINKOF)iccdump$(SUFEXE) iccdump$(SUFOBJ) iccstd$(SUFOBJ) libicc$(SUFLIB)
+
+
+iccrw$(SUFOBJ): iccrw.c icc.h
+ $(CC) $(CCOF)iccrw$(SUFOBJ) iccrw.c
+
+iccrw$(SUFEXE): iccrw$(SUFOBJ) iccstd$(SUFOBJ) libicc$(SUFLIB)
+ $(LINK) $(LINKOF)iccrw$(SUFEXE) iccrw$(SUFOBJ) iccstd$(SUFOBJ) libicc$(SUFLIB)
+
+
+