patch-libXg_Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. $OpenBSD: patch-libXg_Makefile,v 1.1 2002/11/04 10:28:56 markus Exp $
  2. --- libXg/Makefile.orig Thu Oct 31 00:27:21 2002
  3. +++ libXg/Makefile Thu Oct 31 00:27:59 2002
  4. @@ -8,17 +8,17 @@
  5. #
  6. # Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
  7. # if your compiler supports posix-compatible compilation
  8. -OS=-DIRIX5 -ansiposix
  9. +OS=-D_POSIX_SOURCE -DSOLARIS
  10. # add -Iincludedir for any include directories that need to be searched
  11. -INCS=-I../include
  12. +INCS=-I../include -I${X11BASE}/include
  13. # set this if your X libraries are in different locations
  14. # or if you need extra libraries to load with X11 applications
  15. XLIBS=-lXt
  16. # add name of library orderer - use ":" if none
  17. -RANLIB=:
  18. +RANLIB=ranlib
  19. # add name of librarian
  20. AR=ar
  21. @@ -26,8 +26,7 @@ AR=ar
  22. # the name of the library
  23. LIB=libXg.a
  24. -CFLAGS=$(OS) -D_LIBXG_EXTENSION $(INCS)
  25. -CC=cc
  26. +CFLAGS+=$(OS) -D_LIBXG_EXTENSION $(INCS)
  27. OBJS= arc.o arith.o balloc.o bitblt.o bitbltclip.o border.o bscreenrect.o\
  28. circle.o clipline.o clipr.o copymasked.o cursorset.o cursorswitch.o\
  29. @@ -50,7 +49,5 @@ nuke: clean
  30. $(LIB): $(OBJS)
  31. $(AR) rv $(LIB) $(OBJS)
  32. $(RANLIB) $(LIB)
  33. -
  34. -$(LIB)(%.o): %.o
  35. $(OBJS): ../include/libg.h libgint.h ../include/libc.h