diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2006-08-19 03:12:28 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2006-08-19 03:12:28 +0000 |
commit | 1fd361a1ea06e44286c213ca1f814f49306fdc43 (patch) | |
tree | 64c8c96cf54d8718847339a403e5e67b922e8c3f /converter/other/fiasco/Makefile | |
download | netpbm-mirror-1fd361a1ea06e44286c213ca1f814f49306fdc43.tar.gz netpbm-mirror-1fd361a1ea06e44286c213ca1f814f49306fdc43.tar.xz netpbm-mirror-1fd361a1ea06e44286c213ca1f814f49306fdc43.zip |
Create Subversion repository
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/fiasco/Makefile')
-rw-r--r-- | converter/other/fiasco/Makefile | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/converter/other/fiasco/Makefile b/converter/other/fiasco/Makefile new file mode 100644 index 00000000..0dd945ed --- /dev/null +++ b/converter/other/fiasco/Makefile @@ -0,0 +1,59 @@ +ifeq ($(SRCDIR)x,x) + SRCDIR = $(CURDIR)/../../.. + BUILDDIR = $(SRCDIR) +endif +SUBDIR = converter/other/fiasco +VPATH=.:$(SRCDIR)/$(SUBDIR) + +include $(BUILDDIR)/Makefile.config + +INCLUDES = \ + -I$(SRCDIR)/$(SUBDIR)/codec -I$(SRCDIR)/$(SUBDIR)/input \ + -I$(SRCDIR)/$(SUBDIR)/output -I$(SRCDIR)/$(SUBDIR)/lib \ + +BINARIES = pnmtofiasco fiascotopnm + +MERGEBINARIES = $(BINARIES) + +SCRIPTS = + +all: $(BINARIES) + +FIASCOLIBS = codec/libfiasco_codec.a \ + input/libfiasco_input.a \ + output/libfiasco_output.a \ + lib/libfiasco_lib.a + +COMMON_OBJECTS = binerror.o getopt.o getopt1.o params.o + +OBJECTS = $(BINARIES:%=%.o) $(COMMON_OBJECTS) + +MERGE_OBJECTS = $(BINARIES:%=%.o2) $(COMMON_OBJECTS) $(FIASCOLIBS) + +SUBDIRS = codec input output lib + +include $(SRCDIR)/Makefile.common + +$(BINARIES):%:%.o $(COMMON_OBJECTS) $(FIASCOLIBS) $(NETPBMLIB) \ + $(LIBOPT) + $(LD) $(LDFLAGS) -o $@ $< $(COMMON_OBJECTS) \ + $(shell $(LIBOPT) $(FIASCOLIBS) $(NETPBMLIB)) $(MATHLIB) $(LDLIBS) \ + $(RPATH) $(LADD) + +codec/libfiasco_codec.a: $(BUILDDIR)/$(SUBDIR)/codec FORCE + $(MAKE) -C codec -f $(SRCDIR)/$(SUBDIR)/codec/Makefile \ + libfiasco_codec.a SRCDIR=$(SRCDIR) BUILDDIR=$(BUILDDIR) + +input/libfiasco_input.a: $(BUILDDIR)/$(SUBDIR)/input FORCE + $(MAKE) -C input -f $(SRCDIR)/$(SUBDIR)/input/Makefile \ + libfiasco_input.a SRCDIR=$(SRCDIR) BUILDDIR=$(BUILDDIR) + +output/libfiasco_output.a: $(BUILDDIR)/$(SUBDIR)/output FORCE + $(MAKE) -C output -f $(SRCDIR)/$(SUBDIR)/output/Makefile \ + libfiasco_output.a SRCDIR=$(SRCDIR) BUILDDIR=$(BUILDDIR) + +lib/libfiasco_lib.a: $(BUILDDIR)/$(SUBDIR)/lib FORCE + $(MAKE) -C lib -f $(SRCDIR)/$(SUBDIR)/lib/Makefile \ + libfiasco_lib.a SRCDIR=$(SRCDIR) BUILDDIR=$(BUILDDIR) + + |