1 # ./Make.common.in -*- Makefile -*-
2 # Makefile common definisions for XNC Project
10 # Installation target directories & other installation stuff
12 exec_prefix = @exec_prefix@
16 mandir = @mandir@/man1
19 # Tools & program stuff
27 INSTALL_PROGRAM = @INSTALL@ -s -m 755
28 INSTALL_DATA = @INSTALL@ -m 644
29 INSTALL_SHARE_DATA = @INSTALL@ -m 666
32 INSD=@INSTALL@ -d -m 755
35 INSTLIB=@prefix@/share/xwelltris
40 XLIBS=@X_PRE_LIBS@ @X_LIBS@ @X_EXTRA_LIBS@ -lX11 -lXext
42 CFLAGS = @CFLAGS@ $(PLUGINFLAGS)
43 CPPFLAGS = @CPPFLAGS@ #-DHAVE_LIBXPM
45 SHAREFLAGS = @SHAREFLAGS@
46 LD_SHAREFLAGS= @LD_SHAREFLAGS@
50 INCLUDES=-DHAVE_CONFIG_H -I. -I./.. -I./image -I./include -I../include
52 # extra libraries needed by X on some systems, X library location
53 XLIB = @X_LIBS@ @X_PRE_LIBS@ -lX11 @X_EXTRA_LIBS@ #-L/usr/local/lib -lXpm
59 $(CXX) -c $(CXXINCLUDES) $(INCLUDES) $(CXXOPT) $< -o $@