Fix the building of libvvp.pc
This commit is contained in:
parent
e5482b89b1
commit
15689210c1
|
|
@ -178,7 +178,7 @@ VVP_POSTBUILD = ln -sf vvp@EXEEXT@ vvp$(suffix)@EXEEXT@
|
|||
VVP_CLEAN += vvp$(suffix)@EXEEXT@
|
||||
endif
|
||||
|
||||
all: dep vvp@EXEEXT@ vvp.man
|
||||
all: dep vvp@EXEEXT@ libvvp.pc vvp.man
|
||||
|
||||
# ENV_VVP sets LD_LIBRARY_PATH by default to run vvp from the build tree
|
||||
check: all
|
||||
|
|
@ -221,6 +221,10 @@ vvp@EXEEXT@: $(VVP_OBJ) $(VVP_DEPS)
|
|||
$(CXX) $(LDFLAGS) -o $@ $(VVP_OBJ) -L. $(VVP_LDFLAGS) $(LIBS)
|
||||
$(VVP_POSTBUILD)
|
||||
|
||||
libvvp.pc: $(srcdir)/libvvp.pc.in ../config.status
|
||||
cd ..; ./config.status --file=vvp/$@
|
||||
|
||||
|
||||
%.o: %.cc config.h | dep
|
||||
$(CXX) $(CPPFLAGS) -DIVL_SUFFIX='"$(suffix)"' $(MDIR1) $(MDIR2) $(CXXFLAGS) @DEPENDENCY_FLAG@ -c $< -o $*.o
|
||||
mv $*.d dep/$*.d
|
||||
|
|
|
|||
Loading…
Reference in New Issue