Subversion Repositories Scribus

Rev

Rev 2459 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2454 craig 1
SHELL = /bin/sh
2
 
2459 craig 3
CFLAGS  = -g -O4 -I../include -I../../lcms-1.09/include -fomit-frame-pointer -Wall
2454 craig 4
BASEDIR = $(DESTDIR)/usr
5
BINDIR  = $(BASEDIR)/bin
6
LIBDIR  = $(BASEDIR)/lib
7
INCDIR  = $(BASEDIR)/include
8
VERSION = 1.09
9
 
10
.c.o:
11
	$(CC) $(CFLAGS) $(LDFLAGS) -c $<
12
 
13
SRCS = cmshull.c cmslm.c cmslnr.c cmsmatn.c cmsmkmsh.c cmsmntr.c cmsoutl.c \
14
	 cmspcoll.c cmsprf.c cmsreg.c cmsscn.c cmssheet.c
15
 
16
OBJS = $(SRCS:.c=.o)
17
 
18
all:	liblprof.a
19
 
20
liblprof.a: $(OBJS)
21
	ar -cru liblprof.a $(OBJS)
22
	ranlib liblprof.a
23
 
24
install: liblprof.a
25
	mkdir -p $(BINDIR) $(LIBDIR) $(INCDIR)
26
	cp -a liblprof.a $(LIBDIR)
27
	cp ../include/lcmsprf.h $(INCDIR)
28
	chmod 644 $(INCDIR)/lcmsprf.h
29
 
30
test:
31
	# we are doing nothing for the test target
32
 
33
clean:
34
	-rm $(OBJS) liblprof.a