Merge branch 'master' of git://git.gromacs.org/gromacs
[gromacs/adressmacs.git] / src / ngmx / Makefile.am
blob1bac2861a781fc6bb94df362eff068f59043642f
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 LDADD = ../mdlib/libmd@LIBSUFFIX@.la ../gmxlib/libgmx@LIBSUFFIX@.la
7 # Ngmx requires X11 - nothing is built if it doesn't exist
9 if USE_X11
11 AM_CPPFLAGS = -I$(top_srcdir)/include -DGMXLIBDIR=\"$(datadir)/top\" $(X_CFLAGS)
12 AM_LDFLAGS = $(X_LIBS) $(X_PRE_LIBS) -lX11 $(X_EXTRA_LIBS)
13 bin_PROGRAMS     = ngmx g_xrama 
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_showcol_SOURCES = g_showcol.c $(XSRC)
39 test_ngmx_dialog_SOURCES     = test_ngmx_dialog.c $(XSRC)
41 CLEANFILES   =  *~ \\\#*