- Timestamp:
- May 26, 2009, 1:59:32 PM (17 years ago)
- Location:
- branches/cnb_branches/cnb_branch_20090301
- Files:
-
- 4 edited
-
. (modified) (1 prop)
-
psastro (modified) (1 prop)
-
psastro/src (modified) (1 prop)
-
psastro/src/Makefile.am (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/cnb_branches/cnb_branch_20090301
- Property svn:mergeinfo changed
-
branches/cnb_branches/cnb_branch_20090301/psastro
- Property svn:mergeinfo changed
-
branches/cnb_branches/cnb_branch_20090301/psastro/src
- Property svn:ignore
-
old new 17 17 psastroModelFit 18 18 psastroExtract 19 psastroVersionDefinitions.h
-
- Property svn:ignore
-
branches/cnb_branches/cnb_branch_20090301/psastro/src/Makefile.am
r23594 r24244 1 1 lib_LTLIBRARIES = libpsastro.la 2 2 3 libpsastro_la_CFLAGS = $(PSASTRO_CFLAGS) $(PPSTATS_CFLAGS) $(PSMODULE_CFLAGS) $(PSLIB_CFLAGS) -DPSASTRO_VERSION=$(SVN_VERSION) -DPSASTRO_BRANCH=$(SVN_BRANCH) -DPSASTRO_SOURCE=$(SVN_SOURCE) 4 libpsastro_la_LDFLAGS = $(PSASTRO_LIBS) $(PPSTATS_LIBS) $(PSMODULE_LIBS) $(PSLIB_LIBS) 3 if HAVE_SVNVERSION 4 PSASTRO_VERSION=`$(SVNVERSION) ..` 5 else 6 PSASTRO_VERSION="UNKNOWN" 7 endif 8 9 if HAVE_SVN 10 PSASTRO_BRANCH=`$(SVN) info .. | $(SED) -n -e '/URL:/ h' -e '/Repository Root:/ { x; H; x; s|Repository Root: \(.*\)\nURL: \1\(.*\)|\2| ; s|^/|| ; s|/[a-zA-Z]*/src.*|| ; p }'` 11 PSASTRO_SOURCE=`$(SVN) info | $(SED) -n -e 's/Repository UUID: // p'` 12 else 13 PSASTRO_BRANCH="UNKNOWN" 14 PSASTRO_SOURCE="UNKNOWN" 15 endif 5 16 6 17 # Force recompilation of psastroVersion.c, since it gets the version information 7 # can we do this with dependency info? 8 # psastroVersion.c: FORCE 9 # touch psastroVersion.c 10 # FORCE: ; 18 psastroVersion.c: psastroVersionDefinitions.h 19 psastroVersionDefinitions.h: psastroVersionDefinitions.h.in FORCE 20 -$(RM) psastroVersionDefinitions.h 21 $(SED) -e "s|@PSASTRO_VERSION@|\"$(PSASTRO_VERSION)\"|" -e "s|@PSASTRO_BRANCH@|\"$(PSASTRO_BRANCH)\"|" -e "s|@PSASTRO_SOURCE@|\"$(PSASTRO_SOURCE)\"|" psastroVersionDefinitions.h.in > psastroVersionDefinitions.h 22 FORCE: ; 23 24 libpsastro_la_CFLAGS = $(PSASTRO_CFLAGS) $(PPSTATS_CFLAGS) $(PSMODULE_CFLAGS) $(PSLIB_CFLAGS) 25 libpsastro_la_LDFLAGS = $(PSASTRO_LIBS) $(PPSTATS_LIBS) $(PSMODULE_LIBS) $(PSLIB_LIBS) 11 26 12 27 bin_PROGRAMS = psastro psastroExtract psastroModel psastroModelFit gpcModel … … 50 65 psastroExtractStars.c \ 51 66 psastroExtractGhosts.c \ 52 psastroExtractFindChip.c \53 67 psastroCleanup.c 54 68 … … 73 87 74 88 libpsastro_la_SOURCES = \ 89 psastroMaskUpdates.c \ 90 psastroMaskUtils.c \ 91 psastroLoadGhosts.c \ 92 psastroGhostUtils.c \ 75 93 psastroErrorCodes.c \ 76 94 psastroVersion.c \ 77 95 psastroDefineFiles.c \ 78 96 psastroAnalysis.c \ 79 psastroMaskUpdates.c \80 97 psastroAstromGuess.c \ 81 98 psastroLoadRefstars.c \ … … 102 119 psastroMosaicSetAstrom.c \ 103 120 psastroMosaicSetMatch.c \ 121 psastroFindChip.c \ 104 122 psastroZeroPoint.c \ 105 123 psastroDemoDump.c \ … … 122 140 123 141 ### Error codes. 124 BUILT_SOURCES = psastroErrorCodes.h psastroErrorCodes.c 142 BUILT_SOURCES = psastroErrorCodes.h psastroErrorCodes.c psastroVersionDefinitions.h 125 143 CLEANFILES = psastroErrorCodes.h psastroErrorCodes.c 126 144 EXTRA_DIST = psastroErrorCodes.dat psastroErrorCodes.h.in psastroErrorCodes.c.in
Note:
See TracChangeset
for help on using the changeset viewer.
