Change nofier list to be able to used in containers, thanks Federico Pinna, Reitek...
[pwlib.git] / make / motif.mak
blob9aea41764daeb2a887522310b1456ac10fdae0ef
1 DEFAULT_X11_DIR = /usr/X11R6
3 ifneq (,$(wildcard $(PWLIB_GUIDIR)/include/Xm/Combox.h))
4 all::
5 echo Your Motif version is not Motif 2.0 compliant
6 endif
8 # Specify the MOTIF library path
9 GUILIB := -L$(PWLIB_GUIDIR)/lib
12 # Motif needs libXpm in order to link, so include this if present
14 ifneq (,$(wildcard $(PWLIB_GUIDIR)/lib/libXp.*))
15 GUILIB := $(GUILIB) -lXp
16 endif
18 # Specify the MOTIF libraries and include paths
19 # These must come before any X11 paths incase they override them.
20 GUILIB := $(GUILIB) -lMrm -lXm -lXt -lXmu -lX11
21 STDCCFLAGS := $(STDCCFLAGS) -I$(PWLIB_GUIDIR)/include
23 # Include the X11 paths if needed.
24 ifneq ($(DEFAULT_X11_DIR), $(PWLIB_GUIDIR))
25 GUILIB := $(GUILIB) -L$(DEFAULT_X11_DIR)/lib
26 STDCCFLAGS := $(STDCCFLAGS) -I$(DEFAULT_X11_DIR)/include
27 endif