add re pattern search of source code
[unix-history] / usr / src / old / dbx / Makefile
index 6e62d02..df3cf8a 100644 (file)
@@ -1,4 +1,4 @@
-#      @(#)Makefile    4.3 (Berkeley) %G%
+#      @(#)Makefile    4.8 (Berkeley) %G%
 #
 # make file for debugger "dbx"
 #
 #
 # make file for debugger "dbx"
 #
@@ -20,7 +20,7 @@ DEST  = ${DESTDIR}/usr/ucb/dbx
 LIBRARIES =
 
 CC     = cc
 LIBRARIES =
 
 CC     = cc
-CFLAGS = -g
+CFLAGS = -g
 LDFLAGS        = -g
 
 OBJ = \
 LDFLAGS        = -g
 
 OBJ = \
@@ -31,7 +31,9 @@ OBJ = \
     cerror.o \
     check.o \
     coredump.o \
     cerror.o \
     check.o \
     coredump.o \
+    debug.o \
     eval.o \
     eval.o \
+    fortran.o \
     keywords.o \
     languages.o \
     library.o \
     keywords.o \
     languages.o \
     library.o \
@@ -45,6 +47,7 @@ OBJ = \
     pascal.o \
     printsym.o \
     process.o \
     pascal.o \
     printsym.o \
     process.o \
+    re.o \
     runtime.o \
     scanner.o \
     source.o \
     runtime.o \
     scanner.o \
     source.o \
@@ -59,6 +62,7 @@ HDR = \
     check.h \
     coredump.h \
     eval.h \
     check.h \
     coredump.h \
     eval.h \
+    fortran.h \
     keywords.h \
     languages.h \
     lists.h \
     keywords.h \
     languages.h \
     lists.h \
@@ -71,6 +75,7 @@ HDR = \
     pascal.h \
     printsym.h \
     process.h \
     pascal.h \
     printsym.h \
     process.h \
+    re.h \
     runtime.h \
     source.h \
     scanner.h \
     runtime.h \
     source.h \
     scanner.h \
@@ -78,6 +83,39 @@ HDR = \
     tree.h \
     ops.h
 
     tree.h \
     ops.h
 
+SRC = \
+    defs.h \
+    commands.y \
+    asm.c \
+    events.c \
+    c.c \
+    cerror.s \
+    check.c \
+    coredump.c \
+    debug.c \
+    eval.c \
+    fortran.c \
+    keywords.c \
+    languages.c \
+    library.c \
+    lists.c \
+    machine.c \
+    main.c \
+    mappings.c \
+    names.c \
+    object.c \
+    operators.c \
+    pascal.c \
+    printsym.c \
+    process.c \
+    re.c \
+    runtime.c \
+    scanner.c \
+    source.c \
+    symbols.c \
+    tree.c \
+    ops.c
+
 .c.o:
        @echo "compiling $*.c"
        @${CC} ${CFLAGS} -c $*.c
 .c.o:
        @echo "compiling $*.c"
        @${CC} ${CFLAGS} -c $*.c
@@ -119,10 +157,18 @@ print:
 #
 
 clean:
 #
 
 clean:
-       rm -f ${HDR} ${OBJ} y.tab.c y.tab.h ${AOUT} core
+       rm -f ${HDR} ${OBJ} y.tab.c y.tab.h \
+           ${AOUT} mkdate mkdate.o makedefs makedefs.o date.c core
 
 install:
 
 install:
-       install -s ${AOUT} ${DEST}
+       install ${AOUT} ${DEST}
+
+#
+# Create a tar file called "tape" containing relevant files.
+#
+
+tape:
+       tar cfv tape Makefile READ_ME TO_DO ${SRC} makedefs.c mkdate.c
 
 #
 # Header dependencies are purposely incomplete since header files
 
 #
 # Header dependencies are purposely incomplete since header files