--- a/Make.proto Mon Aug 22 15:17:30 1994 +0200
+++ b/Make.proto Mon Aug 22 15:17:45 1994 +0200
@@ -6,10 +6,20 @@
SUBDIRS=
LIBNAME=libview
-LIB=$(LIBNAME).$(A)
STCOPT=$(LIBVIEW_STCOPT)
-all:: $(OBJTARGET)
+LOCALDEFS=-I$(XINCLUDE)
+
+all:: genAbbrev $(OBJTARGET)
+
+#
+# although all files are compiled in here,
+# not everything goes into the target library
+#
+OBJFILES=`ls *.o \
+ | grep -v $(WORKSTAT1).$(O) \
+ | grep -v $(WORKSTAT2).$(O) \
+ | grep -v libviewInit.o`
objs:: \
DevWorkst.$(O) \
@@ -59,21 +69,22 @@
smalllib: $(SMALLOBJTARGET)
cleanjunk::
- -rm -f *.c *.H bitmaps/*.bak bitmaps/*~ resources/*.old
+ -rm -f *.c *.H
clean::
- -rm -f *.c *.H bitmaps/*.bak bitmaps/*~ resources/*.old
+ -rm -f *.c *.H
clobber::
- -rm -f *.c *.H bitmaps/*.bak bitmaps/*~ resources/*.old
+ -rm -f *.c *.H
+ -rm -f abbrev.stc
tar:
rm -f $(TOP)/DISTRIB/libview.tar*
(cd $(TOP); tar cvf DISTRIB/libview.tar \
libview/*.st \
libview/Make.proto \
- libview/resources \
- libview/*.stc)
+ libview/*.stc \
+ libview/resources)
compress $(TOP)/DISTRIB/libview.tar
#
@@ -84,6 +95,17 @@
#
+# install the extra objects
+#
+qinstall:: $(DESTLIBDIR)
+ if [ "$(WORKSTAT1)"x != "x" ]; then \
+ $(INSTALL) $(WORKSTAT1).$(O) $(DESTLIBDIR); \
+ fi
+ if [ "$(WORKSTAT2)"x != "x" ]; then \
+ $(INSTALL) $(WORKSTAT2).$(O) $(DESTLIBDIR); \
+ fi
+
+#
# next thing I'll build into stc is a makedepend feature for this ...
#
I=$(INCLUDE)