openbsd-ports/x11/fleditor/patches/patch-Makefile_in
wilfried c39c01e95e - update to 0.4.1
- change fltk depending
- create shared library
- remove unused opengl test
2001-04-15 10:32:06 +00:00

63 lines
1.7 KiB
Plaintext

$OpenBSD: patch-Makefile_in,v 1.2 2001/04/15 10:32:09 wilfried Exp $
--- Makefile.in.orig Wed Jan 10 00:11:24 2001
+++ Makefile.in Sun Apr 15 12:04:55 2001
@@ -29,9 +29,9 @@ FLTKLIBDIR = @ac_fltk_libraries@
# Program options...
#
-ARFLAGS = crvs
-CFLAGS = -I. -I$(FLTKROOT) @CFLAGS@ @ac_fltk2@
-CXXFLAGS = -I. -I$(FLTKROOT) @CXXFLAGS@ @ac_fltk2@
+ARFLAGS = r
+CFLAGS = -I. -I$(FLTKROOT)/include @CFLAGS@ @ac_fltk2@
+CXXFLAGS = -I. -I$(FLTKROOT)/include @CXXFLAGS@ @ac_fltk2@
LIBS = @ac_fltk_static@ -L$(FLTKROOT)/lib @LIBS@ -lXext -lX11 -lm @ac_fltk_dso@ $(GLLIB)
LDFLAGS = @LDFLAGS@
@@ -39,15 +39,15 @@ LDFLAGS = @LDFLAGS@
# Rules...
#
-.SILENT:
-.SUFFIXES: .c .cxx .h .o
+#.SILENT:
+#.SUFFIXES: .c .cxx .h .o
.c.o:
- echo Compiling $<...
- $(CC) $(CFLAGS) -c $< -o $(<D)/$(basename $(<F)).o
+# echo Compiling $<...
+ $(CC) $(CFLAGS) -c $< -o $@
.cxx.o:
- echo Compiling $<...
- echo $(CXX) $(CXXFLAGS) -c $< -o $(<D)/$(basename $(<F)).o
- $(CXX) $(CXXFLAGS) -c $< -o $(<D)/$(basename $(<F)).o
+# echo Compiling $<...
+# echo $(CXX) $(CXXFLAGS) -c $< -o $(<D)/$(basename $(<F)).o
+ $(CXX) $(CXXFLAGS) -c $< -o $@
#
@@ -62,7 +62,7 @@ INCLUDEDEPS = FL/Fl_Editor.H FL/Fl_Fancy
# Make all targets...
#
-all: libfleditor.a $(DSONAME) test
+all: libfleditor.a $(DSONAME)
#
# Remove object and target files...
@@ -124,12 +124,10 @@ EDITOR_OBJS = src/Fl_Editor.o src/Fl_Fan
src/editengine.o src/lists.o src/wstring.o
libfleditor.a: $(EDITOR_OBJS)
- echo Building library $@...
- $(RM) libfleditor.a
$(AR) $(ARFLAGS) libfleditor.a $(EDITOR_OBJS)
$(RANLIB) libfleditor.a
-libfleditor.so: $(EDITOR_OBJS)
+libfleditor.so.1.0: $(EDITOR_OBJS)
echo Building library $@...
$(RM) libfleditor.so
@DSOCOMMAND@ @DSOLIBNAME@@DSOEXT@ $(EDITOR_OBJS)