X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=Makefile;h=7e9ba6598ce586ced6c429dcbe63e30cc8b0c7d1;hb=e921ecc6941fc962bdc257fc8e98e2edb56fc9f3;hp=e3131e39521cd7b80a2e42b582d7542ee732aa1b;hpb=e8abb7ca28c05c91fef58d23c40d3f2b1d5322ff;p=cassiopeia.git diff --git a/Makefile b/Makefile index e3131e3..7e9ba65 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ CXX_DEP=g++ LD=libtool --mode=link g++ ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS))) -CFLAGS+=-DNO_DAEMON -g +CFLAGS+=-DNO_DAEMON -g -Og endif ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 @@ -93,7 +93,7 @@ endif install: build ${INSTALL_PROGRAM} bin/cassiopeia ${DESTDIR}/usr/bin/cassiopeia ${INSTALL_PROGRAM} bin/cassiopeia-signer ${DESTDIR}/usr/bin/cassiopeia-signer - ${INSTALL_DIR} ${DESTDIR}/etc/cacert/cassiopeia + ${INSTALL_DIR} ${DESTDIR}/etc/wpia/cassiopeia .PHONY: libs libs: ${LIBS} @@ -121,7 +121,7 @@ coverage: cassiopeia: bin/cassiopeia bin/cassiopeia-signer bin/cassiopeia: libs ${FS_OBJ} ${OBJ_DIR}/apps/client.lo - ${MKDIR} $(shell dirname $@) && ${LD} ${LDFLAGS} -lmysqlclient -lpqxx -lpq -o $@ ${FS_OBJ} ${OBJ_DIR}/apps/client.lo + ${MKDIR} $(shell dirname $@) && ${LD} ${LDFLAGS} -lpqxx -lpq -o $@ ${FS_OBJ} ${OBJ_DIR}/apps/client.lo bin/cassiopeia-signer: libs ${FS_OBJ} ${OBJ_DIR}/apps/signer.lo ${MKDIR} $(shell dirname $@) && ${LD} ${LDFLAGS} -o $@ $(filter-out ${OBJ_DIR}/db/psql.lo, $(filter-out ${OBJ_DIR}/db/mysql.lo,${FS_OBJ})) ${OBJ_DIR}/apps/signer.lo