about summary refs log tree commit diff
path: root/converter/other/jbig/libjbig/Makefile
blob: 2e57490311802d9f9baa4b6aa4073f65e7390bf4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
ifeq ($(SRCDIR)x,x)
  SRCDIR = $(CURDIR)/../../../..
  BUILDDIR = $(SRCDIR)
endif
SUBDIR = converter/other/jbig/libjbig
VPATH=.:$(SRCDIR)/$(SUBDIR)

include $(BUILDDIR)/config.mk

LIBJBIG_OBJECTS = jbig.o jbig_ar.o

OBJECTS = $(LIBJBIG_OBJECTS)
MERGE_OBJECTS = $(LIBJBIG_OBJECTS)

COMP_INCLUDES = -I$(SRCDIR)/$(SUBDIR)/include

all: libjbig.a

include $(SRCDIR)/common.mk

libjbig.a: $(LIBJBIG_OBJECTS)
	$(AR) -rc $@ $^
	$(RANLIB) $@