1998-03-11 02:58:23 +00:00
|
|
|
--- Makefile.in.orig Wed Feb 25 00:34:26 1998
|
|
|
|
+++ Makefile.in Tue Mar 10 09:47:49 1998
|
|
|
|
@@ -30,7 +30,7 @@
|
1998-02-18 15:36:14 +00:00
|
|
|
INSTALL = @INSTALL@
|
|
|
|
INSTALLBIN = $(INSTALL) -m 755
|
|
|
|
INSTALLLIB = $(INSTALL) -m 644
|
|
|
|
-SYS_CONFIG = /etc
|
|
|
|
+SYS_CONFIG = /usr/X11R6/etc/imlib
|
|
|
|
|
|
|
|
.SUFFIXES:
|
|
|
|
.SUFFIXES: .c .o
|
1998-03-11 02:58:23 +00:00
|
|
|
@@ -51,15 +51,14 @@
|
1998-02-18 15:36:14 +00:00
|
|
|
|
|
|
|
top_srcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
1998-03-11 02:58:23 +00:00
|
|
|
-prefix = @prefix@
|
|
|
|
-exec_prefix = @prefix@
|
1998-02-18 15:36:14 +00:00
|
|
|
+prefix = /usr/X11R6
|
|
|
|
+exec_prefix = /usr/X11R6
|
|
|
|
bindir = $(exec_prefix)/bin
|
1998-03-11 02:58:23 +00:00
|
|
|
-datadir = $(prefix)/lib
|
|
|
|
+datadir = $(prefix)/share
|
|
|
|
incdir = $(prefix)/include
|
|
|
|
libdir = $(prefix)/lib
|
|
|
|
exe2dir = $(prefix)bin
|
|
|
|
mandir = $(prefix)/man
|
|
|
|
-SYS_CONFIG = @sysconfdir@
|
1998-02-18 15:36:14 +00:00
|
|
|
|
|
|
|
LN_S = @LN_S@
|
|
|
|
RANLIB = @RANLIB@
|
1998-03-11 02:58:23 +00:00
|
|
|
@@ -93,7 +92,7 @@
|
1998-02-18 15:36:14 +00:00
|
|
|
|
|
|
|
LIB = \
|
|
|
|
-lm \
|
|
|
|
--ltiff \
|
|
|
|
+-ltiff34 \
|
|
|
|
-ljpeg \
|
|
|
|
-lpng \
|
|
|
|
-lgif \
|
1998-03-11 02:58:23 +00:00
|
|
|
@@ -101,6 +100,7 @@
|
1998-02-18 15:36:14 +00:00
|
|
|
|
1998-03-11 02:58:23 +00:00
|
|
|
XLIB = \
|
|
|
|
-lX11 \
|
|
|
|
+-L/usr/local/lib \
|
|
|
|
-lXext
|
|
|
|
|
|
|
|
LIBS = \
|
|
|
|
@@ -122,11 +122,11 @@
|
|
|
|
|
|
|
|
CFLAGS = \
|
1998-02-18 15:36:14 +00:00
|
|
|
-fPIC \
|
|
|
|
--shared \
|
|
|
|
-I. \
|
1998-03-11 02:58:23 +00:00
|
|
|
@CFLAGS@ \
|
|
|
|
@X_CFLAGS@ \
|
|
|
|
@INCLUDES@ \
|
1998-02-18 15:36:14 +00:00
|
|
|
+-I/usr/local/include \
|
|
|
|
$(OPT)
|
|
|
|
|
|
|
|
all: $(lib)
|
1998-03-11 02:58:23 +00:00
|
|
|
@@ -136,6 +136,9 @@
|
1998-02-18 15:36:14 +00:00
|
|
|
$(INSTALLBIN) $(lib) $(libdir)/$(lib)
|
|
|
|
/bin/ln -sf $(libdir)/$(lib) $(libdir)/$(libname2)
|
|
|
|
/bin/ln -sf $(libdir)/$(lib) $(libdir)/$(libname).so
|
|
|
|
+ if [ ! -d $(SYS_CONFIG) ]; then \
|
|
|
|
+ mkdir $(SYS_CONFIG); \
|
|
|
|
+ fi
|
|
|
|
$(INSTALL) $(conf_dir)/im_palette.pal $(SYS_CONFIG)/im_palette.pal
|
1998-03-11 02:58:23 +00:00
|
|
|
sed s@/etc/@$(SYS_CONFIG)/@g< $(conf_dir)/imrc > $(SYS_CONFIG)/imrc
|
1998-02-18 15:36:14 +00:00
|
|
|
$(INSTALL) Imlib.h $(incdir)/Imlib.h
|
1998-03-11 02:58:23 +00:00
|
|
|
@@ -159,8 +162,8 @@
|
|
|
|
.c.o:
|
1998-02-18 15:36:14 +00:00
|
|
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $<
|
|
|
|
|
1998-03-11 02:58:23 +00:00
|
|
|
-$(lib): $(OBJS)
|
|
|
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SONAME)
|
|
|
|
+$(lib): $(OBJS)
|
|
|
|
+ ld -Bshareable -o libImlib.so.1.1 $(OBJS) /usr/lib/c++rt0.o
|
1998-02-18 15:36:14 +00:00
|
|
|
@echo "--------------------------------------------------------------------------------"
|
|
|
|
@echo "Imlib compiled."
|
|
|
|
@echo ""
|