configure/Makefiles: add checks for Xmu, Xext, and Xdmcp
We also remove sun pro specific options, and do some general cleanup as well as remove hardcoded library refs like -lXm, -lXext, etc...
This commit is contained in:
@@ -4,14 +4,6 @@ ABINCLUDES = ../include
|
||||
|
||||
EXTRA_DEFINES = -D_POSIX_SOURCE=1
|
||||
|
||||
if HPUX
|
||||
CCOPTIONS = -Ae
|
||||
endif
|
||||
|
||||
if AIX
|
||||
CCOPTIONS = -qnoro
|
||||
endif
|
||||
|
||||
if BSD
|
||||
UTILLIB = -lutil
|
||||
endif
|
||||
@@ -30,11 +22,11 @@ noinst_DATA = dtcodegen.cat
|
||||
|
||||
dtcodegen_CFLAGS = $(EXTRA_DEFINES) -I$(ABINCLUDES) -I../libABil
|
||||
|
||||
dtcodegen_LDADD = -lXext ../libABil/libABil.a \
|
||||
dtcodegen_LDADD = ../libABil/libABil.a \
|
||||
../libABobjXm/libABobjXm.a \
|
||||
../libABobj/libABobj.a ../libAButil/libAButil.a \
|
||||
$(LIBTERM) $(LIBSVC) $(LIBTT) $(LIBHELP) $(LIBXIN) \
|
||||
$(LIBWIDGET) $(UTILLIB) $(XTOOLLIB) -lm
|
||||
$(LIBWIDGET) $(UTILLIB) $(XTOOLLIB)
|
||||
|
||||
|
||||
dtcodegen_SOURCES = abmf.c args.c \
|
||||
|
||||
Reference in New Issue
Block a user