source: trunk/src/Makefile.am @ 33

Revision 33, 839 bytes checked in by pouillon, 21 months ago (diff)

Filled src/Makefile.am with realistic information

Line 
1#
2# Makefile for the sources of Libpspio
3#
4
5                    # ------------------------------------ #
6
7#
8# Source files
9#
10
11# Hand-written
12pio_srcs = \
13  read_abinit_header.c
14
15# Script-generated
16pio_built_srcs = \
17  dummy_auto.f90
18
19# C headers
20pio_hdrs = \
21  libxccodes.h \
22  pspio.h
23
24                    # ------------------------------------ #
25
26#
27# Build targets
28#
29
30# Libraries
31lib_LTLIBRARIES = libpspio.la
32libpspio_la_LDFLAGS = -version-info 0:0:0
33libpspio_la_SOURCES = $(pio_srcs)
34if DO_BUILD_FORTRAN
35  nodist_libpspio_la_SOURCES = $(pio_built_srcs)
36endif
37
38# Headers
39include_HEADERS = $(pio_hdrs)
40
41# Fortran modules have to be cleaned explicitely
42clean-local:
43        rm -f *.mod *.MOD
44
45                    # ------------------------------------ #
46
47# Explicit dependencies (if needed)
48# Use $(LTOBJEXT) as extension for object files
49# ...
Note: See TracBrowser for help on using the repository browser.