Fixed many issues regarding to compilation with C++ and compilation in
[gromacs.git] / src / ngmx / Makefile.am
blob1acc2da6796011074b1ecb12d537b6aa3cd4772c
1 ## Process this file with automake to produce Makefile.in
2 # Note: Makefile is automatically generated from Makefile.in by the configure
3 # script, and Makefile.in is generated from Makefile.am by automake.
5 AM_CPPFLAGS = -I$(top_srcdir)/include -DGMXLIBDIR=\"$(datadir)/top\"
7 LDADD = ../mdlib/libmd@LIBSUFFIX@.la ../gmxlib/libgmx@LIBSUFFIX@.la
9 # Ngmx requires X11 - nothing is built if it doesn't exist
11 if USE_X11
13 bin_PROGRAMS     = ngmx g_xrama g_highway g_logo 
14 EXTRA_PROGRAMS   = test_ngmx_dialog  g_showcol
16 endif
18 XSRC    =       xutil.c         xmb.c           x11.c           \
19                 xdlghi.c        fgrid.c         xdlgitem.c      \
20                 popup.c         pulldown.c      xdlg.c          \
21                 manager.c       buttons.c       nmol.c          \
22                 nleg.c          dialogs.c       logo.c          \
23                 filter.c        molps.c         Xstuff.h        \
24                 dialogs.h       logo.h          molps.h         \
25                 nleg.h          nmol.h          pulldown.h      \
26                 xdlg.h          xdlgitem.h      xutil.h         \
27                 buttons.h       fgrid.h         manager.h       \
28                 nener.h         nload.h         popup.h         \
29                 x11.h           xdlghi.h        xmb.h           
31 EXTRA_DIST =    alert.bm        gromacs.bm      play.bm         \
32                 rewind.bm       stop_ani.bm     ff.bm           \
33                 info.bm         rama.bm         stop.bm
36 ngmx_SOURCES    = ngmx.c $(XSRC)
37 g_xrama_SOURCES   = g_xrama.c $(XSRC)
38 g_highway_SOURCES = g_highway.c $(XSRC) 
39 g_logo_SOURCES = g_logo.c $(XSRC)
40 g_showcol_SOURCES = g_showcol.c $(XSRC)
41 test_ngmx_dialog_SOURCES     = test_ngmx_dialog.c $(XSRC)
43 CLEANFILES   =  *~ \\\#*