Skip to content
Snippets Groups Projects
Commit a2dfe20d authored by Raymond Toy's avatar Raymond Toy
Browse files

Include debug symbols in motifd

Add -g flag so that debug symbols are included in motifd.  I don't
think there's really any reason not to do this, and makes debugging
motifd releases easier.
parent 13d8845d
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# Force gcc here, in case cc is Sun C. # Force gcc here, in case cc is Sun C.
CC = gcc CC = gcc
CFLAGS = -O -DSVR4 -I. -I/usr/dt/include -I/usr/openwin/include CFLAGS = -g -O -DSVR4 -I. -I/usr/dt/include -I/usr/openwin/include
LDFLAGS = -L/usr/dt/lib -R/usr/dt/lib -L/usr/openwin/lib -R/usr/openwin/lib LDFLAGS = -L/usr/dt/lib -R/usr/dt/lib -L/usr/openwin/lib -R/usr/openwin/lib
LIBS = -lXm -lXt -lX11 -lsocket -lnsl -lgen LIBS = -lXm -lXt -lX11 -lsocket -lnsl -lgen
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# The motif includes are in /usr/dt/include # The motif includes are in /usr/dt/include
# The Motif libraries are in /lib and /usr/dt/lib # The Motif libraries are in /lib and /usr/dt/lib
CFLAGS = -O -DSVR4 -I. -I/usr/dt/include -I/usr/openwin/include CFLAGS = -g -O -DSVR4 -I. -I/usr/dt/include -I/usr/openwin/include
LDFLAGS = -L/usr/dt/lib -R/usr/dt/lib -L/usr/openwin/lib -R/usr/openwin/lib LDFLAGS = -L/usr/dt/lib -R/usr/dt/lib -L/usr/openwin/lib -R/usr/openwin/lib
LIBS = -lXm -lXt -lX11 -lsocket -lnsl -lgen LIBS = -lXm -lXt -lX11 -lsocket -lnsl -lgen
......
# Build 64-bit motifd now that it works as a 64-bit binary. # Build 64-bit motifd now that it works as a 64-bit binary.
CFLAGS += -O2 -I/usr/X11R6/include -I. -I$(VPATH) CFLAGS += -g -O2 -I/usr/X11R6/include -I. -I$(VPATH)
LIBS = -lXm -lXt -lX11 LIBS = -lXm -lXt -lX11
# This def assumes you are building in the same or parallel # This def assumes you are building in the same or parallel
# tree to the CVS souce layout. Sites may need to customize # tree to the CVS souce layout. Sites may need to customize
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment