Skip to content
Snippets Groups Projects
Commit 6e0fccdd authored by ram's avatar ram
Browse files

Move plamform specific make stuff to Config.

parent c677f206
No related branches found
No related tags found
No related merge requests found
CC = cc -Ae
CFLAGS = -O -I/usr/include/X11R5 -I/usr/include/Motif1.2
# -Wl,-a,archive forces motif libraries to be included (not shared.)
LDFLAGS = -L/usr/lib/X11R5 -L/usr/lib/Motif1.2
CFLAGS = -O -G 0 -I/usr/misc/.motif/include -I/usr/misc/.X11/include
LDFLAGS = -G 0 -L/usr/misc/.X11/lib -L/usr/misc/.motif/lib
# -DSVR4 is needed for X and for Solaris.
CFLAGS = -O -DSVR4 -I/usr/openwin/include
LDFLAGS = -L/usr/openwin/lib -R/usr/openwin/lib
LIBS = -lXm -lXt -lX11 -lsocket -lnsl -lgen
CC = cc
#CC = gcc
#
# Places to look for X and Motif headers
XHDR = -I/usr/misc/.X11/include
XMHDR = -I/usr/misc/.motif/include
#
# Places to look for X and Motif libraries
XLIB = -L/usr/misc/.X11/lib
XMLIB = -L/usr/misc/.motif/lib
#
# -G 0 option is for MIPS only
CFLAGS = -O -G 0 $(XHDR) $(XMHDR)
LDFLAGS = -G 0 $(XLIB) $(XMLIB)
CC = gcc
LIBS = -lXm -lXt -lX11
CFLAGS = -O
LDFLAGS =
TARGET = motifd
OBJS = main.o server.o translations.o packet.o message.o datatrans.o \
requests.o callbacks.o widgets.o resources.o tables.o motif.o \
text.o xmstring.o list.o events.o
TARGET = motifd
text.o xmstring.o list.o events.o timer-support.o
include Config
$(TARGET) : $(OBJS)
$(CC) -o $(TARGET) $(LDFLAGS) $(OBJS) $(LIBS)
strip $(TARGET)
tables.o : tables.c StringTable.h ClassTable.h TypeTable.h
$(CC) $(CFLAGS) -c tables.c
......
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