Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add `unifdef' directory to the Automake-based build.
`unifdef' is now compiled and installed in C-Reduce's libexec directory, alongside C-Reduce's other internal tools. This commit does *not* include changes to the CMake-based build process. Contributions from CMake users would be welcome.
- Loading branch information
Showing
6 changed files
with
712 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,8 @@ SUBDIRS = \ | |
clex \ | ||
creduce \ | ||
scripts \ | ||
tests | ||
tests \ | ||
unifdef | ||
|
||
EXTRA_DIST = \ | ||
CMakeLists.txt \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -362,7 +362,8 @@ SUBDIRS = \ | |
clex \ | ||
creduce \ | ||
scripts \ | ||
tests | ||
tests \ | ||
unifdef | ||
|
||
EXTRA_DIST = \ | ||
CMakeLists.txt \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
## -*- mode: Makefile-Automake -*- | ||
## | ||
## Copyright (c) 2015 The University of Utah | ||
## All rights reserved. | ||
## | ||
## This file is distributed under the University of Illinois Open Source | ||
## License. See the file COPYING for details. | ||
|
||
############################################################################### | ||
|
||
libexec_PROGRAMS = unifdef | ||
|
||
GIT_HASH := $(shell "$(top_srcdir)/git-hash.sh" "$(top_srcdir)" || echo error) | ||
GIT_FLAG = -DGIT_VERSION=\"$(GIT_HASH)\" | ||
|
||
unifdef_CPPFLAGS = \ | ||
$(GIT_FLAG) | ||
|
||
unifdef_SOURCES = \ | ||
unifdef.c \ | ||
unifdef.h \ | ||
version.h | ||
|
||
############################################################################### | ||
|
||
## End of file. |
Oops, something went wrong.