2000-05-29 23:56:58 +00:00
|
|
|
*** libXg/Makefile.orig Fri Feb 11 11:04:17 2000
|
|
|
|
--- libXg/Makefile Fri Feb 11 11:07:47 2000
|
1995-08-14 04:08:02 +00:00
|
|
|
***************
|
2000-05-29 23:56:58 +00:00
|
|
|
*** 8,24 ****
|
|
|
|
#
|
1995-08-14 04:08:02 +00:00
|
|
|
# Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
|
|
|
|
# if your compiler supports posix-compatible compilation
|
|
|
|
! OS=-DIRIX -ansiposix
|
|
|
|
|
|
|
|
# add -Iincludedir for any include directories that need to be searched
|
|
|
|
! INCS=-I../include
|
|
|
|
|
|
|
|
# set this if your X libraries are in different locations
|
|
|
|
# or if you need extra libraries to load with X11 applications
|
|
|
|
! XLIBS=/usr/local/X11R5/lib/libXt.a /usr/local/X11R5/lib/libX11.a
|
|
|
|
|
|
|
|
# add name of library orderer - use ":" if none
|
|
|
|
! RANLIB=:
|
|
|
|
|
|
|
|
# add name of librarian
|
|
|
|
AR=ar
|
2000-05-29 23:56:58 +00:00
|
|
|
--- 8,24 ----
|
|
|
|
#
|
1995-08-14 04:08:02 +00:00
|
|
|
# Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
|
|
|
|
# if your compiler supports posix-compatible compilation
|
2000-05-29 23:56:58 +00:00
|
|
|
! OS=-DBSDi
|
1995-08-14 04:08:02 +00:00
|
|
|
|
|
|
|
# add -Iincludedir for any include directories that need to be searched
|
2000-05-29 23:56:58 +00:00
|
|
|
! INCS=-I../include -I${X11BASE}/include
|
1995-08-14 04:08:02 +00:00
|
|
|
|
|
|
|
# set this if your X libraries are in different locations
|
|
|
|
# or if you need extra libraries to load with X11 applications
|
2000-05-29 23:56:58 +00:00
|
|
|
! XLIBS=-lXt -lX11 -L${X11BASE}/lib
|
1995-08-14 04:08:02 +00:00
|
|
|
|
|
|
|
# add name of library orderer - use ":" if none
|
|
|
|
! RANLIB=ranlib
|
|
|
|
|
|
|
|
# add name of librarian
|
|
|
|
AR=ar
|
|
|
|
***************
|
2000-05-29 23:56:58 +00:00
|
|
|
*** 26,33 ****
|
|
|
|
# the name of the library
|
|
|
|
LIB=libXg.a
|
|
|
|
|
|
|
|
! CFLAGS=$(OS) -D_LIBXG_EXTENSION $(INCS)
|
|
|
|
! CC=cc
|
|
|
|
|
|
|
|
OBJS= arc.o arith.o balloc.o bitblt.o bitbltclip.o border.o bscreenrect.o\
|
|
|
|
circle.o clipline.o clipr.o copymasked.o cursorset.o cursorswitch.o\
|
|
|
|
--- 26,33 ----
|
|
|
|
# the name of the library
|
|
|
|
LIB=libXg.a
|
|
|
|
|
|
|
|
! CFLAGS+=$(OS) -D_LIBXG_EXTENSION $(INCS)
|
|
|
|
! CC?=cc
|
|
|
|
|
|
|
|
OBJS= arc.o arith.o balloc.o bitblt.o bitbltclip.o border.o bscreenrect.o\
|
|
|
|
circle.o clipline.o clipr.o copymasked.o cursorset.o cursorswitch.o\
|
|
|
|
***************
|
1995-08-14 04:08:02 +00:00
|
|
|
*** 50,56 ****
|
|
|
|
$(LIB): $(OBJS)
|
|
|
|
$(AR) rv $(LIB) $(OBJS)
|
|
|
|
$(RANLIB) $(LIB)
|
|
|
|
-
|
|
|
|
- $(LIB)(%.o): %.o
|
|
|
|
|
|
|
|
$(OBJS): ../include/libg.h libgint.h ../include/libc.h
|
2000-05-29 23:56:58 +00:00
|
|
|
--- 50,54 ----
|